plopix/octodex
Composer 安装命令:
composer require plopix/octodex
包简介
Octodex from Github, PHP scrapping API
README 文档
README
Provide a PHP class which allow you to retrieve easily links of OCTOCAT® png file.
Usage
$provider = new \Plopix\Octodex\Provider(); $cat = $provider->getRandom(); print $cat; print $provider->getNumber(42);
With Symfony as a Service ?
Create a service
# Resources/config/services.yml Plopix\Octodex\Provider: arguments: ['%kernel.cache_dir%',43200]
Special notes and other considerations
GITHUB® owns all of the OCTOCAT®, this code just retrieves the data.
GITHUB®, the GITHUB® logo design, OCTOCAT® and the OCTOCAT® logo design are exclusive trademarks registered in the United States by GitHub, Inc. The OCTOCAT design is the exclusive property of GitHub, Inc and has been federally registered with the United States Copyright Office. All rights reserved. No adaptation or use of any kind of any of our registered trademarks or copyrights, or any other contents of this website, is allowed without the express written permission of GitHub, Inc.
See more: https://octodex.github.com/faq.html
统计信息
- 总下载量: 3.58k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-04-23