{"id":40047936,"url":"https://github.com/nicehash/rest-clients","last_synced_at":"2026-01-19T05:37:36.205Z","repository":{"id":36253730,"uuid":"141691683","full_name":"nicehash/rest-clients","owner":"nicehash","description":"NiceHash public REST clients","archived":false,"fork":false,"pushed_at":"2025-12-18T07:47:56.000Z","size":535,"stargazers_count":13,"open_issues_count":1,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-12-21T15:44:36.911Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":false,"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/nicehash.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-07-20T09:22:54.000Z","updated_at":"2025-12-18T07:47:57.000Z","dependencies_parsed_at":"2024-05-16T10:43:41.047Z","dependency_job_id":"2a2de531-9777-4415-bb8b-747e36d7a82d","html_url":"https://github.com/nicehash/rest-clients","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nicehash/rest-clients","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicehash%2Frest-clients","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicehash%2Frest-clients/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicehash%2Frest-clients/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicehash%2Frest-clients/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicehash","download_url":"https://codeload.github.com/nicehash/rest-clients/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicehash%2Frest-clients/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28561902,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T03:31:16.861Z","status":"ssl_error","status_checked_at":"2026-01-19T03:31:15.069Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2026-01-19T05:37:36.155Z","updated_at":"2026-01-19T05:37:36.199Z","avatar_url":"https://github.com/nicehash.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NiceHash V3 REST Clients\n\nBuild the whole project:\n\n    mvn clean install -DskipTests\n\nUsing Exchange client:\n\n        OptionMap options = OptionMap.builder()\n                                     .set(Options.BASE_URL, \"https://api-test.nicehash.com/exchange/\")\n                                     .set(Options.KEY, \"\u003cKEY\u003e\")\n                                     .set(Options.SECRET, \"\u003cSECRET\u003e\")\n                                     .getMap();\n\n        ExchangeClientFactory factory = ExchangeClientFactory.newInstance(options);\n        ExchangeClient client = factory.newClient();\n        List\u003cTrade\u003e trades = client.getMyTrades(\"LTCBTC\");\n\nUsing Exchange async client:\n\n        OptionMap options = OptionMap.builder()\n                                     .set(Options.BASE_URL, \"https://api-test.nicehash.com/exchange/\")\n                                     .set(Options.KEY, \"\u003cKEY\u003e\")\n                                     .set(Options.SECRET, \"\u003cSECRET\u003e\")\n                                     .getMap();\n\n        client.getMyTrades(\"LTCBTC\", 100, new AbstractClientCallback\u003cList\u003cTrade\u003e\u003e() {\n            @Override\n            public void onResponse(List\u003cTrade\u003e trades) {\n                System.out.println(\"Trades = \" + trades);\n            }\n        });\n\nUsing Exchange web-sockets:\n\n        try (ExchangeWebSocketClient client = ExchangeClientFactory.newWebSocketClient(\"https://exchange-test.nicehash.com/ws\")) {\n            client.onDepthEvent(\"LTCBTC\", new AbstractClientCallback\u003cDepthEvent\u003e() {\n                @Override\n                public void onResponse(DepthEvent result) {\n                    System.out.println(\"Result = \" + result);\n                }\n            });\n        }\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicehash%2Frest-clients","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicehash%2Frest-clients","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicehash%2Frest-clients/lists"}