The Matador Node.js SDK gives you an easy and reliable way to interact with the Matador Public API’s. This documentation provides a description of all the resources available in this NPM package.
Here is a link to the complete package documentation on Notion. https://matadordev.notion.site/Matador-Node-js-SDK-226bb6a4a7aa4c82b5cc3f74ceb4833c
The installation is as easy as any other package. Use the package manager of your choice.
yarn add matadorai
This package requires an API key, which is a JWT.
The package provides a core object which takes care of all the background API communication. The MatadorClient object will be more than enough to perform most operations.
On initialization, these arguments should to the constructor:
apiKey
required to perform all operations
💡 More optional configuration params will be available in future releases
Here is an example:
const {MatadorClient} = require("matadorai");
const matador = new MatadorClient(YOUR_API_KEY);