定制 tii/wow-api 二次开发

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

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

tii/wow-api

最新稳定版本:v1.0.1

Composer 安装命令:

composer require tii/wow-api

包简介

Owen Wilson Wow API integration for PHP

README 文档

README

PHP API integration for Owen Wilson Wow API

This uses the Owen Wilson Wow API. See their API documentation.

Installation

Require this package with composer

composer require tii/wow-api

Usage

You have all the available API methods as static methods on the Tii\WowApi\WowApi class.

Examples

Get 5 random Wows

$wows = \Tii\WowApi\WowApi::random(results: 5);

Get a single ordered Wow

$wow = \Tii\WowApi\WowApi::ordered('20');

Get a list of available movies/directors

$movies = \Tii\WowApi\WowApi::allMovies();
$directors = \Tii\WowApi\WowApi::allDirectors();

Get 5 random wows from a specific movie

$wowsInCars3 = \Tii\WowApi\WowApi::random(
  results: 5,
  movie: 'Cars 3'
);

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-10-30