{"repo":"AfricasTalkingLtd/africastalking-node.js","free":true,"listed":false,"github":"https://github.com/AfricasTalkingLtd/africastalking-node.js","clone":"git clone https://github.com/AfricasTalkingLtd/africastalking-node.js.git","description":"Official Node.js SDK for Africa's Talking","language":"JavaScript","stars":162,"topics":["sms","voice","ussd","airtime","africa","api"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Africa's Talking Node.js SDK The wrapper provides convenient access to the Africa's Talking API from applications written for Node.js. Documentation Take a look at the API docs here. Install You can install the package from npm by running: Usage The package needs to be configured with your app username and API key, which you can get from the dashboard. You can use this SDK for either production or sandbox apps. For sandbox, the app username is ALWAYS sandbox See example for more usage examples. Initialization Initialize the SDK as a requirement by doing require('africastalking')(options) . After initialization, you can get instances of offered services as follows: - SMS Service : AfricasTalking.SMS - Airtime Service : AfricasTalking.AIRTIME - Mobile Data Service : AfricasTalking.MOBILE DATA - Voice Service : AfricasTalking.VOICE - USSD : USSD API - Token Service : AfricasTalking.TOKEN - Insights : AfricasTalking.INSIGHTS - WhatsApp : AfricasTalking.WHATSAPP - Application Service : AfricasTalking.APPLICATION Services All methods are asynchronous All phone numbers use the international format. e.g. +234xxxxxxxx . SMS - send({ to, senderId, message, enqueue }) : Send an SMS to one or more phone numbers - send([{ to, senderId, message, enqueue }]) : Send multiple SMSes to one or more phone numbers - to : Recipient(s) phone number. Can either a single phone number or an array of phone numbers REQUIRED - senderId : Shortcode or alphanumeric ID that is registered with Africa's Talki","default_branch":null,"files":null,"tree":[],"storefront":"/r/AfricasTalkingLtd","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/AfricasTalkingLtd/africastalking-node.js/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}