PHP API integration for Owen Wilson Wow API
This uses the Owen Wilson Wow API. See their API documentation.
Require this package with composer
composer require tii/wow-api
You have all the available API methods as static methods on the Tii\WowApi\WowApi
class.
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'
);