-
Notifications
You must be signed in to change notification settings - Fork 1
/
lunar_crush.cs
107 lines (98 loc) · 3.18 KB
/
lunar_crush.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
using System;
using System.Collections.Generic;
using System.Text;
namespace update_pairs
{
// Root myDeserializedClass = JsonConvert.DeserializeObject<Root>(myJsonResponse);
public class Btc
{
public int id { get; set; }
public string s { get; set; }
public string n { get; set; }
public double p { get; set; }
public int p_btc { get; set; }
public double v { get; set; }
public double vt { get; set; }
public double pc { get; set; }
public double pch { get; set; }
public long mc { get; set; }
public double gs { get; set; }
public int ss { get; set; }
public double @as { get; set; }
public int bl { get; set; }
public int br { get; set; }
public int sp { get; set; }
public int na { get; set; }
public int md { get; set; }
public int t { get; set; }
public int r { get; set; }
public int yt { get; set; }
public int sv { get; set; }
public int u { get; set; }
public int? c { get; set; }
public double sd { get; set; }
public double d { get; set; }
public double cr { get; set; }
public int acr { get; set; }
public int tc { get; set; }
public string categories { get; set; }
}
public class Config
{
public string data { get; set; }
public string type { get; set; }
public int limit { get; set; }
public int page { get; set; }
public int total_rows { get; set; }
public Btc btc { get; set; }
}
public class Usage
{
public int total { get; set; }
}
public class Datum
{
public int id { get; set; }
public string s { get; set; }
public string n { get; set; }
public double p { get; set; }
public double p_btc { get; set; }
public double v { get; set; }
public double vt { get; set; }
public double pc { get; set; }
public double pch { get; set; }
public object mc { get; set; }
public double gs { get; set; }
public int ss { get; set; }
public double @as { get; set; }
public int bl { get; set; }
public int br { get; set; }
public int sp { get; set; }
public int na { get; set; }
public int md { get; set; }
public int t { get; set; }
public int r { get; set; }
public int yt { get; set; }
public int sv { get; set; }
public int u { get; set; }
public int? c { get; set; }
public double sd { get; set; }
public double d { get; set; }
public double cr { get; set; }
public int acr { get; set; }
public int tc { get; set; }
public string categories { get; set; }
public int df { get; set; }
public int e2 { get; set; }
public int? nft { get; set; }
public int? meme { get; set; }
public int? dot { get; set; }
public int? bsc { get; set; }
}
public class LunarCrushRoot
{
public Config config { get; set; }
public Usage usage { get; set; }
public List<Datum> data { get; set; }
}
}