IMMUNE SDKs

The recommended way to interact with the IMMUNE API is by using one of our official SDKs. Today, IMMUNE offers fine-tuned JavaScript, Python, PHP, and other libraries to make your life easier and give you the best experience when integrating predictive maintenance capabilities.

Official libraries

PHP

A popular general-purpose scripting language that is especially suited to web development.

Read more

Ruby

A dynamic, open source programming language with a focus on simplicity and productivity.

Read more

Node.js

Node.js® is an open-source, cross-platform JavaScript runtime environment.

Read more

Python

Python is a programming language that lets you work quickly and integrate systems more effectively.

Read more

Go

An open-source programming language supported by Google with built-in concurrency.

Read more

Official SDKs

Our SDKs are designed to simplify the integration of IMMUNE's predictive maintenance capabilities into your existing systems. Each SDK provides:

  • Robust error handling
  • Automatic retries
  • Type safety
  • Real-time data streaming support
  • Comprehensive documentation

JavaScript/TypeScript

npm install @immune/api --save

Our JavaScript SDK provides full TypeScript support and works in both Node.js and modern browsers.

Python

pip install immune_api

The Python SDK is ideal for data science workflows and backend integrations.

PHP

composer require immune/sdk

Our PHP SDK integrates seamlessly with Laravel and other PHP frameworks.

Getting Started

Each SDK follows similar patterns for authentication and usage:

import { ImmuneClient } from '@immune/api'

// Initialize the client with your API key
const client = new ImmuneClient('your-api-key')

// Start streaming sensor data
await client.sensors.stream({
  onData: (data) => {
    console.log('Received sensor data:', data)
  },
  onPrediction: (prediction) => {
    console.log('Received prediction:', prediction)
  }
})

Check out our quickstart guide for more detailed examples and best practices.

Was this page helpful?