1.1.0 • Published 6 years ago
cloudsms-api v1.1.0
Official CloudSMS API Wrapper
CloudSMS is a cloud-enabled SMS platform for large scale shortcode automation. This package provides a tidy interface for making requests on the CloudSMS platform.
Examples
Using your API key
Get your free API key by registering at cloudsms.io and getting your API key at cloudsms.io.
const CloudSMS = require("cloudsms-api")("API_KEY");
Requesting a new number
await CloudSMS.getNewNumber(service, tier);
Checking messages
await CloudSMS.getTexts(number, recent);
Check query price
await CloudSMS.checkQueryPrice(service, tier);
Get available SMS services
await CloudSMS.getServices();
Get available SMS tiers
await CloudSMS.getTiers();