{"id":36427215,"url":"https://github.com/fintecy/cbr-client","last_synced_at":"2026-01-11T18:01:44.037Z","repository":{"id":51676247,"uuid":"437610730","full_name":"fintecy/cbr-client","owner":"fintecy","description":"Async java client for fx rates from Central Bank of Russia (CBR)","archived":false,"fork":false,"pushed_at":"2022-11-01T23:30:24.000Z","size":108,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-07-06T17:44:53.001Z","etag":null,"topics":["currency","fintecy","fx-rates","java-client","market-data","market-data-feeds"],"latest_commit_sha":null,"homepage":"https://fintecy.github.io/cbr-client/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fintecy.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}},"created_at":"2021-12-12T17:26:15.000Z","updated_at":"2023-07-06T17:44:53.003Z","dependencies_parsed_at":"2023-01-20T20:15:30.132Z","dependency_job_id":null,"html_url":"https://github.com/fintecy/cbr-client","commit_stats":null,"previous_names":[],"tags_count":2,"template":null,"template_full_name":null,"purl":"pkg:github/fintecy/cbr-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fintecy%2Fcbr-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fintecy%2Fcbr-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fintecy%2Fcbr-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fintecy%2Fcbr-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fintecy","download_url":"https://codeload.github.com/fintecy/cbr-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fintecy%2Fcbr-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28316990,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T14:58:17.114Z","status":"ssl_error","status_checked_at":"2026-01-11T14:55:53.580Z","response_time":60,"last_error":"SSL_read: 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":["currency","fintecy","fx-rates","java-client","market-data","market-data-feeds"],"created_at":"2026-01-11T18:01:43.211Z","updated_at":"2026-01-11T18:01:44.032Z","avatar_url":"https://github.com/fintecy.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build](https://github.com/fintecy/cbr-client/actions/workflows/gradle.yml/badge.svg?branch=main)](https://github.com/fintecy/cbr-client/actions/workflows/gradle.yml)\n\n# Central Bank of Russia (CBR) Client\n\nJava client based on new HttpClient (java 11+)\n\n## Dependency\nhttps://mvnrepository.com/artifact/org.fintecy.md/cbr-client/1.0.1\n\n### Gradle\n```\nimplementation 'org.fintecy.md:cbr-client:1.0.1'\n```\n\n### Maven\n```\n\u003cdependency\u003e\n    \u003cgroupId\u003eorg.fintecy.md\u003c/groupId\u003e\n    \u003cartifactId\u003ecbr-client\u003c/artifactId\u003e\n    \u003cversion\u003e1.0.1\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## Usage\n### Simple client creation\n```\nCbrApi client = CbrClient.api();\n```\n### Complex client configuration\n```\nvar client = cbrClient()\n    .useClient(HttpClient.newBuilder()\n        .followRedirects(HttpClient.Redirect.ALWAYS)\n        .priority(10)\n        .connectTimeout(Duration.ofMillis(500))\n        .executor(Executors.newSingleThreadExecutor())\n        .build())\n    .with(CircuitBreaker.ofDefaults())\n    .with(RateLimiter.smoothBuilder(Duration.ofMillis(100))\n        .build())\n    .with(RetryPolicy.ofDefaults())\n    .with(Timeout.of(Duration.ofMillis(400)))\n    .rootPath(\"https://www.cbr.ru/scripts\") -- just to use stub in tests\n    .build();\n```\n\n### Get latest rates\n```\nvar client = CbrClient.api();\nint rates = client.rates();\n```\n\n### Get supported currencies\n```\nvar client = CbrClient.api();\nvar ccurrencies = client.supportedCurrencies();\n```\n\n## Dependencies\n- Java 11+\n- FailSafe\n- Slf4j api\n- Jaxb (api)\n- WireMock (tests)\n- Junit5 (tests)\n\n## Author\nAnton Batiaev \u003canton@batiaev.com\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffintecy%2Fcbr-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffintecy%2Fcbr-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffintecy%2Fcbr-client/lists"}