xfarr-api
v3.0.1
Published
api wrapper from api.xfarr.com
Downloads
21,824
Maintainers
Readme
xfarr-api
Full API Implementation inside NodeJS Module
More info at https://api.xfarr.com/ Get ApiKEY here https://api.xfarr.com/auth/signin
And you can upgrade your apikey to premium or VIP, you can see more details at https://api.xfarr.com/pricing
Installation
npm:
$ npm install xfarr-api
yarn:
$ yarn add xfarr-api
Simple to Use
CommonJs (CJS) syntax
const APIWrapper = require('xfarr-api');
ECMAScript Modules (ESM) syntax
import APIWrapper from 'xfarr-api';
Example
const xfar = new APIWrapper('ApiKEY');
// How to call the API
xfar.[feature].[name](parameter)
.then(response => {
console.log(response);
})
.catch(error => {
console.error(error.message);
});
// Example of an API call
xfar.stalking.npmjs("xfarr-api")
.then(response => {
console.log(response);
})
.catch(error => {
console.error(error.message);
});
Thanks To
| ----|---- Dika Ardianta | Lui Pedo | Jomok
Feedback
If you have any feedback, please reach out to us at [email protected]