{"id":19939166,"url":"https://github.com/zapnap/coin_market","last_synced_at":"2025-10-19T13:26:45.043Z","repository":{"id":59152249,"uuid":"115227247","full_name":"zapnap/coin_market","owner":"zapnap","description":"Fetch current market data for top cryptocurrencies using the CoinMarketCap API","archived":false,"fork":false,"pushed_at":"2017-12-23T23:14:58.000Z","size":10,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-16T13:13:15.725Z","etag":null,"topics":["api-client","crypto","cryptocurrency","finance","market-data","ruby","tokens"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zapnap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-23T23:10:59.000Z","updated_at":"2020-02-12T14:58:57.000Z","dependencies_parsed_at":"2022-09-13T10:50:28.865Z","dependency_job_id":null,"html_url":"https://github.com/zapnap/coin_market","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapnap%2Fcoin_market","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapnap%2Fcoin_market/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapnap%2Fcoin_market/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapnap%2Fcoin_market/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zapnap","download_url":"https://codeload.github.com/zapnap/coin_market/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252203431,"owners_count":21710962,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-client","crypto","cryptocurrency","finance","market-data","ruby","tokens"],"created_at":"2024-11-12T23:45:10.789Z","updated_at":"2025-10-19T13:26:39.998Z","avatar_url":"https://github.com/zapnap.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CoinMarket\n\nRuby API client for crypto market statistics. Currently uses the [CoinMarketCap API](https://coinmarketcap.com/api/).\n\n    Endpoints update every 5 minutes.\n    Please limit requests to no more than 10 per minute.\n\nSee the link above for more information.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'coin_market'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install coin_market\n\n## Usage\n\nFetch statistics about a specific token:\n\n    res = CoinMarket::Ticker.get('bitcoin')\n    puts \"#{res.symbol}: #{res.price}\"\n    # =\u003e BTC: 15330.8\n    puts \"#{res.name}: #{res.market_cap}\"\n    # =\u003e Bitcoin: 256933859710.0\n    puts res.percent_change(period: '1h')\n    # =\u003e -1.03\n    puts res.percent_change(period: '24h')\n    # =\u003e 6.42\n\nOr fetch statistics for all of the top 100 currencies (based on market cap):\n\n    res = CoinMarket::Ticker.all\n    puts res[0..10].map(\u0026:name).join(', ')\n    # =\u003e Bitcoin, Ethereum, Bitcoin Cash, Ripple, Litecoin, Cardano, IOTA, Dash, NEM, Monero, Bitcoin Gold\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/zapnap/coin_market. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to follow the [code of conduct](https://github.com/zapnap/coin_market/blob/master/CODE_OF_CONDUCT.md).\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\nCopyright \u0026copy; 2017 Nick Plante, released under the MIT license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzapnap%2Fcoin_market","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzapnap%2Fcoin_market","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzapnap%2Fcoin_market/lists"}