SMSGlobal REST API credentials
REST API credentials can be provided in the SMSGlobal client or node environment variables. The credential variables are SMSGLOBAL_API_KEY
and SMSGLOBAL_API_SECRET
To install:
npm install --save smsglobal
After installing, require smsglobal in your file:
const apiKey = 'YOUR_API_KEY';
const apiSecret = 'YOUR_API_SECRET';
var smsglobal = require('smsglobal')(apiKey, secret);
All method return promise if no callback is given.
Refer to our SDK on GitHub here for additional information.
Requirements
Installation
To install the PHP client library to your project, we recommend using Composer.
composer require smsglobal/smsglobal-php
Refer to our SDK on GitHub here for additional information.
Supported .NET versions
This library supports .NET applications written in C#, VB.Net, and F# that utilise .NET Standard 2.1 which supports .NET Core 3.0 and unavailable for .NET Framework. View the supported versions here.
Installation
The best and easiest way to add the SMSGlobal libraries to your .NET project is to use the NuGet package manager.
With Visual Studio IDE
From within Visual Studio, you can use the NuGet GUI to search for and install the SMSGlobal NuGet package. Or, as a shortcut, simply type the following command into the Package Manager Console:
Install-Package SMSGlobal
With .NET Core Command Line Tools
If you are building with the .NET Core command line tools, then you can run the following command from within your project directory:
dotnet add package SMSGlobal
Azure functions
From within Visual Studio while creating azure function app, you can use the NuGet GUI to search for and install the SMSGlobal NuGet package. Or, as a shortcut, simply type the following command into the Package Manager Console:
Install-Package SMSGlobal
More information on NuGet Client Tools can be found here.
Once installed, head over to readme for additional configuration instructions.