{"id":37000429,"url":"https://github.com/vincenth520/bittrex","last_synced_at":"2026-01-14T00:02:50.996Z","repository":{"id":57078100,"uuid":"106641037","full_name":"vincenth520/bittrex","owner":"vincenth520","description":"bittrex Api SDK for PHP","archived":false,"fork":false,"pushed_at":"2017-10-12T08:25:04.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-10T08:02:46.325Z","etag":null,"topics":["bittrex","bittrex-api","php"],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/vincenth520.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":"2017-10-12T03:42:07.000Z","updated_at":"2017-10-12T08:28:02.000Z","dependencies_parsed_at":"2022-08-24T11:50:05.964Z","dependency_job_id":null,"html_url":"https://github.com/vincenth520/bittrex","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/vincenth520/bittrex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vincenth520%2Fbittrex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vincenth520%2Fbittrex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vincenth520%2Fbittrex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vincenth520%2Fbittrex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vincenth520","download_url":"https://codeload.github.com/vincenth520/bittrex/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vincenth520%2Fbittrex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28406468,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["bittrex","bittrex-api","php"],"created_at":"2026-01-14T00:02:50.335Z","updated_at":"2026-01-14T00:02:50.984Z","avatar_url":"https://github.com/vincenth520.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bittrex\n[![Total Downloads](https://img.shields.io/packagist/dt/vincenth520/bittrex.svg)](https://packagist.org/packages/vincenth520/bittrex)\n[![License](https://img.shields.io/badge/bittrex-v1.1-brightgreen.svg)](https://bittrex.com/Home/Api)\n[![License](https://poser.pugx.org/vincenth520/bittrex/license.svg)](https://packagist.org/packages/vincenth520/bittrex)\n## 安装\n- 通过composer，这是推荐的方式，可以使用composer.json 声明依赖，或者运行下面的命令。SDK 包已经放到这里 [vincenth520/bittrex](https://packagist.org/packages/vincenth520/bittrex) 。\n\n```\ncomposer require vincenth520/bittrex\n```\n\n- 直接下载安装，SDK 没有依赖其他第三方库，但需要参照 composer的autoloader，增加一个自己的autoloader程序。\n\n## 运行环境\n![php-5.3](https://img.shields.io/badge/php-5.3-yellowgreen.svg)\n\n## 使用方法\n\n### 获取账户余额\n \n```php\nuse Bittrex\\Bittrex;\n\n$apikey='';\n$apisecret='';\n\n$Bittrex = new Bittrex($apikey,$apisecret);\n\n$balance = $Bittrex-\u003egetBalance();\n\nvar_dump($balance);\n```\n\n**打印**\n```\narray(1) {\n  [3]=\u003e\n  array(5) {\n    [\"Currency\"]=\u003e\n    string(3) \"SPR\"\n    [\"balance\"]=\u003e\n    float(46.64854959)\n    [\"Last\"]=\u003e\n    float(0.000145)\n    [\"estbtc\"]=\u003e\n    float(0.00676403969055)\n    [\"estusd\"]=\u003e\n    float(33.289356617836)\n  }\n}\n```\n\n### 获取币种当前行情\n```php\nuse Bittrex\\Bittrex;\n\n$apikey='';\n$apisecret='';\n\n$Bittrex = new Bittrex($apikey,$apisecret);\n\n$LTC = $Bittrex-\u003egetticker('BTC-LTC');\nvar_dump($LTC);\n```\n\n**打印**\n```\narray(3) {\n  [\"Bid\"]=\u003e\n  float(0.01010001)\n  [\"Ask\"]=\u003e\n  float(0.01011903)\n  [\"Last\"]=\u003e\n  float(0.01010001)\n}\n```\n\n### 获取比特币当前价格\n```php\nuse Bittrex\\Bittrex;\n\n$apikey='';\n$apisecret='';\n\n$Bittrex = new Bittrex($apikey,$apisecret);\n\n$BTC = $Bittrex-\u003egetBtcPrice();\nvar_dump($BTC);\n```\n\n**打印**\n```\nfloat(5073.4288)\n```\n\n\n## 代码许可\nThe MIT License (MIT).详情见 [License文件](https://github.com/vincenth520/bittrex/blob/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvincenth520%2Fbittrex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvincenth520%2Fbittrex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvincenth520%2Fbittrex/lists"}