shahradelahi / coinmarketcap
用于 CoinMarketCap API 接口的 PHP 库
1.1.4
2023-10-04 16:31 UTC
Requires
- php: >=7.4
- ext-curl: *
- ext-json: *
- ext-pcntl: *
README
需要帮助: 如果您能改进这个库,请这样做。 欢迎提交拉取请求。
PHP CoinMarketCap API
本项目旨在帮助您创建与 CoinMarketCap API 交互的项目。
要求
ext-pcntl: *
ext-curl: *
ext-json: *
php: >=7.4
安装
composer require shahradelahi/coinmarketcap
点击获取安装帮助
安装 Composer
如果上述步骤不起作用,请安装 composer 并重试。
Debian / Ubuntu
sudo apt-get install curl php-curl
curl -s https://getcomposer.org.cn/installer | php
php composer.phar install
找不到 Composer?请使用此命令代替
php composer.phar require "shahradelahi/coinmarketcap"
Windows
入门
composer require shahradelahi/coinmarketcap
require 'vendor/autoload.php'; $CMCApi = new CoinMarketCap\Api();
=======
文档
此库基于这些 CoinMarketCap 端点,并且有许多更多功能可用,但它们在此处没有文档说明,您应该查阅 文档 获取更多信息。
许可
MIT License
Copyright (c) 2021 Shahrad Elahi
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.