michaeldrennen/robinhood
最新稳定版本:v1.1.5
Composer 安装命令:
composer require michaeldrennen/robinhood
包简介
A PHP client to interface with the Robinhood trading platform.
README 文档
README
A PHP library to interact with the unofficial Robinhood API. Happy trading!
Use at your own risk!
$robinhoodUsername = 'some@email.com'; $robinhoodPassword = '12345'; $robinhoodDeviceToken = 'someuuid'; // Open your web browser's inspector and examine the XHR POST request to /token. The value in the device_token param goes here. $robinhood = new Robinhood(); $robinhood->login( $robinhoodUsername, $robinhoodPassword, $robinhoodDeviceToken ); $quotes = $robinhood->quotesForTickers( [ 'AAPL', 'MSFT' ] );
Most of the functionality is available as public methods in the Robinhood object.
The code is pretty straight forward, but I might add documentation here at some point in the future.
统计信息
- 总下载量: 1.15k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-12-18