Пример #1
0
        private static void Main(string[] args)
        {
            //replace string value with access token from your dashboard
            var accessToken = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxx";

            var api = new OkraApi(accessToken, true);

            //Uncomment any line below to run tests

            //AuthTests(api.Auth);
            //BalanceTests(api.Balance);
            //IdentityTests(api.Identity);
            //TransactionsTests(api.Transactions);
            //IncomeTests(api.Income);

            Console.ReadLine();
        }
Пример #2
0
 public IncomeApi(OkraApi okraApi)
 {
     _okraApi = okraApi;
 }
Пример #3
0
 public AuthApi(OkraApi okraApi)
 {
     _okraApi = okraApi;
 }
Пример #4
0
 public TransactionsApi(OkraApi okraApi)
 {
     _okraApi = okraApi;
 }
Пример #5
0
 public IdentityApi(OkraApi okraApi)
 {
     _okraApi = okraApi;
 }
Пример #6
0
 public AuthController(OkraApi api)
 {
     _api = api.Auth;
 }
Пример #7
0
 public BalanceApi(OkraApi okraApi)
 {
     _okraApi = okraApi;
 }