bool CheckUnauthorized(IBitFlyerResponse resp) { if (resp.IsUnauthorized) { Console.WriteLine("API is Unauthorized by user settings."); } return(resp.IsUnauthorized); }
void Dump(IBitFlyerResponse resp) { var jobject = JsonConvert.DeserializeObject(resp.Json); Console.WriteLine(JsonConvert.SerializeObject(jobject, Formatting.Indented, BitFlyerClient.JsonSerializeSettings)); }
void DumpJson(IBitFlyerResponse resp) { Console.WriteLine("JSON:"); Console.WriteLine(resp.Json); Console.WriteLine("--------------------------------"); }