Skip to content

srostyslav/dotnet-sb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Smartbonus package for C# language

This package provides C# implementation of Smartbonus api. Supported all public api of smartbonus.

With 100% test coverage.

Installation

Package availble on NuGet

Requirements

Newtonsoft.json (JSON.NET)

Example

using SBonus;
using System;

var store = new Store("your store id", "https://your.smartbonus.com/api/v2/");

// Get smartbonus info about client
var client = store.GetClient("0555555555");

Console.WriteLine($"Client <phone: {client.Phone}; name: {client.Name}; balance: {client.Balance}>");

// see tests for more

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages