{"id":13829118,"url":"https://github.com/Josh-McFarlin/CryptoCompareAPI","last_synced_at":"2025-07-09T09:32:38.522Z","repository":{"id":89104542,"uuid":"116909059","full_name":"Josh-McFarlin/CryptoCompareAPI","owner":"Josh-McFarlin","description":"Java implementation of the CryptoCompare API service","archived":false,"fork":false,"pushed_at":"2018-11-20T15:13:56.000Z","size":885,"stargazers_count":15,"open_issues_count":3,"forks_count":10,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-04T10:01:05.307Z","etag":null,"topics":["api-client","bitcoin","cryptocompare-api","cryptocurrency","ethereum"],"latest_commit_sha":null,"homepage":"","language":"Java","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/Josh-McFarlin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-01-10T04:42:53.000Z","updated_at":"2024-05-28T08:43:20.000Z","dependencies_parsed_at":"2023-06-13T23:09:21.635Z","dependency_job_id":null,"html_url":"https://github.com/Josh-McFarlin/CryptoCompareAPI","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Josh-McFarlin%2FCryptoCompareAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Josh-McFarlin%2FCryptoCompareAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Josh-McFarlin%2FCryptoCompareAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Josh-McFarlin%2FCryptoCompareAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Josh-McFarlin","download_url":"https://codeload.github.com/Josh-McFarlin/CryptoCompareAPI/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225533010,"owners_count":17484179,"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","bitcoin","cryptocompare-api","cryptocurrency","ethereum"],"created_at":"2024-08-04T10:00:19.951Z","updated_at":"2024-11-20T10:30:28.172Z","avatar_url":"https://github.com/Josh-McFarlin.png","language":"Java","readme":"# CryptoCompareAPI\nA Java implementation of the [CryptoCompare API service.](https://min-api.cryptocompare.com/)\n\n## Download\n\n[![Release](https://jitpack.io/v/me.joshmcfarlin/CryptoCompareAPI.svg)](https://jitpack.io/#me.joshmcfarlin/CryptoCompareAPI)\n\n#### Gradle\n```\nrepositories {\n    maven { url 'https://jitpack.io' }\n}\n\ndependencies {\n        implementation 'me.joshmcfarlin:CryptoCompareAPI:master-SNAPSHOT'\n}\n```\n\n#### Maven\n```xml\n\u003crepositories\u003e\n    \u003crepository\u003e\n        \u003cid\u003ejitpack.io\u003c/id\u003e\n        \u003curl\u003ehttps://jitpack.io\u003c/url\u003e\n    \u003c/repository\u003e\n\u003c/repositories\u003e\n```\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eme.joshmcfarlin\u003c/groupId\u003e\n    \u003cartifactId\u003eCryptoCompareAPI\u003c/artifactId\u003e\n    \u003cversion\u003emaster-SNAPSHOT\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## Usage\n```java\npublic class Test {\n    private CryptoCompareAPI api = new CryptoCompareAPI();\n    \n    public static void main(String[] args) {\n        double dayAverage = api.historic.getDayAverage(\"BTC\", \"USD\");\n        System.out.println(\"Bitcoin day average:\");\n        System.out.println(dayAverage);\n\n        Market.ExchangeAverage exchangeAverage = api.market.getExchangeAverage(\"BTC\", \"USD\", \"Coinbase,Kraken,Bitstamp\");\n        System.out.println(\"Bitcoin average from Coinbase, Kraken, and Bitstamp:\");\n        System.out.println(exchangeAverage.getHigh24Hour());\n\n        Map\u003cString, Double\u003e btcPrice = api.market.getPrice(\"BTC\", \"USD,EUR\");\n        System.out.println(\"Bitcoin price in USD and EUR:\");\n        System.out.println(btcPrice);\n    }\n}\n```\n\nAn example is provided in the test sources.\n\n## Documentation\n\nDocumentation is provided at [https://joshmcfarlin.me/CryptoCompareAPI/](https://joshmcfarlin.me/CryptoCompareAPI/)\n\n## License\nThis project is developed under the MIT license. This can be found at [LICENSE](LICENSE).\n","funding_links":[],"categories":["Awesome CryptoCompare [![Awesome](https://github.com/CryptoCompareLTD/awesome-cryptocompare/blob/master/awesomecc.svg)](https://github.com/sindresorhus/awesome)"],"sub_categories":["Java"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJosh-McFarlin%2FCryptoCompareAPI","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJosh-McFarlin%2FCryptoCompareAPI","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJosh-McFarlin%2FCryptoCompareAPI/lists"}