coingecko_ruby 0.2.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby.yml +31 -0
  3. data/.gitignore +11 -0
  4. data/.travis.yml +6 -0
  5. data/CHANGELOG.md +44 -0
  6. data/Gemfile +16 -0
  7. data/Gemfile.lock +37 -0
  8. data/README.md +7 -5
  9. data/bin/console +14 -0
  10. data/bin/setup +8 -0
  11. data/coingecko_ruby.gemspec +5 -5
  12. data/fixtures/vcr_cassettes/test_that_it_gets_a_coins_complete_current_data.yml +74 -0
  13. data/fixtures/vcr_cassettes/test_that_it_gets_a_coins_tickers.yml +99 -0
  14. data/fixtures/vcr_cassettes/test_that_it_gets_a_derivative_exchange.yml +71 -0
  15. data/fixtures/vcr_cassettes/test_that_it_gets_a_specific_exchange_ticker_from_an_exchange.yml +145 -0
  16. data/fixtures/vcr_cassettes/test_that_it_gets_btc_to_eth_exchange_rate.yml +120 -0
  17. data/fixtures/vcr_cassettes/test_that_it_gets_btc_to_usd_exchange_rate.yml +122 -0
  18. data/fixtures/vcr_cassettes/test_that_it_gets_complete_data_for_an_exchange.yml +72 -0
  19. data/fixtures/vcr_cassettes/test_that_it_gets_daily_historical_prices_for_one_coin.yml +120 -0
  20. data/fixtures/vcr_cassettes/test_that_it_gets_derivative_exchanges.yml +79 -0
  21. data/fixtures/vcr_cassettes/test_that_it_gets_derivatives.yml +1732 -0
  22. data/fixtures/vcr_cassettes/test_that_it_gets_derivatives_exchanges_ids_and_names.yml +95 -0
  23. data/fixtures/vcr_cassettes/test_that_it_gets_event_countries.yml +76 -0
  24. data/fixtures/vcr_cassettes/test_that_it_gets_event_types.yml +71 -0
  25. data/fixtures/vcr_cassettes/test_that_it_gets_exchange_ids_supported_by_coingecko.yml +159 -0
  26. data/fixtures/vcr_cassettes/test_that_it_gets_exchange_tickers_from_an_exchange.yml +78 -0
  27. data/fixtures/vcr_cassettes/test_that_it_gets_finance_platforms.yml +95 -0
  28. data/fixtures/vcr_cassettes/test_that_it_gets_finance_products.yml +100 -0
  29. data/fixtures/vcr_cassettes/test_that_it_gets_global_crypto_data.yml +71 -0
  30. data/fixtures/vcr_cassettes/test_that_it_gets_global_defi_data.yml +71 -0
  31. data/fixtures/vcr_cassettes/test_that_it_gets_historical_price_for_one_coin_at_a_previous_date.yml +173 -0
  32. data/fixtures/vcr_cassettes/test_that_it_gets_hourly_historical_prices_for_one_coin.yml +120 -0
  33. data/fixtures/vcr_cassettes/test_that_it_gets_indexes.yml +127 -0
  34. data/fixtures/vcr_cassettes/test_that_it_gets_indexes_by_market_id_and_coin_id.yml +66 -0
  35. data/fixtures/vcr_cassettes/test_that_it_gets_indexes_by_market_id_and_index_id.yml +71 -0
  36. data/fixtures/vcr_cassettes/test_that_it_gets_indexes_ids.yml +630 -0
  37. data/fixtures/vcr_cassettes/test_that_it_gets_last_7_days_exchange_volume_from_an_exchange.yml +120 -0
  38. data/fixtures/vcr_cassettes/test_that_it_gets_market_data_for_a_coin.yml +169 -0
  39. data/fixtures/vcr_cassettes/test_that_it_gets_market_data_for_a_coin_in_myr.yml +120 -0
  40. data/fixtures/vcr_cassettes/test_that_it_gets_market_data_for_multiple_coins_in_eth.yml +120 -0
  41. data/fixtures/vcr_cassettes/test_that_it_gets_minutely_historical_prices_for_one_coin.yml +188 -0
  42. data/fixtures/vcr_cassettes/test_that_it_gets_ohlc_data_for_one_coin_in_the_last_30_days_in_myr.yml +120 -0
  43. data/fixtures/vcr_cassettes/test_that_it_gets_ohlc_data_for_one_coin_in_the_last_7_days.yml +120 -0
  44. data/fixtures/vcr_cassettes/test_that_it_gets_price_for_multiple_coins.yml +71 -0
  45. data/fixtures/vcr_cassettes/test_that_it_gets_price_for_multiple_coins_in_different_currencies.yml +71 -0
  46. data/fixtures/vcr_cassettes/test_that_it_gets_price_for_one_coin.yml +122 -0
  47. data/fixtures/vcr_cassettes/test_that_it_gets_price_for_one_coin_in_a_different_currency.yml +120 -0
  48. data/fixtures/vcr_cassettes/test_that_it_gets_simple_price_for_one_coin.yml +73 -0
  49. data/fixtures/vcr_cassettes/test_that_it_gets_status_updates.yml +79 -0
  50. data/fixtures/vcr_cassettes/test_that_it_gets_status_updates_for_an_exchange.yml +76 -0
  51. data/fixtures/vcr_cassettes/test_that_it_gets_the_list_of_asset_platforms.yml +80 -0
  52. data/fixtures/vcr_cassettes/test_that_it_gets_the_list_of_categories.yml +114 -0
  53. data/fixtures/vcr_cassettes/test_that_it_gets_the_list_of_categories_with_market_data.yml +100 -0
  54. data/fixtures/vcr_cassettes/test_that_it_gets_the_list_of_supported_coins.yml +143 -0
  55. data/fixtures/vcr_cassettes/test_that_it_gets_the_list_of_supported_exchanges.yml +79 -0
  56. data/fixtures/vcr_cassettes/test_that_it_gets_the_list_supported_coins.yml +74 -0
  57. data/fixtures/vcr_cassettes/test_that_it_gets_trending_searches.yml +77 -0
  58. data/lib/coingecko_ruby/client.rb +16 -0
  59. data/lib/coingecko_ruby/client/categories.rb +42 -363
  60. data/lib/coingecko_ruby/client/coins.rb +32 -31
  61. data/lib/coingecko_ruby/client/derivatives.rb +154 -0
  62. data/lib/coingecko_ruby/client/events.rb +84 -0
  63. data/lib/coingecko_ruby/client/exchanges.rb +51 -1458
  64. data/lib/coingecko_ruby/client/finance.rb +100 -0
  65. data/lib/coingecko_ruby/client/indexes.rb +88 -0
  66. data/lib/coingecko_ruby/client/infos.rb +174 -0
  67. data/lib/coingecko_ruby/client/prices.rb +85 -269
  68. data/lib/coingecko_ruby/client/status.rb +1 -1
  69. data/lib/coingecko_ruby/connection.rb +5 -9
  70. data/lib/coingecko_ruby/version.rb +1 -1
  71. metadata +60 -2
