承接 sabramooz/laravel-binance 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

sabramooz/laravel-binance

最新稳定版本:v1.1

Composer 安装命令:

composer require sabramooz/laravel-binance

包简介

Implementation of Binance trading API for Laravel

README 文档

README

Laravel implementation of the Binance crypto exchange trading API

Scrutinizer coverage

https://scrutinizer-ci.com/g/sabramooz/laravel-binance/

Install

composer require sabramooz/laravel-binance

Utilises autoloading in Laravel 5.5+. For older versions add the following lines to your config/app.php

'providers' => [
        ...
        sabramooz\binance\BinanceServiceProvider::class,
        ...
    ],

 'aliases' => [
        ...
        'Binance' => sabramooz\binance\BinanceAPIFacade::class,
    ],

Usage

    $binance = new \sabramooz\binance\BinanceAPI();
    dump($binance->getAvgPrice("BTCUSDT"));
    dump($binance->getAvgPrice("ETHUSDT"));
Result
    array:2 [▼
      "mins" => 5
      "price" => "37009.43501853"
    ]
    array:2 [▼
      "mins" => 5
      "price" => "1407.75224237"
    ]

Binance API Doc

https://binance-docs.github.io/apidocs/spot/en/#market-data-endpoints

🙋 Contributing

If you find an issue or have a better way to do something, feel free to open an issue, or a pull request. If you use laravel-binance in your open source project, create a pull request to provide its URL as a sample application in the README.md file.

❗ Security

If you discover any security-related issues, please email pooya.alen1990@gmail.com instead of using the issue tracker.

统计信息

  • 总下载量: 492
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 21
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 20
  • Watchers: 1
  • Forks: 23
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-01-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固