ethermine_api 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,67 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.ethermine.org/networkStats
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.13.1
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - "*/*"
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Date:
22
+ - Tue, 17 Oct 2017 16:45:59 GMT
23
+ Content-Type:
24
+ - application/json; charset=utf-8
25
+ Transfer-Encoding:
26
+ - chunked
27
+ Connection:
28
+ - keep-alive
29
+ Set-Cookie:
30
+ - __cfduid=d031d11ccba3daba4f3c9401de4ec77931508258759; expires=Wed, 17-Oct-18
31
+ 16:45:59 GMT; path=/; domain=.ethermine.org; HttpOnly
32
+ X-Dns-Prefetch-Control:
33
+ - 'off'
34
+ X-Frame-Options:
35
+ - SAMEORIGIN
36
+ Strict-Transport-Security:
37
+ - max-age=15552000; includeSubDomains
38
+ X-Download-Options:
39
+ - noopen
40
+ X-Content-Type-Options:
41
+ - nosniff
42
+ X-Xss-Protection:
43
+ - 1; mode=block
44
+ X-Ratelimit-Limit:
45
+ - '100'
46
+ X-Ratelimit-Remaining:
47
+ - '83'
48
+ Access-Control-Allow-Origin:
49
+ - "*"
50
+ Cache-Control:
51
+ - max-age=120
52
+ Etag:
53
+ - W/"92-50mqj93cGvmrB0tX8HuD2Z14e3I"
54
+ Apicache-Store:
55
+ - redis
56
+ Apicache-Version:
57
+ - 0.8.7
58
+ Server:
59
+ - cloudflare-nginx
60
+ Cf-Ray:
61
+ - 3af4bb3cdf183fb3-YUL
62
+ body:
63
+ encoding: ASCII-8BIT
64
+ string: '{"status":"OK","data":{"time":1508258052,"blockTime":14.3039,"difficulty":1458581131117615,"hashrate":109164314474671,"usd":320.63,"btc":0.05737}}'
65
+ http_version:
66
+ recorded_at: Tue, 17 Oct 2017 16:45:58 GMT
67
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,67 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.ethermine.org/servers/history
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.13.1
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - "*/*"
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Date:
22
+ - Tue, 17 Oct 2017 16:47:05 GMT
23
+ Content-Type:
24
+ - application/json; charset=utf-8
25
+ Transfer-Encoding:
26
+ - chunked
27
+ Connection:
28
+ - keep-alive
29
+ Set-Cookie:
30
+ - __cfduid=d6d7641e966b6e3cb1473150527fa11191508258825; expires=Wed, 17-Oct-18
31
+ 16:47:05 GMT; path=/; domain=.ethermine.org; HttpOnly
32
+ X-Dns-Prefetch-Control:
33
+ - 'off'
34
+ X-Frame-Options:
35
+ - SAMEORIGIN
36
+ Strict-Transport-Security:
37
+ - max-age=15552000; includeSubDomains
38
+ X-Download-Options:
39
+ - noopen
40
+ X-Content-Type-Options:
41
+ - nosniff
42
+ X-Xss-Protection:
43
+ - 1; mode=block
44
+ X-Ratelimit-Limit:
45
+ - '100'
46
+ X-Ratelimit-Remaining:
47
+ - '98'
48
+ Access-Control-Allow-Origin:
49
+ - "*"
50
+ Cache-Control:
51
+ - max-age=300
52
+ Etag:
53
+ - W/"9137-6HwBvZ1XXuxnl8RG55YtoGaY9Pg"
54
+ Apicache-Store:
55
+ - redis
56
+ Apicache-Version:
57
+ - 0.8.7
58
+ Server:
59
+ - cloudflare-nginx
60
+ Cf-Ray:
61
+ - 3af4bcdb0b533f89-YUL
62
+ body:
63
+ encoding: ASCII-8BIT
64
+ string: '{"status":"OK","data":[{"time":1508172600,"server":"asia1","hashrate":6897263944444.48},{"time":1508172600,"server":"eu1","hashrate":14866880666667.344},{"time":1508172600,"server":"us1","hashrate":3408689777777.788},{"time":1508172600,"server":"us2","hashrate":1355141944444.4414},{"time":1508173200,"server":"asia1","hashrate":6921449722222.255},{"time":1508173200,"server":"eu1","hashrate":14993766333334.11},{"time":1508173200,"server":"us1","hashrate":3383736722222.242},{"time":1508173200,"server":"us2","hashrate":1360903444444.4487},{"time":1508173800,"server":"asia1","hashrate":6934446333333.276},{"time":1508173800,"server":"eu1","hashrate":15104622222223.01},{"time":1508173800,"server":"us1","hashrate":3340866055555.5586},{"time":1508173800,"server":"us2","hashrate":1370418333333.3308},{"time":1508174400,"server":"asia1","hashrate":6958190333333.376},{"time":1508174400,"server":"eu1","hashrate":15268663611112.098},{"time":1508174400,"server":"us1","hashrate":3310083222222.246},{"time":1508174400,"server":"us2","hashrate":1373990444444.4434},{"time":1508175000,"server":"asia1","hashrate":6938924444444.547},{"time":1508175000,"server":"eu1","hashrate":15450873055556.312},{"time":1508175000,"server":"us1","hashrate":3304005722222.246},{"time":1508175000,"server":"us2","hashrate":1377234111111.1086},{"time":1508175600,"server":"asia1","hashrate":6891789611111.241},{"time":1508175600,"server":"eu1","hashrate":15556804611112.05},{"time":1508175600,"server":"us1","hashrate":3372931333333.346},{"time":1508175600,"server":"us2","hashrate":1379233222222.2131},{"time":1508176200,"server":"asia1","hashrate":6842595333333.415},{"time":1508176200,"server":"eu1","hashrate":15667528222223.334},{"time":1508176200,"server":"us1","hashrate":3437013888888.8984},{"time":1508176200,"server":"us2","hashrate":1389362277777.7808},{"time":1508176800,"server":"asia1","hashrate":6831720111111.207},{"time":1508176800,"server":"eu1","hashrate":15715838111112.004},{"time":1508176800,"server":"us1","hashrate":3426635944444.459},{"time":1508176800,"server":"us2","hashrate":1385754611111.106},{"time":1508177400,"server":"asia1","hashrate":6828968500000.033},{"time":1508177400,"server":"eu1","hashrate":15818537500000.717},{"time":1508177400,"server":"us1","hashrate":3445772500000.0156},{"time":1508177400,"server":"us2","hashrate":1384696277777.7737},{"time":1508178000,"server":"asia1","hashrate":6822854944444.43},{"time":1508178000,"server":"eu1","hashrate":15847446611112.123},{"time":1508178000,"server":"us1","hashrate":3446066277777.8115},{"time":1508178000,"server":"us2","hashrate":1384945777777.7737},{"time":1508178600,"server":"asia1","hashrate":6838791888888.934},{"time":1508178600,"server":"eu1","hashrate":15811420666667.398},{"time":1508178600,"server":"us1","hashrate":3451751166666.687},{"time":1508178600,"server":"us2","hashrate":1385013666666.6543},{"time":1508179200,"server":"asia1","hashrate":6860566555555.626},{"time":1508179200,"server":"eu1","hashrate":15895231222223.031},{"time":1508179200,"server":"us1","hashrate":3392565833333.352},{"time":1508179200,"server":"us2","hashrate":1386362166666.6594},{"time":1508179800,"server":"asia1","hashrate":6883115277777.78},{"time":1508179800,"server":"eu1","hashrate":15897050777778.732},{"time":1508179800,"server":"us1","hashrate":3351356277777.801},{"time":1508179800,"server":"us2","hashrate":1376250777777.769},{"time":1508180400,"server":"asia1","hashrate":6902047611111.199},{"time":1508180400,"server":"eu1","hashrate":15951676000000.963},{"time":1508180400,"server":"us1","hashrate":3338802944444.4453},{"time":1508180400,"server":"us2","hashrate":1378069055555.5464},{"time":1508181000,"server":"asia1","hashrate":6898475388888.932},{"time":1508181000,"server":"eu1","hashrate":15961122722222.672},{"time":1508181000,"server":"us1","hashrate":3307113611111.1343},{"time":1508181000,"server":"us2","hashrate":1376927999999.992},{"time":1508181600,"server":"asia1","hashrate":6899220055555.641},{"time":1508181600,"server":"eu1","hashrate":15921482277778.51},{"time":1508181600,"server":"us1","hashrate":3358468499999.98},{"time":1508181600,"server":"us2","hashrate":1375903333333.332},{"time":1508182200,"server":"asia1","hashrate":6897692722222.231},{"time":1508182200,"server":"eu1","hashrate":15938142055556.754},{"time":1508182200,"server":"us1","hashrate":3386549944444.4756},{"time":1508182200,"server":"us2","hashrate":1377568833333.3286},{"time":1508182800,"server":"asia1","hashrate":6900690388888.978},{"time":1508182800,"server":"eu1","hashrate":15844821555556.414},{"time":1508182800,"server":"us1","hashrate":3386441222222.232},{"time":1508182800,"server":"us2","hashrate":1376841999999.9954},{"time":1508183400,"server":"asia1","hashrate":6896579722222.279},{"time":1508183400,"server":"eu1","hashrate":15776908166667.379},{"time":1508183400,"server":"us1","hashrate":3370132333333.325},{"time":1508183400,"server":"us2","hashrate":1378548444444.444},{"time":1508184000,"server":"asia1","hashrate":6888326722222.224},{"time":1508184000,"server":"eu1","hashrate":15757689666667.36},{"time":1508184000,"server":"us1","hashrate":3373933166666.6763},{"time":1508184000,"server":"us2","hashrate":1375830111111.104},{"time":1508184600,"server":"asia1","hashrate":6875034333333.384},{"time":1508184600,"server":"eu1","hashrate":15739677333334.414},{"time":1508184600,"server":"us1","hashrate":3430036222222.235},{"time":1508184600,"server":"us2","hashrate":1378401388888.8833},{"time":1508185200,"server":"asia1","hashrate":6868706222222.294},{"time":1508185200,"server":"eu1","hashrate":15805733888890.365},{"time":1508185200,"server":"us1","hashrate":3415135166666.6997},{"time":1508185200,"server":"us2","hashrate":1381957388888.8752},{"time":1508185800,"server":"asia1","hashrate":6857700944444.497},{"time":1508185800,"server":"eu1","hashrate":15769119944445.264},{"time":1508185800,"server":"us1","hashrate":3386150888888.9087},{"time":1508185800,"server":"us2","hashrate":1384130777777.7708},{"time":1508186400,"server":"asia1","hashrate":6844734888888.959},{"time":1508186400,"server":"eu1","hashrate":15752974555556.436},{"time":1508186400,"server":"us1","hashrate":3362852833333.3735},{"time":1508186400,"server":"us2","hashrate":1384284666666.6592},{"time":1508187000,"server":"asia1","hashrate":6842381277777.807},{"time":1508187000,"server":"eu1","hashrate":15805296333334.328},{"time":1508187000,"server":"us1","hashrate":3369648055555.571},{"time":1508187000,"server":"us2","hashrate":1384247166666.664},{"time":1508187600,"server":"asia1","hashrate":6843897777777.773},{"time":1508187600,"server":"eu1","hashrate":15812672500000.918},{"time":1508187600,"server":"us1","hashrate":3404682444444.4375},{"time":1508187600,"server":"us2","hashrate":1391067611111.107},{"time":1508188200,"server":"asia1","hashrate":6862575111111.191},{"time":1508188200,"server":"eu1","hashrate":15778462500000.705},{"time":1508188200,"server":"us1","hashrate":3425009111111.1016},{"time":1508188200,"server":"us2","hashrate":1397121888888.8892},{"time":1508188800,"server":"asia1","hashrate":6869018333333.387},{"time":1508188800,"server":"eu1","hashrate":15715061111111.645},{"time":1508188800,"server":"us1","hashrate":3443205166666.707},{"time":1508188800,"server":"us2","hashrate":1401952722222.2183},{"time":1508189400,"server":"asia1","hashrate":6872949499999.988},{"time":1508189400,"server":"eu1","hashrate":15703455833333.875},{"time":1508189400,"server":"us1","hashrate":3500858277777.7827},{"time":1508189400,"server":"us2","hashrate":1401355388888.8757},{"time":1508190000,"server":"asia1","hashrate":6889196666666.646},{"time":1508190000,"server":"eu1","hashrate":15770000500000.508},{"time":1508190000,"server":"us1","hashrate":3618492055555.5723},{"time":1508190000,"server":"us2","hashrate":1403550333333.3267},{"time":1508190600,"server":"asia1","hashrate":6883806333333.411},{"time":1508190600,"server":"eu1","hashrate":15826135277778.418},{"time":1508190600,"server":"us1","hashrate":3694008944444.4395},{"time":1508190600,"server":"us2","hashrate":1404927166666.6606},{"time":1508191200,"server":"asia1","hashrate":6882294666666.677},{"time":1508191200,"server":"eu1","hashrate":15951608944445.486},{"time":1508191200,"server":"us1","hashrate":3764559888888.905},{"time":1508191200,"server":"us2","hashrate":1400618388888.8923},{"time":1508191800,"server":"asia1","hashrate":6873441666666.753},{"time":1508191800,"server":"eu1","hashrate":16005308444445.363},{"time":1508191800,"server":"us1","hashrate":3828718666666.656},{"time":1508191800,"server":"us2","hashrate":1400527777777.777},{"time":1508192400,"server":"asia1","hashrate":6883079777777.793},{"time":1508192400,"server":"eu1","hashrate":15979872666667.574},{"time":1508192400,"server":"us1","hashrate":3883913833333.345},{"time":1508192400,"server":"us2","hashrate":1403003611111.11},{"time":1508193000,"server":"asia1","hashrate":6930507722222.174},{"time":1508193000,"server":"eu1","hashrate":16012965722222.758},{"time":1508193000,"server":"us1","hashrate":3947061388888.9116},{"time":1508193000,"server":"us2","hashrate":1408633111111.102},{"time":1508193600,"server":"asia1","hashrate":6989176055555.57},{"time":1508193600,"server":"eu1","hashrate":15987422055556.09},{"time":1508193600,"server":"us1","hashrate":3919940277777.762},{"time":1508193600,"server":"us2","hashrate":1417225777777.7695},{"time":1508194200,"server":"asia1","hashrate":7049541277777.855},{"time":1508194200,"server":"eu1","hashrate":15905797388889.584},{"time":1508194200,"server":"us1","hashrate":3914771222222.2056},{"time":1508194200,"server":"us2","hashrate":1437835166666.6602},{"time":1508194800,"server":"asia1","hashrate":7065521388888.935},{"time":1508194800,"server":"eu1","hashrate":15777447222222.674},{"time":1508194800,"server":"us1","hashrate":3899550444444.4907},{"time":1508194800,"server":"us2","hashrate":1455028555555.547},{"time":1508195400,"server":"asia1","hashrate":7051999555555.623},{"time":1508195400,"server":"eu1","hashrate":15783886000000.611},{"time":1508195400,"server":"us1","hashrate":3855433444444.455},{"time":1508195400,"server":"us2","hashrate":1463464499999.996},{"time":1508196000,"server":"asia1","hashrate":7037601944444.513},{"time":1508196000,"server":"eu1","hashrate":15881241222222.88},{"time":1508196000,"server":"us1","hashrate":3842884222222.189},{"time":1508196000,"server":"us2","hashrate":1465473222222.2212},{"time":1508196600,"server":"asia1","hashrate":6980096277777.833},{"time":1508196600,"server":"eu1","hashrate":15933255444445.047},{"time":1508196600,"server":"us1","hashrate":3826301555555.5728},{"time":1508196600,"server":"us2","hashrate":1461493277777.7761},{"time":1508197200,"server":"asia1","hashrate":6904136499999.999},{"time":1508197200,"server":"eu1","hashrate":15969285166667.328},{"time":1508197200,"server":"us1","hashrate":3817652888888.909},{"time":1508197200,"server":"us2","hashrate":1452562999999.9949},{"time":1508197800,"server":"asia1","hashrate":6852173000000.03},{"time":1508197800,"server":"eu1","hashrate":16086994277778.693},{"time":1508197800,"server":"us1","hashrate":3802669722222.2275},{"time":1508197800,"server":"us2","hashrate":1431253388888.8926},{"time":1508198400,"server":"asia1","hashrate":6859798555555.608},{"time":1508198400,"server":"eu1","hashrate":16173496555556.846},{"time":1508198400,"server":"us1","hashrate":3772828333333.3716},{"time":1508198400,"server":"us2","hashrate":1410427777777.7673},{"time":1508199000,"server":"asia1","hashrate":6891478444444.464},{"time":1508199000,"server":"eu1","hashrate":16196553666667.445},{"time":1508199000,"server":"us1","hashrate":3768569000000.0034},{"time":1508199000,"server":"us2","hashrate":1395585277777.7676},{"time":1508199600,"server":"asia1","hashrate":6878039555555.594},{"time":1508199600,"server":"eu1","hashrate":16148661111111.88},{"time":1508199600,"server":"us1","hashrate":3760186388888.901},{"time":1508199600,"server":"us2","hashrate":1384236611111.1057},{"time":1508200200,"server":"asia1","hashrate":6883243388888.933},{"time":1508200200,"server":"eu1","hashrate":16090223500000.643},{"time":1508200200,"server":"us1","hashrate":3701413000000.0264},{"time":1508200200,"server":"us2","hashrate":1383405777777.7747},{"time":1508200800,"server":"asia1","hashrate":6879825833333.395},{"time":1508200800,"server":"eu1","hashrate":16079487166667.549},{"time":1508200800,"server":"us1","hashrate":3680470277777.8125},{"time":1508200800,"server":"us2","hashrate":1384287944444.4458},{"time":1508201400,"server":"asia1","hashrate":6878308666666.85},{"time":1508201400,"server":"eu1","hashrate":16050998277778.705},{"time":1508201400,"server":"us1","hashrate":3667754333333.342},{"time":1508201400,"server":"us2","hashrate":1384959777777.7585},{"time":1508202000,"server":"asia1","hashrate":6868751222222.274},{"time":1508202000,"server":"eu1","hashrate":16046102833333.934},{"time":1508202000,"server":"us1","hashrate":3677481666666.6865},{"time":1508202000,"server":"us2","hashrate":1388856833333.3372},{"time":1508202600,"server":"asia1","hashrate":6901702000000.039},{"time":1508202600,"server":"eu1","hashrate":16074499611111.707},{"time":1508202600,"server":"us1","hashrate":3675172277777.7744},{"time":1508202600,"server":"us2","hashrate":1393067277777.7715},{"time":1508203200,"server":"asia1","hashrate":6935995388888.995},{"time":1508203200,"server":"eu1","hashrate":16170676388889.572},{"time":1508203200,"server":"us1","hashrate":3650941388888.898},{"time":1508203200,"server":"us2","hashrate":1398327333333.3281},{"time":1508203800,"server":"asia1","hashrate":6936340888888.969},{"time":1508203800,"server":"eu1","hashrate":16331456722223.26},{"time":1508203800,"server":"us1","hashrate":3686972111111.126},{"time":1508203800,"server":"us2","hashrate":1400214777777.7705},{"time":1508204400,"server":"asia1","hashrate":6986492055555.661},{"time":1508204400,"server":"eu1","hashrate":16415752611111.56},{"time":1508204400,"server":"us1","hashrate":3698936500000.005},{"time":1508204400,"server":"us2","hashrate":1392259722222.2178},{"time":1508205000,"server":"asia1","hashrate":6997154888888.913},{"time":1508205000,"server":"eu1","hashrate":16409972277778.541},{"time":1508205000,"server":"us1","hashrate":3706388055555.567},{"time":1508205000,"server":"us2","hashrate":1384985277777.7766},{"time":1508205600,"server":"asia1","hashrate":6976270944444.403},{"time":1508205600,"server":"eu1","hashrate":16472173222222.822},{"time":1508205600,"server":"us1","hashrate":3731834722222.2188},{"time":1508205600,"server":"us2","hashrate":1379259611111.1047},{"time":1508206200,"server":"asia1","hashrate":6908556111111.086},{"time":1508206200,"server":"eu1","hashrate":16547743777778.246},{"time":1508206200,"server":"us1","hashrate":3752465277777.8315},{"time":1508206200,"server":"us2","hashrate":1371389777777.7737},{"time":1508206800,"server":"asia1","hashrate":6939605166666.585},{"time":1508206800,"server":"eu1","hashrate":16661385500000.572},{"time":1508206800,"server":"us1","hashrate":3771639500000},{"time":1508206800,"server":"us2","hashrate":1362091944444.441},{"time":1508207400,"server":"asia1","hashrate":6991004777777.818},{"time":1508207400,"server":"eu1","hashrate":16707351000000.762},{"time":1508207400,"server":"us1","hashrate":3782500944444.4424},{"time":1508207400,"server":"us2","hashrate":1354532222222.2183},{"time":1508208000,"server":"asia1","hashrate":6988043222222.15},{"time":1508208000,"server":"eu1","hashrate":16764343444445.158},{"time":1508208000,"server":"us1","hashrate":3824443722222.216},{"time":1508208000,"server":"us2","hashrate":1357019999999.9932},{"time":1508208600,"server":"asia1","hashrate":7032309555555.606},{"time":1508208600,"server":"eu1","hashrate":16871221722223.365},{"time":1508208600,"server":"us1","hashrate":3841318388888.8813},{"time":1508208600,"server":"us2","hashrate":1360258944444.4387},{"time":1508209200,"server":"asia1","hashrate":7102859777777.85},{"time":1508209200,"server":"eu1","hashrate":16882356833333.97},{"time":1508209200,"server":"us1","hashrate":3846588111111.128},{"time":1508209200,"server":"us2","hashrate":1359821055555.5532},{"time":1508209800,"server":"asia1","hashrate":7166574611111.146},{"time":1508209800,"server":"eu1","hashrate":16907574444445.014},{"time":1508209800,"server":"us1","hashrate":3857308722222.2544},{"time":1508209800,"server":"us2","hashrate":1366863444444.443},{"time":1508210400,"server":"asia1","hashrate":7145130611111.209},{"time":1508210400,"server":"eu1","hashrate":16904123555556.586},{"time":1508210400,"server":"us1","hashrate":3874717500000.026},{"time":1508210400,"server":"us2","hashrate":1401610666666.6577},{"time":1508211000,"server":"asia1","hashrate":7169179500000.174},{"time":1508211000,"server":"eu1","hashrate":16917131777778.672},{"time":1508211000,"server":"us1","hashrate":3833731166666.659},{"time":1508211000,"server":"us2","hashrate":1451419833333.3242},{"time":1508211600,"server":"asia1","hashrate":7166998500000.138},{"time":1508211600,"server":"eu1","hashrate":16866545666667.621},{"time":1508211600,"server":"us1","hashrate":3803526888888.8735},{"time":1508211600,"server":"us2","hashrate":1467660944444.4539},{"time":1508212200,"server":"asia1","hashrate":7166542944444.513},{"time":1508212200,"server":"eu1","hashrate":16896028444445.355},{"time":1508212200,"server":"us1","hashrate":3832220888888.8916},{"time":1508212200,"server":"us2","hashrate":1469910777777.7754},{"time":1508212800,"server":"asia1","hashrate":7155698444444.46},{"time":1508212800,"server":"eu1","hashrate":16905116555556.656},{"time":1508212800,"server":"us1","hashrate":3842245055555.5684},{"time":1508212800,"server":"us2","hashrate":1475786888888.886},{"time":1508213400,"server":"asia1","hashrate":7103024333333.377},{"time":1508213400,"server":"eu1","hashrate":16834496722223.076},{"time":1508213400,"server":"us1","hashrate":3838629166666.667},{"time":1508213400,"server":"us2","hashrate":1487117166666.6643},{"time":1508214000,"server":"asia1","hashrate":7068713833333.392},{"time":1508214000,"server":"eu1","hashrate":16727955333334.059},{"time":1508214000,"server":"us1","hashrate":3843530499999.982},{"time":1508214000,"server":"us2","hashrate":1472347388888.891},{"time":1508214600,"server":"asia1","hashrate":6992375666666.766},{"time":1508214600,"server":"eu1","hashrate":16605823722222.734},{"time":1508214600,"server":"us1","hashrate":3889830111111.117},{"time":1508214600,"server":"us2","hashrate":1443046055555.5562},{"time":1508215200,"server":"asia1","hashrate":6952436555555.606},{"time":1508215200,"server":"eu1","hashrate":16539009055556.2},{"time":1508215200,"server":"us1","hashrate":3867281500000.0024},{"time":1508215200,"server":"us2","hashrate":1439806277777.7815},{"time":1508215800,"server":"asia1","hashrate":6898503055555.626},{"time":1508215800,"server":"eu1","hashrate":16400561333333.941},{"time":1508215800,"server":"us1","hashrate":3800389666666.6533},{"time":1508215800,"server":"us2","hashrate":1451235388888.877},{"time":1508216400,"server":"asia1","hashrate":6840526333333.366},{"time":1508216400,"server":"eu1","hashrate":16318170722222.91},{"time":1508216400,"server":"us1","hashrate":3771688944444.451},{"time":1508216400,"server":"us2","hashrate":1446232500000.0032},{"time":1508217000,"server":"asia1","hashrate":6844833722222.257},{"time":1508217000,"server":"eu1","hashrate":16262853055556.277},{"time":1508217000,"server":"us1","hashrate":3754089833333.372},{"time":1508217000,"server":"us2","hashrate":1433741500000.002},{"time":1508217600,"server":"asia1","hashrate":6854835388888.962},{"time":1508217600,"server":"eu1","hashrate":16230260333334.066},{"time":1508217600,"server":"us1","hashrate":3714610722222.2524},{"time":1508217600,"server":"us2","hashrate":1415040944444.436},{"time":1508218200,"server":"asia1","hashrate":6860301611111.167},{"time":1508218200,"server":"eu1","hashrate":16129436277778.51},{"time":1508218200,"server":"us1","hashrate":3659540500000.0054},{"time":1508218200,"server":"us2","hashrate":1398322555555.5515},{"time":1508218800,"server":"asia1","hashrate":6874255277777.863},{"time":1508218800,"server":"eu1","hashrate":16112527611111.562},{"time":1508218800,"server":"us1","hashrate":3690949777777.8027},{"time":1508218800,"server":"us2","hashrate":1391695944444.4358},{"time":1508219400,"server":"asia1","hashrate":6875464055555.552},{"time":1508219400,"server":"eu1","hashrate":16132380000000.523},{"time":1508219400,"server":"us1","hashrate":3737670055555.5283},{"time":1508219400,"server":"us2","hashrate":1383478111111.1016},{"time":1508220000,"server":"asia1","hashrate":6886686944444.524},{"time":1508220000,"server":"eu1","hashrate":16130585833333.97},{"time":1508220000,"server":"us1","hashrate":3754791888888.906},{"time":1508220000,"server":"us2","hashrate":1385563666666.6548},{"time":1508220600,"server":"asia1","hashrate":6893468055555.646},{"time":1508220600,"server":"eu1","hashrate":16159512722223.273},{"time":1508220600,"server":"us1","hashrate":3756445388888.879},{"time":1508220600,"server":"us2","hashrate":1388472166666.6646},{"time":1508221200,"server":"asia1","hashrate":6894101666666.711},{"time":1508221200,"server":"eu1","hashrate":16224799055556.443},{"time":1508221200,"server":"us1","hashrate":3770229166666.666},{"time":1508221200,"server":"us2","hashrate":1390952055555.5518},{"time":1508221800,"server":"asia1","hashrate":6902039944444.584},{"time":1508221800,"server":"eu1","hashrate":16361318888889.557},{"time":1508221800,"server":"us1","hashrate":3816217388888.887},{"time":1508221800,"server":"us2","hashrate":1397083722222.2214},{"time":1508222400,"server":"asia1","hashrate":6883520000000.114},{"time":1508222400,"server":"eu1","hashrate":16434358388889.463},{"time":1508222400,"server":"us1","hashrate":3806545777777.8115},{"time":1508222400,"server":"us2","hashrate":1403569444444.429},{"time":1508223000,"server":"asia1","hashrate":6881935166666.676},{"time":1508223000,"server":"eu1","hashrate":16444480666667.59},{"time":1508223000,"server":"us1","hashrate":3798752499999.978},{"time":1508223000,"server":"us2","hashrate":1423729888888.88},{"time":1508223600,"server":"asia1","hashrate":6874979888888.937},{"time":1508223600,"server":"eu1","hashrate":16512510000000.533},{"time":1508223600,"server":"us1","hashrate":3801390722222.2495},{"time":1508223600,"server":"us2","hashrate":1453189777777.7703},{"time":1508224200,"server":"asia1","hashrate":6878857944444.496},{"time":1508224200,"server":"eu1","hashrate":16513891777778.645},{"time":1508224200,"server":"us1","hashrate":3809029833333.349},{"time":1508224200,"server":"us2","hashrate":1484612444444.4343},{"time":1508224800,"server":"asia1","hashrate":6883264833333.348},{"time":1508224800,"server":"eu1","hashrate":16483137277778.764},{"time":1508224800,"server":"us1","hashrate":3843720722222.2114},{"time":1508224800,"server":"us2","hashrate":1517216666666.6587},{"time":1508225400,"server":"asia1","hashrate":6878051444444.582},{"time":1508225400,"server":"eu1","hashrate":16406311222223.354},{"time":1508225400,"server":"us1","hashrate":3863555222222.2017},{"time":1508225400,"server":"us2","hashrate":1542339666666.67},{"time":1508226000,"server":"asia1","hashrate":6894176777777.861},{"time":1508226000,"server":"eu1","hashrate":16338810666667.31},{"time":1508226000,"server":"us1","hashrate":3870984222222.2266},{"time":1508226000,"server":"us2","hashrate":1546142055555.5588},{"time":1508226600,"server":"asia1","hashrate":6900749888889.004},{"time":1508226600,"server":"eu1","hashrate":16214477388890.096},{"time":1508226600,"server":"us1","hashrate":3857995777777.8013},{"time":1508226600,"server":"us2","hashrate":1528379666666.6519},{"time":1508227200,"server":"asia1","hashrate":6902243000000.099},{"time":1508227200,"server":"eu1","hashrate":16036275555556.33},{"time":1508227200,"server":"us1","hashrate":3830761444444.445},{"time":1508227200,"server":"us2","hashrate":1502861999999.9966},{"time":1508227800,"server":"asia1","hashrate":6890949333333.385},{"time":1508227800,"server":"eu1","hashrate":15884515222223.06},{"time":1508227800,"server":"us1","hashrate":3771157000000.006},{"time":1508227800,"server":"us2","hashrate":1478702222222.215},{"time":1508228400,"server":"asia1","hashrate":6895162333333.424},{"time":1508228400,"server":"eu1","hashrate":15806926666667.264},{"time":1508228400,"server":"us1","hashrate":3678917388888.9146},{"time":1508228400,"server":"us2","hashrate":1448133388888.8738},{"time":1508229000,"server":"asia1","hashrate":6899470888889.0205},{"time":1508229000,"server":"eu1","hashrate":15756451277778.729},{"time":1508229000,"server":"us1","hashrate":3641499555555.5723},{"time":1508229000,"server":"us2","hashrate":1437398722222.2202},{"time":1508229600,"server":"asia1","hashrate":6889095000000.1045},{"time":1508229600,"server":"eu1","hashrate":15777226722223.35},{"time":1508229600,"server":"us1","hashrate":3659161555555.571},{"time":1508229600,"server":"us2","hashrate":1443897388888.8794},{"time":1508230200,"server":"asia1","hashrate":6885825222222.308},{"time":1508230200,"server":"eu1","hashrate":15889018000000.799},{"time":1508230200,"server":"us1","hashrate":3648520666666.6733},{"time":1508230200,"server":"us2","hashrate":1444388888888.884},{"time":1508230800,"server":"asia1","hashrate":6901363888888.963},{"time":1508230800,"server":"eu1","hashrate":15936256722223.082},{"time":1508230800,"server":"us1","hashrate":3636163722222.2544},{"time":1508230800,"server":"us2","hashrate":1443191000000.0054},{"time":1508231400,"server":"asia1","hashrate":6912333333333.425},{"time":1508231400,"server":"eu1","hashrate":16015948055556.748},{"time":1508231400,"server":"us1","hashrate":3657711611111.11},{"time":1508231400,"server":"us2","hashrate":1441638722222.2222},{"time":1508232000,"server":"asia1","hashrate":6923993555555.607},{"time":1508232000,"server":"eu1","hashrate":16157209222223.23},{"time":1508232000,"server":"us1","hashrate":3687755944444.4575},{"time":1508232000,"server":"us2","hashrate":1450195222222.2117},{"time":1508232600,"server":"asia1","hashrate":6939856166666.711},{"time":1508232600,"server":"eu1","hashrate":16225763000001.037},{"time":1508232600,"server":"us1","hashrate":3676419500000.0293},{"time":1508232600,"server":"us2","hashrate":1440849833333.3274},{"time":1508233200,"server":"asia1","hashrate":6961541000000.086},{"time":1508233200,"server":"eu1","hashrate":16234604611112.08},{"time":1508233200,"server":"us1","hashrate":3638827388888.8765},{"time":1508233200,"server":"us2","hashrate":1427219722222.213},{"time":1508233800,"server":"asia1","hashrate":6980956055555.72},{"time":1508233800,"server":"eu1","hashrate":16266016333334.635},{"time":1508233800,"server":"us1","hashrate":3643352055555.599},{"time":1508233800,"server":"us2","hashrate":1431307388888.8723},{"time":1508234400,"server":"asia1","hashrate":6993405111111.274},{"time":1508234400,"server":"eu1","hashrate":16299892222222.996},{"time":1508234400,"server":"us1","hashrate":3647937555555.5537},{"time":1508234400,"server":"us2","hashrate":1432098722222.2148},{"time":1508235000,"server":"asia1","hashrate":7014743555555.71},{"time":1508235000,"server":"eu1","hashrate":16330198333334.074},{"time":1508235000,"server":"us1","hashrate":3652809722222.2344},{"time":1508235000,"server":"us2","hashrate":1440133277777.769},{"time":1508235600,"server":"asia1","hashrate":7021885555555.669},{"time":1508235600,"server":"eu1","hashrate":16269088666667.43},{"time":1508235600,"server":"us1","hashrate":3658258555555.5537},{"time":1508235600,"server":"us2","hashrate":1429935833333.3289},{"time":1508236200,"server":"asia1","hashrate":7028633500000.168},{"time":1508236200,"server":"eu1","hashrate":16284124555556.277},{"time":1508236200,"server":"us1","hashrate":3660845277777.777},{"time":1508236200,"server":"us2","hashrate":1427280666666.66},{"time":1508236800,"server":"asia1","hashrate":7033371111111.196},{"time":1508236800,"server":"eu1","hashrate":16308231944445.568},{"time":1508236800,"server":"us1","hashrate":3657950944444.465},{"time":1508236800,"server":"us2","hashrate":1425511499999.989},{"time":1508237400,"server":"asia1","hashrate":7043159944444.449},{"time":1508237400,"server":"eu1","hashrate":16272074388889.527},{"time":1508237400,"server":"us1","hashrate":3646191611111.124},{"time":1508237400,"server":"us2","hashrate":1424108222222.216},{"time":1508238000,"server":"asia1","hashrate":7051495666666.78},{"time":1508238000,"server":"eu1","hashrate":16360290722223.129},{"time":1508238000,"server":"us1","hashrate":3648817666666.6997},{"time":1508238000,"server":"us2","hashrate":1421723277777.7708},{"time":1508238600,"server":"asia1","hashrate":7066291555555.584},{"time":1508238600,"server":"eu1","hashrate":16450645222222.674},{"time":1508238600,"server":"us1","hashrate":3681369388888.91},{"time":1508238600,"server":"us2","hashrate":1418990555555.5474},{"time":1508239200,"server":"asia1","hashrate":7076930111111.261},{"time":1508239200,"server":"eu1","hashrate":16480124888889.727},{"time":1508239200,"server":"us1","hashrate":3706561555555.5703},{"time":1508239200,"server":"us2","hashrate":1419047555555.5527},{"time":1508239800,"server":"asia1","hashrate":7084131611111.192},{"time":1508239800,"server":"eu1","hashrate":16517199888889.355},{"time":1508239800,"server":"us1","hashrate":3743843055555.581},{"time":1508239800,"server":"us2","hashrate":1418487277777.772},{"time":1508240400,"server":"asia1","hashrate":7112497777777.822},{"time":1508240400,"server":"eu1","hashrate":16531865555556.29},{"time":1508240400,"server":"us1","hashrate":3771111611111.1113},{"time":1508240400,"server":"us2","hashrate":1421423277777.7756},{"time":1508241000,"server":"asia1","hashrate":7122540055555.529},{"time":1508241000,"server":"eu1","hashrate":16563227388889.412},{"time":1508241000,"server":"us1","hashrate":3809100277777.7974},{"time":1508241000,"server":"us2","hashrate":1422475111111.1113},{"time":1508241600,"server":"asia1","hashrate":7128345722222.232},{"time":1508241600,"server":"eu1","hashrate":16545245777778.38},{"time":1508241600,"server":"us1","hashrate":3837696666666.692},{"time":1508241600,"server":"us2","hashrate":1421786000000.001},{"time":1508242200,"server":"asia1","hashrate":7140839888889.024},{"time":1508242200,"server":"eu1","hashrate":16543566500000.943},{"time":1508242200,"server":"us1","hashrate":3827614500000.0405},{"time":1508242200,"server":"us2","hashrate":1421420166666.667},{"time":1508242800,"server":"asia1","hashrate":7139028944444.514},{"time":1508242800,"server":"eu1","hashrate":16605877333334.143},{"time":1508242800,"server":"us1","hashrate":3817538500000.0195},{"time":1508242800,"server":"us2","hashrate":1420756499999.9966},{"time":1508243400,"server":"asia1","hashrate":7137177722222.363},{"time":1508243400,"server":"eu1","hashrate":16609518833334.482},{"time":1508243400,"server":"us1","hashrate":3779154777777.7827},{"time":1508243400,"server":"us2","hashrate":1417929111111.1157},{"time":1508244000,"server":"asia1","hashrate":7130786222222.309},{"time":1508244000,"server":"eu1","hashrate":16612456111112.38},{"time":1508244000,"server":"us1","hashrate":3753213388888.89},{"time":1508244000,"server":"us2","hashrate":1416504611111.1135},{"time":1508244600,"server":"asia1","hashrate":7141558111111.071},{"time":1508244600,"server":"eu1","hashrate":16601316833334.139},{"time":1508244600,"server":"us1","hashrate":3728104666666.666},{"time":1508244600,"server":"us2","hashrate":1415494499999.9915},{"time":1508245200,"server":"asia1","hashrate":7135546611111.173},{"time":1508245200,"server":"eu1","hashrate":16628098722224.125},{"time":1508245200,"server":"us1","hashrate":3702655333333.352},{"time":1508245200,"server":"us2","hashrate":1414297333333.3267},{"time":1508245800,"server":"asia1","hashrate":7116400111111.152},{"time":1508245800,"server":"eu1","hashrate":16639764388889.674},{"time":1508245800,"server":"us1","hashrate":3680431277777.787},{"time":1508245800,"server":"us2","hashrate":1413501777777.7822},{"time":1508246400,"server":"asia1","hashrate":7134897500000.024},{"time":1508246400,"server":"eu1","hashrate":16602385388890.006},{"time":1508246400,"server":"us1","hashrate":3670648111111.13},{"time":1508246400,"server":"us2","hashrate":1421950111111.1006},{"time":1508247000,"server":"asia1","hashrate":7145098000000.041},{"time":1508247000,"server":"eu1","hashrate":16604125166667.77},{"time":1508247000,"server":"us1","hashrate":3672269722222.1943},{"time":1508247000,"server":"us2","hashrate":1444078611111.1138},{"time":1508247600,"server":"asia1","hashrate":7138534722222.251},{"time":1508247600,"server":"eu1","hashrate":16595632388889.654},{"time":1508247600,"server":"us1","hashrate":3668508666666.663},{"time":1508247600,"server":"us2","hashrate":1444643888888.8857},{"time":1508248200,"server":"asia1","hashrate":7126553444444.505},{"time":1508248200,"server":"eu1","hashrate":16721052833334.018},{"time":1508248200,"server":"us1","hashrate":3663736777777.777},{"time":1508248200,"server":"us2","hashrate":1511224888888.8818},{"time":1508248800,"server":"asia1","hashrate":7141392833333.432},{"time":1508248800,"server":"eu1","hashrate":16802567444445.143},{"time":1508248800,"server":"us1","hashrate":3663868888888.9277},{"time":1508248800,"server":"us2","hashrate":1536776666666.6567},{"time":1508249400,"server":"asia1","hashrate":7145479611111.272},{"time":1508249400,"server":"eu1","hashrate":16900206277778.58},{"time":1508249400,"server":"us1","hashrate":3671683222222.204},{"time":1508249400,"server":"us2","hashrate":1540747499999.9878},{"time":1508250000,"server":"asia1","hashrate":7128140611111.242},{"time":1508250000,"server":"eu1","hashrate":16961648833334.232},{"time":1508250000,"server":"us1","hashrate":3663918500000.019},{"time":1508250000,"server":"us2","hashrate":1530196055555.5527},{"time":1508250600,"server":"asia1","hashrate":7134660777777.8},{"time":1508250600,"server":"eu1","hashrate":17058603555556.178},{"time":1508250600,"server":"us1","hashrate":3657187444444.467},{"time":1508250600,"server":"us2","hashrate":1511516777777.7715},{"time":1508251200,"server":"asia1","hashrate":7146454000000.017},{"time":1508251200,"server":"eu1","hashrate":17279908666667.68},{"time":1508251200,"server":"us1","hashrate":3666140444444.4263},{"time":1508251200,"server":"us2","hashrate":1522304055555.5486},{"time":1508251800,"server":"asia1","hashrate":7159937388888.917},{"time":1508251800,"server":"eu1","hashrate":17323597888890.055},{"time":1508251800,"server":"us1","hashrate":3666970444444.4634},{"time":1508251800,"server":"us2","hashrate":1472353611111.1072},{"time":1508252400,"server":"asia1","hashrate":7160578444444.571},{"time":1508252400,"server":"eu1","hashrate":17347743444445.254},{"time":1508252400,"server":"us1","hashrate":3661555944444.4585},{"time":1508252400,"server":"us2","hashrate":1456327888888.8865},{"time":1508253000,"server":"asia1","hashrate":7174913444444.563},{"time":1508253000,"server":"eu1","hashrate":17347227000000.736},{"time":1508253000,"server":"us1","hashrate":3650008555555.553},{"time":1508253000,"server":"us2","hashrate":1461904999999.9949},{"time":1508253600,"server":"asia1","hashrate":7182416000000.106},{"time":1508253600,"server":"eu1","hashrate":17407838055556.21},{"time":1508253600,"server":"us1","hashrate":3649260611111.0977},{"time":1508253600,"server":"us2","hashrate":1466004222222.2144},{"time":1508254200,"server":"asia1","hashrate":7193276333333.394},{"time":1508254200,"server":"eu1","hashrate":17447749833334.258},{"time":1508254200,"server":"us1","hashrate":3655828000000.017},{"time":1508254200,"server":"us2","hashrate":1469749777777.7664},{"time":1508254800,"server":"asia1","hashrate":7197259444444.524},{"time":1508254800,"server":"eu1","hashrate":17325174388889.783},{"time":1508254800,"server":"us1","hashrate":3644512277777.7993},{"time":1508254800,"server":"us2","hashrate":1466511222222.2163},{"time":1508255400,"server":"asia1","hashrate":7202165611111.18},{"time":1508255400,"server":"eu1","hashrate":17237165444445},{"time":1508255400,"server":"us1","hashrate":3635810222222.253},{"time":1508255400,"server":"us2","hashrate":1448762333333.335},{"time":1508256000,"server":"asia1","hashrate":7213943277777.85},{"time":1508256000,"server":"eu1","hashrate":17116461555556.863},{"time":1508256000,"server":"us1","hashrate":3630751944444.453},{"time":1508256000,"server":"us2","hashrate":1440224055555.557},{"time":1508256600,"server":"asia1","hashrate":7234338055555.636},{"time":1508256600,"server":"eu1","hashrate":17049984833334.062},{"time":1508256600,"server":"us1","hashrate":3632324388888.8813},{"time":1508256600,"server":"us2","hashrate":1438344444444.4417},{"time":1508257200,"server":"asia1","hashrate":7239133166666.78},{"time":1508257200,"server":"eu1","hashrate":16937901000000.799},{"time":1508257200,"server":"us1","hashrate":3627279777777.77},{"time":1508257200,"server":"us2","hashrate":1429962777777.772},{"time":1508257800,"server":"asia1","hashrate":7238208222222.339},{"time":1508257800,"server":"eu1","hashrate":16897026444445.47},{"time":1508257800,"server":"us1","hashrate":3616631111111.1274},{"time":1508257800,"server":"us2","hashrate":1425658055555.553}]}'
65
+ http_version:
66
+ recorded_at: Tue, 17 Oct 2017 16:47:04 GMT
67
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,67 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.ethermine.org/poolStats
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.13.1
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - "*/*"
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Date:
22
+ - Sun, 15 Oct 2017 18:54:13 GMT
23
+ Content-Type:
24
+ - application/json; charset=utf-8
25
+ Transfer-Encoding:
26
+ - chunked
27
+ Connection:
28
+ - keep-alive
29
+ Set-Cookie:
30
+ - __cfduid=df5b3dc0fdccf69dc8541a61694f96dcc1508093653; expires=Mon, 15-Oct-18
31
+ 18:54:13 GMT; path=/; domain=.ethermine.org; HttpOnly
32
+ X-Dns-Prefetch-Control:
33
+ - 'off'
34
+ X-Frame-Options:
35
+ - SAMEORIGIN
36
+ Strict-Transport-Security:
37
+ - max-age=15552000; includeSubDomains
38
+ X-Download-Options:
39
+ - noopen
40
+ X-Content-Type-Options:
41
+ - nosniff
42
+ X-Xss-Protection:
43
+ - 1; mode=block
44
+ X-Ratelimit-Limit:
45
+ - '100'
46
+ X-Ratelimit-Remaining:
47
+ - '99'
48
+ Access-Control-Allow-Origin:
49
+ - "*"
50
+ Cache-Control:
51
+ - max-age=300
52
+ Etag:
53
+ - W/"75e-ZsE0Dy75sVWmWELDatCn43VWlWo"
54
+ Apicache-Store:
55
+ - redis
56
+ Apicache-Version:
57
+ - 0.8.7
58
+ Server:
59
+ - cloudflare-nginx
60
+ Cf-Ray:
61
+ - 3ae4fc55bc323fdd-YUL
62
+ body:
63
+ encoding: ASCII-8BIT
64
+ string: '{"status":"OK","data":{"minedBlocks":[{"number":4368733,"miner":"a564fb0e9955c078de73dd087ae9ac92fcbc37af","time":1508093566},{"number":4368730,"miner":"d060904aa97c021ec31c8a502a8b2443f51a38bd","time":1508093522},{"number":4368725,"miner":"558d2E1a5786848DFC24080AfF7928dA1c7D5C3a","time":1508093365},{"number":4368720,"miner":"22819dc76677906abb0a6a52b5d2616db5b963e7","time":1508093248},{"number":4368719,"miner":"fe11f84D3f16b5d3c498f21EdA7F0ceF433317a1","time":1508093239},{"number":4368719,"miner":"c7b6eaaf6ac19e52b6e15850e42c505f5a172e99","time":1508093234},{"number":4368716,"miner":"a07d590a6ac54193431c659606f4e5fb34111c96","time":1508093048},{"number":4368709,"miner":"3d158e5171a170d2928e7ab784ce16784f09064e","time":1508092927},{"number":4368708,"miner":"bb04a16fbdac6025d400fef8b8391e2c7be86f79","time":1508092891},{"number":4368707,"miner":"350A47Bd78B1E2809B79bedb783b35C0785E9d0c","time":1508092868}],"topMiners":[{"miner":"f1b3e00955d7cbcde70f4337e333cd84da3a1c36","hashRate":336530666666.6667},{"miner":"d060904aa97c021ec31c8a502a8b2443f51a38bd","hashRate":251461333333.33334},{"miner":"362c89a6d8a1597ff41eb03e1e897d0d95827c54","hashRate":135889388888.88887},{"miner":"a65f825e4f82c26aee244512cba7add256bc0788","hashRate":129276222222.22234},{"miner":"91d9479bcccc4580bd50e01013c4c698f6501541","hashRate":103267888888.88889},{"miner":"b7b03ce91e5826bd8d223b15dedbdb8ef4ddd4a8","hashRate":83082500000},{"miner":"482f7753b3d62c7d1fd0fdcb8fcc2d61704dfced","hashRate":80281833333.33331},{"miner":"58801ebec6685d0d5461a30999fa5df91549a59e","hashRate":79580277777.77768},{"miner":"43739fbedc4bef32829e6091a671d3237fb737db","hashRate":63216444444.44444},{"miner":"ccbd08939e32564544827f37d6f65282ca2bae61","hashRate":59486944444.44445}],"poolStats":{"hashRate":26477276722223.74,"miners":62918,"workers":212810,"blocksPerHour":30.54},"price":{"usd":328.18,"btc":0.05952}}}'
65
+ http_version:
66
+ recorded_at: Sun, 15 Oct 2017 18:54:13 GMT
67
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,12 @@
1
+ require "ethermine_api/version"
2
+ require "ethermine_api/default_parser"
3
+ require "ethermine_api/connection"
4
+ require "ethermine_api/pool"
5
+ require "ethermine_api/worker"
6
+ require "ethermine_api/miner"
7
+
8
+ module EthermineApi
9
+ def self.connection base_url='https://api.ethermine.org'
10
+ Connection.new(base_url)
11
+ end
12
+ end
@@ -0,0 +1,19 @@
1
+ require 'faraday'
2
+
3
+ module EthermineApi
4
+ class Connection
5
+ attr_accessor :base_url
6
+
7
+ def initialize(base_url=nil)
8
+ self.base_url = base_url || "https://api.ethermine.org"
9
+ end
10
+
11
+ def default_connection
12
+ self.new
13
+ end
14
+
15
+ def call(endpoint)
16
+ Faraday.get("#{self.base_url}/#{endpoint}")
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,12 @@
1
+ require 'json'
2
+
3
+ module EthermineApi
4
+ class DefaultParser
5
+ class << self
6
+ def parse response
7
+ j_response = JSON.parse(response.body, object_class: OpenStruct)
8
+ OpenStruct.new(j_response)
9
+ end
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,45 @@
1
+ module EthermineApi
2
+ class Miner
3
+ class << self
4
+ def rounds options={}
5
+ DefaultParser.parse(
6
+ EthermineApi.connection(options[:base_url]).call(
7
+ "miner/#{options[:id]}/rounds"
8
+ )
9
+ )
10
+ end
11
+
12
+ def payouts options={}
13
+ DefaultParser.parse(
14
+ EthermineApi.connection(options[:base_url]).call(
15
+ "miner/#{options[:id]}/payouts"
16
+ )
17
+ )
18
+ end
19
+
20
+ def history options={}
21
+ DefaultParser.parse(
22
+ EthermineApi.connection(options[:base_url]).call(
23
+ "miner/#{options[:id]}/history"
24
+ )
25
+ )
26
+ end
27
+
28
+ def stats options={}
29
+ DefaultParser.parse(
30
+ EthermineApi.connection(options[:base_url]).call(
31
+ "miner/#{options[:id]}/currentStats"
32
+ )
33
+ )
34
+ end
35
+
36
+ def settings options={}
37
+ DefaultParser.parse(
38
+ EthermineApi.connection(options[:base_url]).call(
39
+ "miner/#{options[:id]}/settings"
40
+ )
41
+ )
42
+ end
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,35 @@
1
+ module EthermineApi
2
+ class Pool
3
+ class << self
4
+ def pool_stats options={}
5
+ DefaultParser.parse(
6
+ EthermineApi.connection(options[:base_url]).call("poolStats")
7
+ )
8
+ end
9
+
10
+ def credits options={}
11
+ DefaultParser.parse(
12
+ EthermineApi.connection(options[:base_url]).call("credits")
13
+ )
14
+ end
15
+
16
+ def blocks_history options={}
17
+ DefaultParser.parse(
18
+ EthermineApi.connection(options[:base_url]).call("blocks/history")
19
+ )
20
+ end
21
+
22
+ def network_stats options={}
23
+ DefaultParser.parse(
24
+ EthermineApi.connection(options[:base_url]).call("networkStats")
25
+ )
26
+ end
27
+
28
+ def servers_history options={}
29
+ DefaultParser.parse(
30
+ EthermineApi.connection(options[:base_url]).call("servers/history")
31
+ )
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,3 @@
1
+ module EthermineApi
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,29 @@
1
+ module EthermineApi
2
+ class Worker
3
+ class << self
4
+ def all options={}
5
+ DefaultParser.parse(
6
+ EthermineApi.connection(options[:base_url]).call(
7
+ "miner/#{options[:miner_id]}/workers"
8
+ )
9
+ )
10
+ end
11
+
12
+ def history options={}
13
+ DefaultParser.parse(
14
+ EthermineApi.connection(options[:base_url]).call(
15
+ "miner/#{options[:miner_id]}/worker/#{options[:id]}/history"
16
+ )
17
+ )
18
+ end
19
+
20
+ def stats options={}
21
+ DefaultParser.parse(
22
+ EthermineApi.connection(options[:base_url]).call(
23
+ "miner/#{options[:miner_id]}/worker/#{options[:id]}/currentStats"
24
+ )
25
+ )
26
+ end
27
+ end
28
+ end
29
+ end
metadata ADDED
@@ -0,0 +1,175 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ethermine_api
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Nathan MacInnes
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-10-18 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.15'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.15'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: vcr
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: webmock
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.1'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.1'
83
+ - !ruby/object:Gem::Dependency
84
+ name: faraday
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0.13'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '0.13'
97
+ - !ruby/object:Gem::Dependency
98
+ name: json
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '2.1'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '2.1'
111
+ description:
112
+ email:
113
+ - natemacinnes@me.com
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - ".gitignore"
119
+ - ".rspec"
120
+ - ".travis.yml"
121
+ - CODE_OF_CONDUCT.md
122
+ - Gemfile
123
+ - LICENSE.txt
124
+ - README.md
125
+ - Rakefile
126
+ - bin/console
127
+ - bin/setup
128
+ - ethermine_api.gemspec
129
+ - fixtures/vcr_cassettes/miner
130
+ - fixtures/vcr_cassettes/minerHistory.yml
131
+ - fixtures/vcr_cassettes/minerPayouts.yml
132
+ - fixtures/vcr_cassettes/minerRounds.yml
133
+ - fixtures/vcr_cassettes/minerSettings.yml
134
+ - fixtures/vcr_cassettes/minerStatistics.yml
135
+ - fixtures/vcr_cassettes/minerWorkerHistory.yml
136
+ - fixtures/vcr_cassettes/minerWorkerStatistics.yml
137
+ - fixtures/vcr_cassettes/minerWorkers.yml
138
+ - fixtures/vcr_cassettes/poolBlocksHistory.yml
139
+ - fixtures/vcr_cassettes/poolCredits.yml
140
+ - fixtures/vcr_cassettes/poolNetworkStatistics.yml
141
+ - fixtures/vcr_cassettes/poolServersHistory.yml
142
+ - fixtures/vcr_cassettes/poolStats.yml
143
+ - lib/ethermine_api.rb
144
+ - lib/ethermine_api/connection.rb
145
+ - lib/ethermine_api/default_parser.rb
146
+ - lib/ethermine_api/miner.rb
147
+ - lib/ethermine_api/pool.rb
148
+ - lib/ethermine_api/version.rb
149
+ - lib/ethermine_api/worker.rb
150
+ homepage: https://ethermine.org
151
+ licenses:
152
+ - MIT
153
+ metadata:
154
+ allowed_push_host: https://rubygems.org
155
+ post_install_message:
156
+ rdoc_options: []
157
+ require_paths:
158
+ - lib
159
+ required_ruby_version: !ruby/object:Gem::Requirement
160
+ requirements:
161
+ - - ">="
162
+ - !ruby/object:Gem::Version
163
+ version: '0'
164
+ required_rubygems_version: !ruby/object:Gem::Requirement
165
+ requirements:
166
+ - - ">="
167
+ - !ruby/object:Gem::Version
168
+ version: '0'
169
+ requirements: []
170
+ rubyforge_project:
171
+ rubygems_version: 2.6.8
172
+ signing_key:
173
+ specification_version: 4
174
+ summary: Light wieght ruby ethermine API wrapper.
175
+ test_files: []