SDK Installation
We have official libraries for the following languages:
- Node.js
- C#
- PHP
If you are using any other language, you can still consume the API using your own HTTP client.
Using one of our official libraries
Start by including the Facturapi client in your project dependencies.
- Node.js
- C#
- PHP
Install the package from NPM.
$> npm install --save facturapi
Install the NuGet package from Visual Studio or from the Package Manager terminal:
dotnet add package Facturapi
Install the package from Packagist using composer:
$> composer require "facturapi/facturapi-php"
Import the library before using it in your code.
- Node.js
- C#
- PHP
- cURL
CommonJS
const Facturapi = require('facturapi');
ESM / Typescript
import Facturapi from 'facturapi';
using Facturapi;
use Facturapi\Facturapi;
cURL doesn't require any installation
Using your own HTTP client
If you consume the API directly using your own HTTP client, you don't need to install anything. You can move on to the next section.