Skip to content

ozgur-soft/Verimor.NET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Verimor.NET

An easy-to-use verimor.com.tr API with .NET

Installation

dotnet add package Verimor --version 1.2.1

Usage

namespace Verimor {
    internal class Program {
        static void Main(string[] args) {
            var verimor = new Verimor();
            verimor.SetUsername("api username");
            verimor.SetPassword("api password");
            var messages = new List<Verimor.Message> {
                new() { Msg = "message", No = "905551234567" }
            };
            var sent = verimor.Sms("header", messages);
            if (sent) {
                Console.WriteLine("Message sent");
            } else {
                Console.WriteLine("Message not sent");
            }
            var balance = verimor.Balance();
            Console.WriteLine("Balance: " + balance);
        }
    }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages