定制 musheabdulhakim/coingecko 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

musheabdulhakim/coingecko

最新稳定版本:v1.0.3

Composer 安装命令:

composer require musheabdulhakim/coingecko

包简介

CoinGecko API client for PHP and Laravel Applications.

README 文档

README

CoinGecko client example

GitHub Workflow Status (master) Total Downloads Latest Version License

This package provides a wonderful PHP API client that allows you to interact with CoinGecko Api

This SDK is a PHP & Laravel Package, (Designed to help working with coingecko api easier and faster).

Requirement

Requires Composer Requires PHP 8.2+

Installation

 composer require musheabdulhakim/coingecko

Basic usage

$coingecko = \MusheAbdulHakim\CoinGecko\CoinGecko::client('your-api-key');

//or 

$coingecko = \MusheAbdulHakim\CoinGecko\CoinGecko::client('your-api-key','https://api.coingecko.com/api', 'v3');

Example

$coingecko = \MusheAbdulHakim\CoinGecko\CoinGecko::client('your-api-key');
$ping = $coingecko->ping();

$pingTest = $ping->ping();

//or

$coingecko->pingServer();

Configuration

Update api version, base url and api key

'COINGECKO_API_VERSION' => 'v3',

'COINGECKO_BASE_URI' => 'https://api.coingecko.com/api',

'COINGECKO_API_KEY' => 'xxxxxxxxxxxxxxxxxxxxxx',

Ping

ping

Check API server status

$ping = $coingecko->ping();

License

musheabdulhakim/coingecko is released under the MIT License. See the bundled LICENSE for details.

Contribution

🧹 Keep a modern codebase with php-cs-fixer:

composer lint

🚀 Run the entire test suite:

composer test

Report all your issues Here

All your pull requests are welcome :).

统计信息

  • 总下载量: 82
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-09-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固