Quick Start Guide
Overview
This guide will help you get up and running with Invictus AI in just a few minutes. By the end of this guide, you'll have made your first API call and be ready to explore our more advanced features.
Prerequisites
- An Invictus AI account 
- API key (see Authentication) 
- Basic understanding of REST APIs 
Step 1: Install the SDK
# Using npm
npm install invictus-ai
# Using pip for Python
pip install invictus-aiStep 2: Initialize the Client
// JavaScript
const InvictusAI = require('invictus-ai');
const client = new InvictusAI.Client('YOUR_API_KEY');# Python
from invictus_ai import Client
client = Client('YOUR_API_KEY')Step 3: Make Your First API Call
// JavaScript
const response = await client.nlp.analyze({
  text: 'Invictus AI is transforming how businesses leverage artificial intelligence.'
});
console.log(response);# Python
response = client.nlp.analyze(
  text='Invictus AI is transforming how businesses leverage artificial intelligence.'
)
print(response)Example Response
{
  "sentiment": "positive",
  "entities": [
    {
      "text": "Invictus AI",
      "type": "ORGANIZATION",
      "confidence": 0.98
    },
    {
      "text": "artificial intelligence",
      "type": "CONCEPT",
      "confidence": 0.95
    }
  ],
  "keywords": ["Invictus AI", "transforming", "businesses", "leverage", "artificial intelligence"],
  "language": "en",
  "confidence": 0.97
}Next Steps
- Explore our Core Features 
- Try our Tutorials 
- Check out Use Cases for your industry