Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 637 Bytes

README.md

File metadata and controls

30 lines (17 loc) · 637 Bytes

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