Logo Lanfrica

samsoft00/sendstack

Domaine:

digital infrastructure

Type de record:

software
Créateur:
sam
HĂ´te:
🚀 JavaScript API Client for the sendstack.africa delivery # JavaScript API Client for Sendstack Africa ## Installation **This library relies on the global fetch API. To use this library with Node.js, node-fetch is required.** For compatibility with Node.js versions ``` ## Example ```javascript // const globalThis = require('globalthis')(); // uncomment if NodeJS , " ") .walletBalance() .then(balance => console.log(`Current balance: ${balance}`)) .catch(console.error); ``` ## Tests 1. `git clone github.com` 2. `cd sendstack && npm install` 3. `SENDSTACK_API_KEY= SENDSTACK_APP_ID= npm run test` Set `SENDSTACK_LIVE_TEST=1` for live tests performing actual HTTP requests. Set `SENDSTACK_DEBUG=1` for details printed to `stdout`. ### Support Need help? Feel free to contact us.