{"id":37721100,"url":"https://github.com/doubledare704/aiowhitebit","last_synced_at":"2026-01-16T13:32:26.956Z","repository":{"id":100325245,"uuid":"409563637","full_name":"doubledare704/aiowhitebit","owner":"doubledare704","description":"Async Python client for WhiteBit cryptocurrency exchange API","archived":false,"fork":false,"pushed_at":"2025-08-25T16:17:26.000Z","size":234,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-25T18:21:46.224Z","etag":null,"topics":["api-client","asyncio","cryptocurrency","pydantic","websocket","whitebit"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/aiowhitebit/","language":"Python","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/doubledare704.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-09-23T11:29:06.000Z","updated_at":"2025-08-25T16:17:25.000Z","dependencies_parsed_at":"2025-04-16T14:06:31.083Z","dependency_job_id":"29a31411-53e0-459a-bfbc-8f243acd0b10","html_url":"https://github.com/doubledare704/aiowhitebit","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/doubledare704/aiowhitebit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doubledare704%2Faiowhitebit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doubledare704%2Faiowhitebit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doubledare704%2Faiowhitebit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doubledare704%2Faiowhitebit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doubledare704","download_url":"https://codeload.github.com/doubledare704/aiowhitebit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doubledare704%2Faiowhitebit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479033,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"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":["api-client","asyncio","cryptocurrency","pydantic","websocket","whitebit"],"created_at":"2026-01-16T13:32:26.873Z","updated_at":"2026-01-16T13:32:26.941Z","avatar_url":"https://github.com/doubledare704.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aiowhitebit\n\nAsync Python client for WhiteBit API\n\n## Features\n\n* [Private http V4 API](https://github.com/whitebit-exchange/api-docs/blob/f7ca495281ade44f9f075a91c2e55d5da32a99fd/Private/http-trade-v4.md)\n* [Public WS API](https://github.com/whitebit-exchange/api-docs/blob/master/Public/websocket.md)\n  * Enhanced WebSocket events with `event_time` and `update_id` metadata\n  * BookTicker WebSocket stream for real-time best bid/ask prices\n  * Market depth subscriptions with enhanced metadata support\n* [Public http v1](https://github.com/whitebit-exchange/api-docs/blob/main/docs/Public/http-v1.md)\n* [Public http v2](https://github.com/whitebit-exchange/api-docs/blob/main/docs/Public/http-v2.md)\n* [Public http v4](https://github.com/whitebit-exchange/api-docs/blob/main/docs/Public/http-v4.md)\n  * Funding history endpoint for futures markets\n* Webhook support with examples\n* Rate limiting\n* Type hints\n* Pydantic models\n* Async/await support\n\n## Installation\n\n```bash\npip install aiowhitebit\n```\n\n## Quick Start\n\n```python\nimport asyncio\nfrom aiowhitebit.clients.public import PublicV4Client\n\nasync def main():\n    client = PublicV4Client()\n\n    # Get market info\n    markets = await client.get_market_info()\n    print(f\"Number of markets: {len(markets)}\")\n\n    # Get market activity\n    activity = await client.get_market_activity()\n    print(f\"BTC_USDT last price: {activity.get('BTC_USDT').last_price}\")\n\nasyncio.run(main())\n```\n\n### New Features in v0.3.0\n\n#### BookTicker WebSocket Stream\n\n```python\nimport asyncio\nfrom aiowhitebit.clients.websocket import PublicWebSocketClient, SubscribeRequest\n\nasync def bookticker_example():\n    client = PublicWebSocketClient()\n\n    # Subscribe to BookTicker stream\n    response = await client.bookticker_subscribe(\"BTC_USDT\")\n    print(f\"Subscribed: {response}\")\n\n    # Unsubscribe from BookTicker stream\n    response = await client.bookticker_unsubscribe(\"BTC_USDT\")\n    print(f\"Unsubscribed: {response}\")\n\n    await client.close()\n\nasyncio.run(bookticker_example())\n```\n\n#### Funding History for Futures Markets\n\n```python\nimport asyncio\nfrom aiowhitebit.clients.public import PublicV4Client\n\nasync def funding_history_example():\n    client = PublicV4Client()\n\n    # Get funding rate history for BTC_USDT futures\n    history = await client.get_funding_history(\"BTC_USDT\")\n\n    for item in history.result:\n        print(f\"Time: {item.timestamp}, Rate: {item.funding_rate}\")\n\nasyncio.run(funding_history_example())\n```\n\n#### Enhanced WebSocket Events with Metadata\n\nAll WebSocket events now include optional `event_time` and `update_id` fields for better tracking and synchronization:\n\n```python\n# WebSocket responses now include metadata\n{\n    \"method\": \"depth_update\",\n    \"params\": {...},\n    \"event_time\": 1640995200000,  # Event timestamp\n    \"update_id\": 12345           # Unique update identifier\n}\n```\n\n## Documentation\n\nFor detailed documentation and examples, visit our [GitHub repository](https://github.com/doubledare704/aiowhitebit).\n\n## Development\n\n```bash\n# Clone the repository\ngit clone https://github.com/doubledare704/aiowhitebit.git\ncd aiowhitebit\n\n# Install development dependencies\npip install -r requirements-dev.txt\n\n# Install pre-commit hooks\npre-commit install\n\n# Run tests\npytest\n```\n\n## License\n\nMIT License - see LICENSE file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoubledare704%2Faiowhitebit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoubledare704%2Faiowhitebit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoubledare704%2Faiowhitebit/lists"}