{"id":16656650,"url":"https://github.com/y-pakorn/bitkub_client","last_synced_at":"2026-05-18T02:04:31.834Z","repository":{"id":54670018,"uuid":"336037018","full_name":"y-pakorn/bitkub_client","owner":"y-pakorn","description":"A Dart/Flutter client for Bitkub public API.","archived":false,"fork":false,"pushed_at":"2022-01-10T21:42:31.000Z","size":54,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-19T11:42:47.059Z","etag":null,"topics":["api","api-client","bitkub","client","crypto","dart","flutter","package"],"latest_commit_sha":null,"homepage":"","language":"Dart","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/y-pakorn.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-02-04T17:51:32.000Z","updated_at":"2021-03-19T04:11:45.000Z","dependencies_parsed_at":"2022-08-13T23:20:54.298Z","dependency_job_id":null,"html_url":"https://github.com/y-pakorn/bitkub_client","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/y-pakorn%2Fbitkub_client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/y-pakorn%2Fbitkub_client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/y-pakorn%2Fbitkub_client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/y-pakorn%2Fbitkub_client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/y-pakorn","download_url":"https://codeload.github.com/y-pakorn/bitkub_client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243277503,"owners_count":20265352,"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","api-client","bitkub","client","crypto","dart","flutter","package"],"created_at":"2024-10-12T09:58:02.996Z","updated_at":"2025-10-08T03:57:19.751Z","avatar_url":"https://github.com/y-pakorn.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eBitkub Client for Dart\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n  \u003cp align=\"center\"\u003e\u003cimg alt=\"Header\" src=\"https://i.imgur.com/KxghDeQ.png\"\u003e\u003c/p\u003e\n  \u003cp align=\"center\"\u003eA well-documented client library for accessing Bitkub public APIs, works for Dart and Flutter.\u003c/p\u003e\n  \u003cp align=\"center\"\u003e\n    \u003ca href=\"/LICENSE.md\"\u003e\u003cimg alt=\"Software License\" src=\"https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/y-pakorn/bitkub_client/issues\"\u003e\u003cimg alt=\"Actions\" src=\"https://img.shields.io/github/issues/y-pakorn/bitkub_client\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://pub.dev/packages/bitkub_client\"\u003e\u003cimg alt=\"Doc\" src=\"https://img.shields.io/pub/v/bitkub_client\"\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n## Documentation\n\nDocumentation of Bitkub Client for Dart can be found [here](https://pub.dev/documentation/bitkub_client/latest/)\n\nOfficial Documentation of Bikub public API can be found [here](https://github.com/bitkub/bitkub-official-api-docs)\n\n## Usage\n\nGetting tickers\n\n```dart\n//Initialize the client\nvar client = BitkubClient();\n//Get the tickers\nvar tickers = await client.getTickers(symbol: BkSymbols.THB_BTC);\n//...\nprint(tickers.tickerList.first.lastPrice);\n```\n\nGetting ask,bid orders\n\n```dart\n//Initialize the client\nvar client = BitkubClient();\n//Get the orders\nvar orders = await client.getOpenOrders(BkSymbols.THB_BTC);\n//...\nprint(orders.asks.first.quoteRate);\n```\n\nConnecting to trade stream\n\n```dart\n//Initialize the socket client\nvar socketClient = BitkubSocketClient();\n//Get the stream of trade\nvar tradeStream = socketClient.connectToTradeStream([BkSymbols.THB_BTC]);\n//Listen to matchedOrder change\ntradeStream.listen((matchedOrder) {\n  //...\n  print(matchedOrder);\n});\n```\n\nAccessing the full name of symbols\n\n```dart\nvar fullName = BkSymbols.THB_ETH.fullName;\nprint(fullName);\n//Ethereum\n```\n\n## Milestone\n\n- [x] Non-secure endpoints\n- [x] WebSocket APIs as streams\n- [x] Full examples\n- [ ] Migrate to Null-safety\n- [ ] Secure endpoints using authentication\n\n## Contribution\n\nBefore creating a new issues please read the official Bitkub API first for Breaking Changes.\n\nFeel free to contribute and shot the pull requests!\n\n## License\n\nMit\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fy-pakorn%2Fbitkub_client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fy-pakorn%2Fbitkub_client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fy-pakorn%2Fbitkub_client/lists"}