Skip to content

guaycuru/google-movies-client

 
 

Repository files navigation

Google Movie Client

StyleCI GitHub license GitHub release

**NOTE: ** This Project is in development. Please use with caution and better not for productive uses.

Extended Client to fetch data from http://google.com/movies in an object oriented way.

  • Search Movies Showtimes by Location and Movie Title
  • Get Showtimes of single Movie
  • Get Showtimes of single Theater
  • Get Theaters near a location
  • Get Movies near a location

Installation

With composer

$ composer require okaufmann/google-movies-client:dev-master

or

"require": {
    "okaufmann/google-movies-client": "dev-master"
}

Use it in your code

use GoogleMoviesClient\Client;

$client = new Client();
$result = $client->queryShowtimesByMovieNear("Minions", "New York", "en");
dd($result);

NOTE:: You have to give the $near parameter on every call. Otherwise you will get strange wrong information.

Todo's

  • Parse and Include purchase Links where possible (movietickets.com)
  • Multipage Search Result parsing
  • Write Tests

License

MIT

About

Extended Client to fetch data from http://google.com/movies in an object oriented way.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%