示例#1
0
 bool CheckUnauthorized(IBitFlyerResponse resp)
 {
     if (resp.IsUnauthorized)
     {
         Console.WriteLine("API is Unauthorized by user settings.");
     }
     return(resp.IsUnauthorized);
 }
示例#2
0
        void Dump(IBitFlyerResponse resp)
        {
            var jobject = JsonConvert.DeserializeObject(resp.Json);

            Console.WriteLine(JsonConvert.SerializeObject(jobject, Formatting.Indented, BitFlyerClient.JsonSerializeSettings));
        }
示例#3
0
 void DumpJson(IBitFlyerResponse resp)
 {
     Console.WriteLine("JSON:");
     Console.WriteLine(resp.Json);
     Console.WriteLine("--------------------------------");
 }