{"id":28487428,"url":"https://github.com/vadim-su/rust_binance","last_synced_at":"2025-07-02T01:30:37.881Z","repository":{"id":288472044,"uuid":"968156128","full_name":"vadim-su/rust_binance","owner":"vadim-su","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-01T14:36:03.000Z","size":153,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-08T04:42:56.281Z","etag":null,"topics":["binance","binance-api"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vadim-su.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-04-17T15:46:08.000Z","updated_at":"2025-05-01T14:36:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"14abdc2c-9f52-4b8c-8887-764dd5f87d1e","html_url":"https://github.com/vadim-su/rust_binance","commit_stats":null,"previous_names":["vadim-su/rust_binance"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vadim-su/rust_binance","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vadim-su%2Frust_binance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vadim-su%2Frust_binance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vadim-su%2Frust_binance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vadim-su%2Frust_binance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vadim-su","download_url":"https://codeload.github.com/vadim-su/rust_binance/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vadim-su%2Frust_binance/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263059464,"owners_count":23407365,"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":["binance","binance-api"],"created_at":"2025-06-08T04:31:35.231Z","updated_at":"2025-07-02T01:30:37.872Z","avatar_url":"https://github.com/vadim-su.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust Binance\n\nA Rust library for interacting with the Binance API. This library provides a convenient way to access various Binance endpoints for trading and market data.\n\n## Features\n\n- Support for Binance API endpoints including market data and trading operations.\n- Easy-to-use client for making API requests.\n- Support for both mainnet and testnet environments.\n- Error handling with custom error types.\n\n## Installation\n\nAdd this to your `Cargo.toml`:\n\n```toml\n[dependencies]\nrust_binance = { git = \"https://github.com/vadim-su/rust_binance.git\" }\n```\n\n## Usage\n\n```rust\nuse rust_binance::BinanceClient;\n\n#[tokio::main]\nasync fn main() {\n    let api_key = \"your_api_key\".to_string();\n    let secret_key = \"your_secret_key\".to_string();\n    let client = BinanceClient::new(api_key, secret_key, true); // true for testnet\n\n    // Ping the server\n    client.ping().await.unwrap();\n\n    // Get server time\n    let time = client.get_time().await.unwrap();\n    println!(\"Server Time: {}\", time.server_time);\n}\n```\n\n## Endpoints\n\n- **General Endpoints**: Ping, server time, exchange info.\n- **Market Data**: Order book, recent trades, historical trades, compressed trades, klines/candlestick data, and average price.\n\n## Testing\n\nRun tests with:\n\n```bash\ncargo test\n```\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvadim-su%2Frust_binance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvadim-su%2Frust_binance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvadim-su%2Frust_binance/lists"}