# Welcome to Infinitode Documentation

### :rocket: Quickstart

Here is a simplified example of how to use our **BMI Calculator API** with a `POST` request in `JavaScript`:

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" %}
Jump to our [API Documentation](https://infinitode-docs.gitbook.io/documentation/api-documentation) for more details.
{% endhint %}

***

### :key: Authentication & Security

To make API calls, you will need to find your API key in your account settings. Keep this key secure. For information on rate limits, securing your credentials, and managing error codes, please visit the respective documentation page of the API you are using.

***

### :package: Platform & Libraries

* **Serverless APIs**: Modular HTTP endpoints—call directly without an SDK from any language.
* **Python Libraries**: Install per-package clients via `pip`, e.g.:

  ```bash
  pip install duplipy
  ```
* **JavaScript Libraries**: Available through JSDelivr and GitHub:

  ```
  https://cdn.jsdelivr.net/gh/Infinitode/BlurJS@main/dist/blur.min.js
  https://github.com/infinitode/blurjs
  ```
* **AI Models & Datasets**: Explore pretrained models and datasets on Hugging Face and GitHub for classification, generation, and more.

***

### :books: What’s Inside

* **API Reference**: Category‑based guides for all endpoints
* **Libraries**: Package‑specific quickstarts, tutorials, and references
* **AI Models & Datasets**: Prebuilt models and usage guides for datasets

Visit the [FAQs](https://app.gitbook.com/o/5JUG1pl8gcE8caqjeo9B/s/BeNf1V8VcQOxWf8Jm0ZO/) for common questions and troubleshooting.

***

{% hint style="info" %}

### Updates to our documentation and FAQs

We update these pages whenever we release something new or at least once a month. Please reach out if you notice any issues, such as spelling, grammar, or broken snippets. We tend to skim quickly, occasionally overlooking details.
{% endhint %}

***

{% content-ref url="<https://app.gitbook.com/o/5JUG1pl8gcE8caqjeo9B/s/BeNf1V8VcQOxWf8Jm0ZO/>" %}
[FAQs](https://app.gitbook.com/o/5JUG1pl8gcE8caqjeo9B/s/BeNf1V8VcQOxWf8Jm0ZO/)
{% endcontent-ref %}
