ethermine_api 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,61 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.ethermine.org/miner/703a08bd7ee10d5f34950527ea957afd818e82a7/settings
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
+ - Wed, 18 Oct 2017 00:31:56 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=d4724b5705746051725f2a3aa2f2e8e9e1508286716; expires=Thu, 18-Oct-18
31
+ 00:31:56 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
+ - '95'
48
+ Access-Control-Allow-Origin:
49
+ - "*"
50
+ Etag:
51
+ - W/"20-H3hK+JIpn9hLQFogpRG3cg4tPZc"
52
+ Server:
53
+ - cloudflare-nginx
54
+ Cf-Ray:
55
+ - 3af765c72b411864-EWR
56
+ body:
57
+ encoding: ASCII-8BIT
58
+ string: '{"status":"OK","data":"NO DATA"}'
59
+ http_version:
60
+ recorded_at: Wed, 18 Oct 2017 00:31:56 GMT
61
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,63 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.ethermine.org/miner/703a08bd7ee10d5f34950527ea957afd818e82a7/currentStats
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
+ - Wed, 18 Oct 2017 00:34:31 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=db16d7aaaec0e28f53b103c9cb4baa8ef1508286870; expires=Thu, 18-Oct-18
31
+ 00:34:30 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
+ - '91'
48
+ Access-Control-Allow-Origin:
49
+ - "*"
50
+ Cache-Control:
51
+ - max-age=120
52
+ Etag:
53
+ - W/"17e-ulQY1fxTeZKJYmHIeCGxhcGunp8"
54
+ Server:
55
+ - cloudflare-nginx
56
+ Cf-Ray:
57
+ - 3af7698e7dbf91b2-EWR
58
+ body:
59
+ encoding: ASCII-8BIT
60
+ string: '{"status":"OK","data":{"time":1508286600,"lastSeen":1508286591,"reportedHashrate":0,"currentHashrate":252388888.8888889,"validShares":220,"invalidShares":0,"staleShares":11,"averageHashrate":207878952.1228546,"activeWorkers":3,"unpaid":360562059249128900,"unconfirmed":null,"coinsPerMin":0.000024037560177154124,"usdPerMin":0.00756101455372383,"btcPerMin":0.0000013660545448676688}}'
61
+ http_version:
62
+ recorded_at: Wed, 18 Oct 2017 00:34:31 GMT
63
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,63 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.ethermine.org/miner/703a08bd7ee10d5f34950527ea957afd818e82a7/worker/bitty-balls/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
+ - Wed, 18 Oct 2017 00:29:25 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=d0c3046faede751555f5ffa2c8dcf1de51508286564; expires=Thu, 18-Oct-18
31
+ 00:29:24 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=120
52
+ Etag:
53
+ - W/"19-WVDTMPv25dUzWZ/slI5TgF2IHgo"
54
+ Server:
55
+ - cloudflare-nginx
56
+ Cf-Ray:
57
+ - 3af762164b559236-EWR
58
+ body:
59
+ encoding: ASCII-8BIT
60
+ string: '{"status":"OK","data":[]}'
61
+ http_version:
62
+ recorded_at: Wed, 18 Oct 2017 00:29:25 GMT
63
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,63 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.ethermine.org/miner/703a08bd7ee10d5f34950527ea957afd818e82a7/worker/bitty-balls/currentStats
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
+ - Wed, 18 Oct 2017 00:29:25 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=d09239a1d67c1a5e9bb2edcfe74ad3b201508286565; expires=Thu, 18-Oct-18
31
+ 00:29:25 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=120
52
+ Etag:
53
+ - W/"20-H3hK+JIpn9hLQFogpRG3cg4tPZc"
54
+ Server:
55
+ - cloudflare-nginx
56
+ Cf-Ray:
57
+ - 3af762190fa6215c-EWR
58
+ body:
59
+ encoding: ASCII-8BIT
60
+ string: '{"status":"OK","data":"NO DATA"}'
61
+ http_version:
62
+ recorded_at: Wed, 18 Oct 2017 00:29:25 GMT
63
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,63 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.ethermine.org/miner/703a08bd7ee10d5f34950527ea957afd818e82a7/workers
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
+ - Wed, 18 Oct 2017 00:29:25 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=db58aab8e25c26ed068d2b32d0321aa471508286565; expires=Thu, 18-Oct-18
31
+ 00:29:25 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
+ - '97'
48
+ Access-Control-Allow-Origin:
49
+ - "*"
50
+ Cache-Control:
51
+ - max-age=120
52
+ Etag:
53
+ - W/"28f-HhA4kpQY1YoWD9SFxXG5Y1J47no"
54
+ Server:
55
+ - cloudflare-nginx
56
+ Cf-Ray:
57
+ - 3af7621afd9d920c-EWR
58
+ body:
59
+ encoding: ASCII-8BIT
60
+ string: '{"status":"OK","data":[{"worker":"bitty-balls","time":1508286000,"lastSeen":1508285995,"reportedHashrate":0,"currentHashrate":118055555.55555555,"validShares":103,"invalidShares":0,"staleShares":5,"averageHashrate":128274647.88732386},{"worker":"bitty-booge","time":1508286000,"lastSeen":1508285986,"reportedHashrate":0,"currentHashrate":95833333.33333333,"validShares":83,"invalidShares":0,"staleShares":5,"averageHashrate":86929783.95061728},{"worker":"bitty-boosh","time":1508286000,"lastSeen":1508285992,"reportedHashrate":0,"currentHashrate":33666666.666666664,"validShares":29,"invalidShares":0,"staleShares":2,"averageHashrate":24534428.79499217}]}'
61
+ http_version:
62
+ recorded_at: Wed, 18 Oct 2017 00:29:25 GMT
63
+ 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/blocks/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=d4448dd2f7b8e721e3462b625a0d334111508258825; 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/"670-oQF+tEh48neOz+j9Gg4ov3Mz4ic"
54
+ Apicache-Store:
55
+ - redis
56
+ Apicache-Version:
57
+ - 0.8.7
58
+ Server:
59
+ - cloudflare-nginx
60
+ Cf-Ray:
61
+ - 3af4bcd8ebae3fb3-YUL
62
+ body:
63
+ encoding: ASCII-8BIT
64
+ string: '{"status":"OK","data":[{"time":1508173116,"nbrBlocks":6,"difficulty":1500851769972565},{"time":1508176754,"nbrBlocks":71,"difficulty":1490565102661709},{"time":1508180255,"nbrBlocks":63,"difficulty":1485411233184469},{"time":1508183963,"nbrBlocks":69,"difficulty":1482345151336005},{"time":1508187588,"nbrBlocks":67,"difficulty":1472940408912663},{"time":1508191076,"nbrBlocks":83,"difficulty":1498876631868662},{"time":1508194764,"nbrBlocks":67,"difficulty":1521695354212893},{"time":1508198352,"nbrBlocks":73,"difficulty":1511254695943273},{"time":1508201976,"nbrBlocks":79,"difficulty":1525952028552532},{"time":1508205494,"nbrBlocks":76,"difficulty":1528069500244988},{"time":1508209183,"nbrBlocks":65,"difficulty":1514605530994033},{"time":1508212736,"nbrBlocks":71,"difficulty":1487401995078489},{"time":1508216246,"nbrBlocks":76,"difficulty":1498157811667782},{"time":1508219985,"nbrBlocks":65,"difficulty":1495924338718297},{"time":1508223454,"nbrBlocks":77,"difficulty":1470413115601682},{"time":1508227187,"nbrBlocks":65,"difficulty":1460372702365663},{"time":1508230751,"nbrBlocks":70,"difficulty":1460910425240631},{"time":1508234363,"nbrBlocks":75,"difficulty":1456608509189655},{"time":1508237945,"nbrBlocks":67,"difficulty":1423382928506978},{"time":1508241532,"nbrBlocks":52,"difficulty":1425447900135137},{"time":1508245190,"nbrBlocks":63,"difficulty":1400461436689854},{"time":1508248720,"nbrBlocks":76,"difficulty":1410667703939148},{"time":1508252389,"nbrBlocks":71,"difficulty":1409925035518444},{"time":1508255870,"nbrBlocks":71,"difficulty":1389940935574532},{"time":1508258708,"nbrBlocks":59,"difficulty":1398048656259070}]}'
65
+ http_version:
66
+ recorded_at: Tue, 17 Oct 2017 16:47:04 GMT
67
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,63 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.ethermine.org/credits
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:43:44 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=ddf8c78a1926c0b66b87dc33264c31c261508258624; expires=Wed, 17-Oct-18
31
+ 16:43:44 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/"19-WVDTMPv25dUzWZ/slI5TgF2IHgo"
54
+ Server:
55
+ - cloudflare-nginx
56
+ Cf-Ray:
57
+ - 3af4b7f04de53f89-YUL
58
+ body:
59
+ encoding: ASCII-8BIT
60
+ string: '{"status":"OK","data":[]}'
61
+ http_version:
62
+ recorded_at: Tue, 17 Oct 2017 16:43:43 GMT
63
+ recorded_with: VCR 3.0.3