コード例 #1
0
 /// <summary>
 /// Generates a new API Token
 /// </summary>
 public static string NewToken()
 {
     RestConnection<string> conn = new RestConnection<string>();
     string token = conn.InvokeGet("new_token");
     return token;
 }
コード例 #2
0
 /// <summary>
 /// Retrieves the account details
 /// </summary>
 public static Account Details()
 {
     RestConnection<Account> conn = new RestConnection<Account>();
     Account account = conn.InvokeGet("account");
     return account;
 }