Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rrguardo/easy_sms_net
SMS API Client for https://github.com/rrguardo/smr
https://github.com/rrguardo/easy_sms_net
c-sharp sms-api sms-client
Last synced: 5 days ago
JSON representation
SMS API Client for https://github.com/rrguardo/smr
- Host: GitHub
- URL: https://github.com/rrguardo/easy_sms_net
- Owner: rrguardo
- Created: 2016-02-29T00:14:52.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-02-29T00:15:54.000Z (over 8 years ago)
- Last Synced: 2024-09-06T16:48:17.366Z (2 months ago)
- Topics: c-sharp, sms-api, sms-client
- Language: C#
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
SMS API Client for .Net
=======================This lib allow easily add SMS text messages to .Net applications. Just create an account in
https://easysms.4simple.org for obtain your API credential.
Code Examples ::using System;
using easy_sms_net;namespace sms_easy_example
{
class MainClass
{
public static void Main (string[] args)
{
// Step #1 is create an API client object using credential obtained from https://easysms.4simple.org/user/panel/
SMSClient api_obj = new SMSClient (22421, "39fec6acw3sh3b28a981cf5551a");//##########################################################################
// HOW SEND AN SMS TEXT MESSAGE
//##########################################################################
int pid = api_obj.send_sms ("1535453343", "Hello testing");
Console.WriteLine ("PID: " + pid.ToString());//##########################################################################
// HOW CHECK ACCOUNT BALANCE
//##########################################################################
Console.WriteLine("Balance: " + api_obj.get_balance);//##########################################################################
// HOW CHECK SMS PROCESSING STATUS
//##########################################################################
Console.WriteLine("Status for pid 2343454: " + api_obj.get_sms_status(2343454));Console.ReadLine ();
}
}
}