chris-moreton / golfingrecord-api-php-client
高尔夫记录API的API包装器
v0.0.25
2017-06-07 19:04 UTC
Requires
- php: >=5.4.0
- guzzlehttp/guzzle: ^6.2
- vlucas/phpdotenv: ^2.4
Requires (Dev)
- phpspec/phpspec: ~2.0
README
这是一个用于高尔夫记录API的PHP客户端,允许高尔夫记录服务的用户以编程方式管理他们的账户和数据。
您需要客户端密钥才能使用此客户端。目前API尚未完成,因此客户端密钥不可用于请求。
使用Composer添加到项目中
composer require chris-moreton/golfingrecord-api-php-client
使用方法
开发
克隆仓库并执行composer
git clone git@github.com:chris-moreton/golfingrecord-api-php-client
cd golfingrecord-api-php-client
composer install
运行测试
将.test.config.example复制到.test.config并填写值。
然后您可以运行测试
bin/phpspec run --format=pretty -vvv --stop-on-failure