> For the complete documentation index, see [llms.txt](https://infinitode-docs.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://infinitode-docs.gitbook.io/documentation/readme.md).

# Welcome to Infinitode Documentation

## Build with Infinitode

Infinitode provides APIs, open-source libraries, and AI resources. Start with the product that fits your project.

* [API Documentation](/documentation/api-documentation.md) for hosted HTTP endpoints.
* [AI Documentation](/documentation/ai-documentation.md) for models, datasets, and OPEN-ARC.
* [Package Documentation](/documentation/package-documentation.md) for library guides.
* [Open-source](/documentation/open-source.md) for public repositories and project source.

### :rocket: Quickstart

Make your first API request with the BMI Calculator. Replace `YOUR_API_TOKEN` with your normal or developer token.

1. **Set the API endpoint**

```javascript
const apiUrl = 'https://infinitode.netlify.app/api/v1/bmi';
```

2. **Create and prepare your input data**

```javascript
const data = {
  "apiKey": "YOUR_API_TOKEN",
  "height": 1.75,
  "weight": 70
};
```

3. **Call the API**

```javascript
fetch(apiUrl, {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
  },
  body: JSON.stringify(data),
})
  .then(response => response.json())
  .then(result => {
    console.log('BMI:', result.bmi);
  })
  .catch(error => {
    console.error('Error:', error);
  });
```

{% hint style="info" %}
Use a developer token while testing. Developer calls return validation details and dummy output.
{% endhint %}

***

### :key: Authentication & Security

Find your API tokens in your account settings. Keep tokens out of client-side code and source control.

Use the developer token for test calls. Use the normal token for production calls. See [API authentication](/documentation/api-documentation.md#api-authentication) for details.

***

### :package: Platform & Libraries

* **APIs**: Call modular HTTP endpoints from any language.
* **Python libraries**: Install package-specific libraries with `pip`.

  ```bash
  pip install duplipy
  ```
* **JavaScript libraries**: Use JSDelivr or clone a repository from GitHub.

  ```bash
  https://cdn.jsdelivr.net/gh/Infinitode/BlurJS@main/dist/blur.min.js
  https://github.com/infinitode/blurjs
  ```
* **AI models and datasets**: Explore Hugging Face and GitHub resources for research and experimentation.

***

### Find the right resource

Choose **API Documentation** to integrate a hosted endpoint. Choose **Package Documentation** to install a library. Choose **AI Documentation** to work with models or datasets.

Visit [Open-source](/documentation/open-source.md) to browse public project source and licenses.

***

{% hint style="info" %}

### Documentation updates

We update these pages as products and repositories evolve. Report broken links or examples through the relevant project repository.
{% endhint %}

***

{% content-ref url="/spaces/BeNf1V8VcQOxWf8Jm0ZO" %}
[FAQs](https://infinitode-docs.gitbook.io/faqs/)
{% endcontent-ref %}