@@ -0,0 +1,95 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.coingecko.com/api/v3/finance_platforms
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ Host:
17
+ - api.coingecko.com
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Date:
24
+ - Tue, 18 May 2021 14:01:15 GMT
25
+ Content-Type:
26
+ - application/json; charset=utf-8
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Connection:
30
+ - keep-alive
31
+ Per-Page:
32
+ - '50'
33
+ Total:
34
+ - '21'
35
+ Cache-Control:
36
+ - public, max-age=60
37
+ Access-Control-Allow-Origin:
38
+ - "*"
39
+ Access-Control-Allow-Methods:
40
+ - POST, PUT, DELETE, GET, OPTIONS
41
+ Access-Control-Request-Method:
42
+ - "*"
43
+ Access-Control-Allow-Headers:
44
+ - Origin, X-Requested-With, Content-Type, Accept, Authorization
45
+ Access-Control-Expose-Headers:
46
+ - link, per-page, total
47
+ Vary:
48
+ - Accept-Encoding, Origin
49
+ Etag:
50
+ - W/"171007ea8f6b7a4b07936eb8d4f658ea"
51
+ X-Request-Id:
52
+ - 0dcc3d69-ad9d-4695-aba4-9d86a13cc804
53
+ X-Runtime:
54
+ - '0.464720'
55
+ Alternate-Protocol:
56
+ - 443:npn-spdy/2
57
+ Cf-Cache-Status:
58
+ - EXPIRED
59
+ Expires:
60
+ - Tue, 18 May 2021 14:02:15 GMT
61
+ Cf-Request-Id:
62
+ - 0a2160f1c90000d96e22894000000001
63
+ Expect-Ct:
64
+ - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
65
+ Server:
66
+ - cloudflare
67
+ Cf-Ray:
68
+ - 65159dc94a33d96e-HKG
69
+ Alt-Svc:
70
+ - h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400
71
+ body:
72
+ encoding: ASCII-8BIT
73
+ string: '[{"name":"Binance Staking","facts":"","category":"CeFi Platform","centralized":true,"website_url":"https://www.binance.com/en/staking"},{"name":"Celsius
74
+ Network","facts":"","category":"CeFi Platform","centralized":true,"website_url":"https://celsius.network/"},{"name":"Cobo","facts":"","category":"CeFi
75
+ Platform","centralized":true,"website_url":"https://cobo.com/"},{"name":"Dai
76
+ Savings Rate","facts":"","category":"DeFi Platform","centralized":false,"website_url":"https://oasis.app/save"},{"name":"dYdX","facts":"","category":"DeFi
77
+ Platform","centralized":false,"website_url":"https://dydx.exchange/"},{"name":"Idle
78
+ Finance","facts":"","category":"DeFi Platform","centralized":false,"website_url":"https://idle.finance/#/"},{"name":"Staked
79
+ US","facts":"","category":"CeFi Platform","centralized":true,"website_url":"https://staked.us/"},{"name":"Crypto.com","facts":"","category":"CeFi
80
+ Platform","centralized":true,"website_url":"https://crypto.com/en/"},{"name":"Aave","facts":"","category":"DeFi
81
+ Platform","centralized":false,"website_url":"https://aave.com/"},{"name":"Nexo","facts":"","category":"CeFi
82
+ Platform","centralized":true,"website_url":"https://nexo.io/"},{"name":"Inlock","facts":"","category":"CeFi
83
+ Platform","centralized":true,"website_url":"https://inlock.io/"},{"name":"Bitfinex","facts":"","category":"CeFi
84
+ Platform","centralized":true,"website_url":"https://www.bitfinex.com"},{"name":"Compound
85
+ Finance","facts":"","category":"DeFi Platform","centralized":false,"website_url":"https://compound.finance/"},{"name":"Fulcrum","facts":"","category":"DeFi
86
+ Platform","centralized":false,"website_url":"https://fulcrum.trade/lending"},{"name":"Binance
87
+ Savings","facts":"","category":"CeFi Platform","centralized":true,"website_url":"https://www.binance.com/en/lending"},{"name":"CILIO
88
+ Finance","facts":"","category":"CeFi Platform","centralized":true,"website_url":"https://www.ciliofi.com/"},{"name":"Swissborg","facts":"","category":"CeFi
89
+ Platform","centralized":true,"website_url":"https://swissborg.com/"},{"name":"Vauld","facts":"","category":"CeFi
90
+ Platform","centralized":true,"website_url":"https://vauld.com/"},{"name":"Yearn
91
+ Finance Vaults","facts":"","category":"DeFi Platform","centralized":false,"website_url":"https://yearn.finance/vaults"},{"name":"DDEX
92
+ Lending","facts":"","category":"DeFi Platform","centralized":false,"website_url":"https://ddex.io/loans"},{"name":"Hodlnaut","facts":"","category":"CeFi
93
+ Platform","centralized":true,"website_url":"https://www.hodlnaut.com/"}]'
94
+ recorded_at: Tue, 18 May 2021 14:01:15 GMT
95
+ recorded_with: VCR 6.0.0
@@ -0,0 +1,100 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.coingecko.com/api/v3/finance_products
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ Host:
17
+ - api.coingecko.com
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Date:
24
+ - Tue, 18 May 2021 14:01:16 GMT
25
+ Content-Type:
26
+ - application/json; charset=utf-8
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Connection:
30
+ - keep-alive
31
+ Link:
32
+ - <https://api.coingecko.com/api/v3/finance_products?page=9>; rel="last", <https://api.coingecko.com/api/v3/finance_products?page=2>;
33
+ rel="next"
34
+ Per-Page:
35
+ - '50'
36
+ Total:
37
+ - '410'
38
+ Cache-Control:
39
+ - public, max-age=60
40
+ Access-Control-Allow-Origin:
41
+ - "*"
42
+ Access-Control-Allow-Methods:
43
+ - POST, PUT, DELETE, GET, OPTIONS
44
+ Access-Control-Request-Method:
45
+ - "*"
46
+ Access-Control-Allow-Headers:
47
+ - Origin, X-Requested-With, Content-Type, Accept, Authorization
48
+ Access-Control-Expose-Headers:
49
+ - link, per-page, total
50
+ Vary:
51
+ - Accept-Encoding, Origin
52
+ Etag:
53
+ - W/"69a67c2b4a8820497b18986068766cd0"
54
+ X-Request-Id:
55
+ - e92e0091-456f-4892-83f6-71cb9fa9fcd9
56
+ X-Runtime:
57
+ - '0.137892'
58
+ Alternate-Protocol:
59
+ - 443:npn-spdy/2
60
+ Cf-Cache-Status:
61
+ - MISS
62
+ Expires:
63
+ - Tue, 18 May 2021 14:02:16 GMT
64
+ Cf-Request-Id:
65
+ - 0a2160f98a0000199f7c901000000001
66
+ Expect-Ct:
67
+ - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
68
+ Server:
69
+ - cloudflare
70
+ Cf-Ray:
71
+ - 65159dd5a89b199f-HKG
72
+ Alt-Svc:
73
+ - h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400
74
+ body:
75
+ encoding: ASCII-8BIT
76
+ string: '[{"platform":"Binance Savings","identifier":"XTZ001","supply_rate_percentage":"1.956035","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Binance
77
+ Savings","identifier":"ZEC001","supply_rate_percentage":"0.182865","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Crypto.com","identifier":"BAT","supply_rate_percentage":"2.0","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Binance
78
+ Savings","identifier":"UNI001","supply_rate_percentage":"1.0001","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Bitfinex","identifier":"fXTZ","supply_rate_percentage":"0.0055","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"dYdX","identifier":"DAI","supply_rate_percentage":"6.53095630521803","borrow_rate_percentage":"11.7257761290384","number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Nexo","identifier":"USDT","supply_rate_percentage":"12.0","borrow_rate_percentage":"5.9","number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Binance
79
+ Staking","identifier":"ALGO","supply_rate_percentage":"9.0","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":1564185600,"end_at":1893369600,"value_at":0,"redeem_at":0},{"platform":"Binance
80
+ Savings","identifier":"WAVES001","supply_rate_percentage":"5.000135","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Nexo","identifier":"BTC","supply_rate_percentage":"8.0","borrow_rate_percentage":"5.9","number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Vauld","identifier":"USDC","supply_rate_percentage":"12.0","borrow_rate_percentage":"13.0","number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Nexo","identifier":"EUR","supply_rate_percentage":"12.0","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Fulcrum","identifier":"dai","supply_rate_percentage":"26.8095712637452","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Nexo","identifier":"ETH","supply_rate_percentage":"8.0","borrow_rate_percentage":"5.9","number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Fulcrum","identifier":"usdt","supply_rate_percentage":"13.9084587341806","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Aave","identifier":"WBTC","supply_rate_percentage":"0.0247796768040586","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Binance
81
+ Staking","identifier":"TRX","supply_rate_percentage":"8.0","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":1569888000,"end_at":1893369600,"value_at":0,"redeem_at":0},{"platform":"Binance
82
+ Staking","identifier":"ARPA","supply_rate_percentage":"5.5","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":1583452800,"end_at":1893369600,"value_at":0,"redeem_at":0},{"platform":"Binance
83
+ Staking","identifier":"THETA","supply_rate_percentage":"1.5","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":1579737600,"end_at":1893369600,"value_at":0,"redeem_at":0},{"platform":"Aave","identifier":"ETH","supply_rate_percentage":"0.00251293229910618","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Aave","identifier":"UNI","supply_rate_percentage":"0.0","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Bitfinex","identifier":"fETP","supply_rate_percentage":"4.0579","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Bitfinex","identifier":"fLINK","supply_rate_percentage":"0.1015","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Celsius
84
+ Network","identifier":"COMP","supply_rate_percentage":"4.5","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Celsius
85
+ Network","identifier":"ZUSD","supply_rate_percentage":"9.54","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Binance
86
+ Staking","identifier":"ONT","supply_rate_percentage":"4.0","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":1530921600,"end_at":1893369600,"value_at":0,"redeem_at":0},{"platform":"Bitfinex","identifier":"fFIL","supply_rate_percentage":"0.0631","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Binance
87
+ Staking","identifier":"NEO","supply_rate_percentage":"2.0","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":1500508800,"end_at":1885420800,"value_at":0,"redeem_at":0},{"platform":"Inlock","identifier":"UNI","supply_rate_percentage":"2.88","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Binance
88
+ Savings","identifier":"CCOCOS7DAYSS001","supply_rate_percentage":"4.0","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"DDEX
89
+ Lending","identifier":"USDT","supply_rate_percentage":"6.73694065509343","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Binance
90
+ Savings","identifier":"VET001","supply_rate_percentage":"1.10376","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Celsius
91
+ Network","identifier":"LEO","supply_rate_percentage":"0.0","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Bitfinex","identifier":"fEOS","supply_rate_percentage":"35.0252","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Inlock","identifier":"LINK","supply_rate_percentage":"3.96","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Swissborg","identifier":"USDC","supply_rate_percentage":"13.9788703873735","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Swissborg","identifier":"CHSB","supply_rate_percentage":"9.98589925039355","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Swissborg","identifier":"BTC","supply_rate_percentage":"6.2980232111282","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Swissborg","identifier":"ETH","supply_rate_percentage":"6.999908311496","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Staked
92
+ US","identifier":"Cardano","supply_rate_percentage":"5.8","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Staked
93
+ US","identifier":"Solana","supply_rate_percentage":"11.53","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Binance
94
+ Savings","identifier":"XMR001","supply_rate_percentage":"0.579985","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"CILIO
95
+ Finance","identifier":"ETH","supply_rate_percentage":"0.0","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Binance
96
+ Savings","identifier":"BAND30DAYSS001","supply_rate_percentage":"14.8","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"DDEX
97
+ Lending","identifier":"SAI","supply_rate_percentage":"0.0","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Binance
98
+ Savings","identifier":"FIL001","supply_rate_percentage":"2.23015","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Crypto.com","identifier":"PAX","supply_rate_percentage":"6.0","borrow_rate_percentage":"12.0","number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Crypto.com","identifier":"BNB","supply_rate_percentage":"2.0","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Vauld","identifier":"BUSD","supply_rate_percentage":"12.0","borrow_rate_percentage":"13.0","number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0},{"platform":"Fulcrum","identifier":"uni","supply_rate_percentage":"0.795924381468424","borrow_rate_percentage":null,"number_duration":null,"length_duration":null,"start_at":0,"end_at":0,"value_at":0,"redeem_at":0}]'
99
+ recorded_at: Tue, 18 May 2021 14:01:16 GMT
100
+ recorded_with: VCR 6.0.0
@@ -0,0 +1,71 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.coingecko.com/api/v3/global
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ Host:
17
+ - api.coingecko.com
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Date:
24
+ - Tue, 18 May 2021 14:01:12 GMT
25
+ Content-Type:
26
+ - application/json; charset=utf-8
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Connection:
30
+ - keep-alive
31
+ Access-Control-Allow-Origin:
32
+ - "*"
33
+ Access-Control-Allow-Methods:
34
+ - POST, PUT, DELETE, GET, OPTIONS
35
+ Access-Control-Request-Method:
36
+ - "*"
37
+ Access-Control-Allow-Headers:
38
+ - Origin, X-Requested-With, Content-Type, Accept, Authorization
39
+ Access-Control-Expose-Headers:
40
+ - link, per-page, total
41
+ Vary:
42
+ - Accept-Encoding, Origin
43
+ Etag:
44
+ - W/"862ef3a1f43fecff82cff94cf715abf0"
45
+ Cache-Control:
46
+ - public, max-age=60
47
+ X-Request-Id:
48
+ - e6f9c7c6-4f72-4da2-b34b-4120e1fdb427
49
+ X-Runtime:
50
+ - '0.017897'
51
+ Alternate-Protocol:
52
+ - 443:npn-spdy/2
53
+ Cf-Cache-Status:
54
+ - MISS
55
+ Expires:
56
+ - Tue, 18 May 2021 14:02:12 GMT
57
+ Cf-Request-Id:
58
+ - 0a2160e7e6000055c6b91c4000000001
59
+ Expect-Ct:
60
+ - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
61
+ Server:
62
+ - cloudflare
63
+ Cf-Ray:
64
+ - 65159db969b255c6-SIN
65
+ Alt-Svc:
66
+ - h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400
67
+ body:
68
+ encoding: ASCII-8BIT
69
+ string: '{"data":{"active_cryptocurrencies":7362,"upcoming_icos":0,"ongoing_icos":50,"ended_icos":3375,"markets":616,"total_market_cap":{"btc":48911294.139994755,"eth":626630318.119593,"ltc":6994100047.806554,"bch":1930653268.767838,"bnb":4159998252.0512457,"eos":229460145920.72662,"xrp":1334581944500.6667,"xlm":3225052351610.0156,"link":53242179197.96526,"dot":54856119765.645515,"yfi":30524009.642599214,"usd":2142953338976.9612,"aed":7871097615409.103,"ars":201766490769813.66,"aud":2748494092831.696,"bdt":181703501580683.06,"bhd":807169090565.7411,"bmd":2142953338976.9612,"brl":11276846212071.756,"cad":2580287256395.38,"chf":1921952704081.6077,"clp":1.52899720736006e+15,"cny":13766332249588.018,"czk":44601287844127.49,"dkk":13044587707973.887,"eur":1754219460333.1987,"gbp":1508671294939.8655,"hkd":16641950620394.51,"huf":614452583188081.6,"idr":3.065741191040524e+16,"ils":6998583448677.968,"inr":156529909407673.22,"jpy":233450122318141.88,"krw":2418938989265428.5,"kwd":644278921363.4214,"lkr":422142864070944.94,"mmk":3.338253692563912e+15,"mxn":42560568380093.09,"myr":8842896953288.418,"ngn":873232056099722.0,"nok":17565989957208.002,"nzd":2954483339587.5186,"php":102596824806642.88,"pkr":327535760061790.06,"pln":7929891683217.277,"rub":157952804709314.0,"sar":8036810054158.872,"sek":17754141260370.176,"sgd":2849431481004.1885,"thb":67288734843876.39,"try":17893017494455.953,"twd":59874112005109.58,"uah":59024934600239.836,"vef":214573917831.76312,"vnd":4.934691018563399e+16,"zar":30006971998192.285,"xdr":1486845315182.3865,"xag":75815203307.13182,"xau":1147701519.7558925,"bits":48911294139994.76,"sats":4.891129413999476e+15},"total_volume":{"btc":6631557.232387878,"eth":84960639.28027461,"ltc":948283531.8836839,"bch":261764442.60675263,"bnb":564026509.2179041,"eos":31110975838.627354,"xrp":180947094160.62537,"xlm":437263409672.50525,"link":7218753147.642554,"dot":7437576620.470937,"yfi":4138547.5576966167,"usd":290548797852.028,"aed":1067189802193.6659,"ars":27356177231548.168,"aud":372650043307.4688,"bdt":24635969897027.758,"bhd":109438691296.54071,"bmd":290548797852.028,"brl":1528952614546.345,"cad":349843996517.6699,"chf":260584790878.34644,"clp":207306567267421.75,"cny":1866485477401.4304,"czk":6047192129694.259,"dkk":1768628932833.6614,"eur":237842955372.87192,"gbp":204550711919.7955,"hkd":2256371456495.078,"huf":83309541152958.2,"idr":4.156634684390789e+15,"ils":948891406404.2275,"inr":21222849876889.105,"jpy":31651950214803.18,"krw":327967857547469.44,"kwd":87353496074.21196,"lkr":57235544725476.52,"mmk":452611626981377.7,"mxn":5770504543341.355,"myr":1198949614336.392,"ngn":118395729636722.9,"nok":2381655807580.0703,"nzd":400578755952.1974,"php":13910421458470.072,"pkr":44408396397905.195,"pln":1075161299011.5345,"rub":21415770792077.3,"sar":1089657650182.7681,"sek":2407165992031.4775,"sgd":386335472783.895,"thb":9123232252553.654,"try":2425995297425.0815,"twd":8117932830888.062,"uah":8002798511507.223,"vef":29092651128.923565,"vnd":6.690619516238612e+15,"zar":4068445860522.756,"xdr":201591472413.6728,"xag":10279279431.399263,"xau":155609219.66561082,"bits":6631557232387.878,"sats":663155723238787.8},"market_cap_percentage":{"btc":38.259132842486686,"eth":18.555868478228195,"bnb":3.7183165449671693,"xrp":3.4653227295636126,"ada":3.060792573051515,"doge":2.9510624870337234,"usdt":2.652530102969678,"dot":1.8165220265611126,"bch":0.9732382844468698,"ltc":0.9582886668174445},"market_cap_change_percentage_24h_usd":-0.9554088490358789,"updated_at":1621346159}}'
70
+ recorded_at: Tue, 18 May 2021 14:01:12 GMT
71
+ recorded_with: VCR 6.0.0
@@ -0,0 +1,71 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.coingecko.com/api/v3/global/decentralized_finance_defi
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ Host:
17
+ - api.coingecko.com
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Date:
24
+ - Tue, 18 May 2021 14:01:08 GMT
25
+ Content-Type:
26
+ - application/json; charset=utf-8
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Connection:
30
+ - keep-alive
31
+ Access-Control-Allow-Origin:
32
+ - "*"
33
+ Access-Control-Allow-Methods:
34
+ - POST, PUT, DELETE, GET, OPTIONS
35
+ Access-Control-Request-Method:
36
+ - "*"
37
+ Access-Control-Allow-Headers:
38
+ - Origin, X-Requested-With, Content-Type, Accept, Authorization
39
+ Access-Control-Expose-Headers:
40
+ - link, per-page, total
41
+ Vary:
42
+ - Accept-Encoding, Origin
43
+ Etag:
44
+ - W/"4ca71cfc8ad4cb6ab8ca1df0a35ca9b9"
45
+ Cache-Control:
46
+ - public, max-age=60
47
+ X-Request-Id:
48
+ - e9d9910a-55f7-4a30-bf27-4e6f4d0acc16
49
+ X-Runtime:
50
+ - '0.402924'
51
+ Alternate-Protocol:
52
+ - 443:npn-spdy/2
53
+ Cf-Cache-Status:
54
+ - MISS
55
+ Expires:
56
+ - Tue, 18 May 2021 14:02:08 GMT
57
+ Cf-Request-Id:
58
+ - 0a2160d53a00001252550a9000000001
59
+ Expect-Ct:
60
+ - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
61
+ Server:
62
+ - cloudflare
63
+ Cf-Ray:
64
+ - 65159d9b8e271252-HKG
65
+ Alt-Svc:
66
+ - h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400
67
+ body:
68
+ encoding: ASCII-8BIT
69
+ string: '{"data":{"defi_market_cap":"126209687895.026510664421836369","eth_market_cap":"397417477636.8047863806894481302","defi_to_eth_ratio":"31.757457836408512836828030372466536330023004286301041843566019","trading_volume_24h":"15401284643.97339021491159452764","defi_dominance":"5.8946472721221314944597989721592904300128622135909285","top_coin_name":"Uniswap","top_coin_defi_dominance":14.383511406201583}}'
70
+ recorded_at: Tue, 18 May 2021 14:01:08 GMT
71
+ recorded_with: VCR 6.0.0
@@ -0,0 +1,173 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.coingecko.com/api/v3/coins/bitcoin/history?date=30-12-2017
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ Host:
17
+ - api.coingecko.com
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Date:
24
+ - Sat, 15 May 2021 14:10:11 GMT
25
+ Content-Type:
26
+ - application/json; charset=utf-8
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Connection:
30
+ - keep-alive
31
+ Cache-Control:
32
+ - public, max-age=30
33
+ Access-Control-Allow-Origin:
34
+ - "*"
35
+ Access-Control-Allow-Methods:
36
+ - POST, PUT, DELETE, GET, OPTIONS
37
+ Access-Control-Request-Method:
38
+ - "*"
39
+ Access-Control-Allow-Headers:
40
+ - Origin, X-Requested-With, Content-Type, Accept, Authorization
41
+ Access-Control-Expose-Headers:
42
+ - link, per-page, total
43
+ Vary:
44
+ - Accept-Encoding, Origin
45
+ Etag:
46
+ - W/"4bded3cea18824cc134dc97fb3fa7eb8"
47
+ X-Request-Id:
48
+ - f1747093-e0a7-4209-96af-7862ec791d64
49
+ X-Runtime:
50
+ - '1.535539'
51
+ Alternate-Protocol:
52
+ - 443:npn-spdy/2
53
+ Cf-Cache-Status:
54
+ - MISS
55
+ Expires:
56
+ - Sat, 15 May 2021 14:10:41 GMT
57
+ Cf-Request-Id:
58
+ - 0a11f6069c0000d1d70e868000000001
59
+ Expect-Ct:
60
+ - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
61
+ Server:
62
+ - cloudflare
63
+ Cf-Ray:
64
+ - 64fcf2b74a34d1d7-HKG
65
+ Alt-Svc:
66
+ - h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400
67
+ body:
68
+ encoding: ASCII-8BIT
69
+ string: !binary |-
70
+ eyJpZCI6ImJpdGNvaW4iLCJzeW1ib2wiOiJidGMiLCJuYW1lIjoiQml0Y29pbiIsImxvY2FsaXphdGlvbiI6eyJlbiI6IkJpdGNvaW4iLCJkZSI6IkJpdGNvaW4iLCJlcyI6IkJpdGNvaW4iLCJmciI6IkJpdGNvaW4iLCJpdCI6IkJpdGNvaW4iLCJwbCI6IkJpdGNvaW4iLCJybyI6IkJpdGNvaW4iLCJodSI6IkJpdGNvaW4iLCJubCI6IkJpdGNvaW4iLCJwdCI6IkJpdGNvaW4iLCJzdiI6IkJpdGNvaW4iLCJ2aSI6IkJpdGNvaW4iLCJ0ciI6IkJpdGNvaW4iLCJydSI6ItCx0LjRgtC60L7QuNC9IiwiamEiOiLjg5Pjg4Pjg4jjgrPjgqTjg7MiLCJ6aCI6IuavlOeJueW4gSIsInpoLXR3Ijoi5q+U54m55bmjIiwia28iOiLruYTtirjsvZTsnbgiLCJhciI6Itio2YrYqtmD2YjZitmGIiwidGgiOiLguJrguLTguJXguITguK3guKLguJnguYwiLCJpZCI6IkJpdGNvaW4ifSwiaW1hZ2UiOnsidGh1bWIiOiJodHRwcz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joyNzYzNzI5LjQzMTMyNDUxLCJ4ZHIiOjI1MjgxODk1NDYuNDAwMzEsInphciI6NDQ2MTM4Njk1OTQuMjQ2NywiYml0cyI6MjY0MzQ1NDkzNDgyLjk2MywibGluayI6NTgyNjU1NzMzMC4zMDg5NTUsInNhdHMiOjI2NDM0NTQ5MzQ4Mjk2LjN9fSwiY29tbXVuaXR5X2RhdGEiOnsiZmFjZWJvb2tfbGlrZXMiOm51bGwsInR3aXR0ZXJfZm9sbG93ZXJzIjo2MDM2NjQsInJlZGRpdF9hdmVyYWdlX3Bvc3RzXzQ4aCI6Mi4wNDIsInJlZGRpdF9hdmVyYWdlX2NvbW1lbnRzXzQ4aCI6NDQ1Ljg5NiwicmVkZGl0X3N1YnNjcmliZXJzIjo2MTI0MTIsInJlZGRpdF9hY2NvdW50c19hY3RpdmVfNDhoIjoiMTQwNzQuMCJ9LCJkZXZlbG9wZXJfZGF0YSI6eyJmb3JrcyI6MTM2NjAsInN0YXJzIjoyMzY2NSwic3Vic2NyaWJlcnMiOjI1MTMsInRvdGFsX2lzc3VlcyI6MzU5MSwiY2xvc2VkX2lzc3VlcyI6MzAyMiwicHVsbF9yZXF1ZXN0c19tZXJnZWQiOjUwMzgsInB1bGxfcmVxdWVzdF9jb250cmlidXRvcnMiOjQ1MCwiY29kZV9hZGRpdGlvbnNfZGVsZXRpb25zXzRfd2Vla3MiOnsiYWRkaXRpb25zIjpudWxsLCJkZWxldGlvbnMiOm51bGx9LCJjb21taXRfY291bnRfNF93ZWVrcyI6MTQ3fSwicHVibGljX2ludGVyZXN0X3N0YXRzIjp7ImFsZXhhX3JhbmsiOjI5MTIsImJpbmdfbWF0Y2hlcyI6bnVsbH19
71
+ recorded_at: Sat, 15 May 2021 14:10:11 GMT
72
+ - request:
73
+ method: get
74
+ uri: https://api.coingecko.com/api/v3/coins/bitcoin/history?query=%7B:date=%3E%2230-12-2017%22%7D
75
+ body:
76
+ encoding: US-ASCII
77
+ string: ''
78
+ headers:
79
+ Accept-Encoding:
80
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
81
+ Accept:
82
+ - "*/*"
83
+ User-Agent:
84
+ - Ruby
85
+ Host:
86
+ - api.coingecko.com
87
+ response:
88
+ status:
89
+ code: 422
90
+ message: Unprocessable Entity
91
+ headers:
92
+ Date:
93
+ - Sun, 16 May 2021 08:21:20 GMT
94
+ Content-Type:
95
+ - application/json; charset=utf-8
96
+ Transfer-Encoding:
97
+ - chunked
98
+ Connection:
99
+ - keep-alive
100
+ Vary:
101
+ - Accept-Encoding, Origin
102
+ Cache-Control:
103
+ - no-cache
104
+ X-Request-Id:
105
+ - ab8447d9-a2d4-4c72-8dfb-ed2a7df979cc
106
+ X-Runtime:
107
+ - '0.003016'
108
+ Cf-Cache-Status:
109
+ - MISS
110
+ Cf-Request-Id:
111
+ - 0a15dd0aee00001aa437968000000001
112
+ Expect-Ct:
113
+ - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
114
+ Server:
115
+ - cloudflare
116
+ Cf-Ray:
117
+ - 65033124be8e1aa4-SIN
118
+ Alt-Svc:
119
+ - h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400
120
+ body:
121
+ encoding: ASCII-8BIT
122
+ string: '{"error":"Missing parameter date"}'
123
+ recorded_at: Sun, 16 May 2021 08:21:20 GMT
124
+ - request:
125
+ method: get
126
+ uri: https://api.coingecko.com/api/v3/coins/bitcoin/history
127
+ body:
128
+ encoding: US-ASCII
129
+ string: ''
130
+ headers:
131
+ Accept-Encoding:
132
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
133
+ Accept:
134
+ - "*/*"
135
+ User-Agent:
136
+ - Ruby
137
+ response:
138
+ status:
139
+ code: 422
140
+ message: Unprocessable Entity
141
+ headers:
142
+ Date:
143
+ - Mon, 19 Jul 2021 03:15:56 GMT
144
+ Content-Type:
145
+ - application/json; charset=utf-8
146
+ Transfer-Encoding:
147
+ - chunked
148
+ Connection:
149
+ - keep-alive
150
+ Vary:
151
+ - Accept-Encoding, Origin
152
+ Cache-Control:
153
+ - no-cache
154
+ X-Request-Id:
155
+ - e2275edd-30e1-4d52-a72a-77424e5ecff2
156
+ X-Runtime:
157
+ - '0.004017'
158
+ Cf-Cache-Status:
159
+ - MISS
160
+ Expect-Ct:
161
+ - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
162
+ Server:
163
+ - cloudflare
164
+ Cf-Ray:
165
+ - 6710c9c19aff2254-HKG
166
+ Alt-Svc:
167
+ - h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443";
168
+ ma=86400
169
+ body:
170
+ encoding: ASCII-8BIT
171
+ string: '{"error":"Missing parameter date"}'
172
+ recorded_at: Mon, 19 Jul 2021 03:15:56 GMT
173
+ recorded_with: VCR 6.0.0