christophrumpel/marvel-superhero-api
最新稳定版本:0.0.4
Composer 安装命令:
composer require christophrumpel/marvel-superhero-api
包简介
This is a PHP package for working with the Marvel developer API.
README 文档
README
Marvel Superhero API
This is a helper package for working with the Marvel developer API.
Examples
// Get an Marvel account and your keys here https://developer.marvel.com/ $publicKey = "your_public_key"; $privateKey = "your_private_key"; $api = new MarvelUniverse\SuperheroApi($publicKey, $privateKey); // Get all characters $characters = $api->characters()->getAll(['nameStartsWith' => 'Y']); // Get 3-D Man $threedman = $api->characters()->getById(1011334); // Get comics from 3-D Man $comics = $api->characters()->getComics(1011334, ['format' => 'comic']); // Get events from 3-D Man $events = $api->characters()->getEvents(1011334); // Get series from 3-D Man $series = $api->characters()->getSeries(1011334); // Get stories from 3-D Man $stories = $api->characters()->getStories(1011334); // For more examples checkout the example.php file
Covered
- All character calls
- All comic calls
Roadmap
More to come:
- Creators calls
- Events calls
- Series calls
- Stories calls
统计信息
- 总下载量: 24
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-05-09