Is there any animation in the movie?

Does anyone know of any (preferred) supported api for accessing movies by zip code?

I do not believe that any existing api like netflix or imdb provide this information.

+68
api movies
Jan 13 '09 at 17:09
source share
13 answers

when "allow_url_fopen" is disabled use

<?php /** * Google Showtime grabber * * This file will grab the last showtimes of theatres nearby your zipcode. * Please make the URL your own! You can also add parameters to this URL: * &date=0|1|2|3 => today|1 day|2 days|etc.. * &start=10 gets the second page etc... * * Please download the latest version of simple_html_dom.php on sourceForge: * http://sourceforge.net/projects/simplehtmldom/files/ * * @author Bas van Dorst <info@basvandorst.nl> * @version 0.1 * @package GoogleShowtime * * @modifyed by stephen byrne <gold.mine.labs@gmail.com> * @GoldMinelabs.com */ require_once('simple_html_dom.php'); $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, 'http://www.google.ie/movies?near=dublin'); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 10); $str = curl_exec($curl); curl_close($curl); $html = str_get_html($str); print '<pre>'; foreach($html->find('#movie_results .theater') as $div) { // print theater and address info print "Theate: ".$div->find('h2 a',0)->innertext."\n"; //print "Address: ". $div->find('.info',0)->innertext."\n"; // print all the movies with showtimes foreach($div->find('.movie') as $movie) { print "Movie: ".$movie->find('.name a',0)->innertext.'<br />'; print "Time: ".$movie->find('.times',0)->innertext.'<br />'; } print "\n\n"; } // clean up memory $html->clear(); ?> 
+15
Feb 04 2018-11-11T00:
source share
β€” -

Yes, Yahoo apparently pulled off its secret movie API in November 2009.
Everyone seems to be getting data from TMS Data Direct: http://www.tmsdatadirect.com/

+8
Nov 23 '09 at 21:19
source share

I don't know if Google reveals it as an api, but it is very similar to what you want. http://www.google.com/movies?hl=en&near=90210&dq=movie+times+90210&sa=X&oi=showtimes&ct=title&cd=1

+7
Jan 13 '09 at 17:16
source share

Sorry, you should have looked a little more before posting the question.

some creative search on del.icio.us revealed an undocumented yahoo! api movies ( an example of an api call ).

looks good.

+2
Jan 13 '09 at 18:34
source share

After looking around a bit, I found Dapper (open.dapper.net) a great solution for creating this type of feed ...

Here is the feed I made that takes the movie name and zip code as parameters. (most others are only available in the ZIP archive)

http://www.dapper.net/dapp-howto-use.php?dappName=GoogleMoviesbynameANDzip

it took about 5 minutes to set up ...

+1
Aug 6 '09 at 10:16
source share

I am also looking for sessions that I can legitimately cleanse and republish. Yahoo sounds like it, if you don’t do it for commercial purposes, it’s not prohibited ... or maybe it’s wishful thinking on my part.

You agree not to reproduce, duplicate, copy, sell, sell, resell or exploit for any commercial purpose , any use or access to Yahoo! Services

+1
Jan 03 '09 at 21:02
source share

I guess your best bet on this (unless these guys have RSS feeds) is to clear the HTML using a language that supports regular expressions.

Keep in mind that this is ugly and every time they change their code, yours may be broken.

0
Jan 13 '09 at 17:13
source share

I can not find him.

You can try screen shots from Yahoo Movies: http://movies.yahoo.com/showtimes/movie?z=60630&date=20090113&mid=1810038822

 z = zip code date = year + month + day (as a string) mid = movieID, which you will have to grab from Yahoo Movies 
0
Jan 13 '09 at 17:15
source share

I was also looking for the showtime API, and like you, I did not find a good API for movie sessions. I decided to write my own "showtime API" based on Google Showtimes. Please check it.

This is a simple PHP script, but "it does what it should do":

  <?php /** * Google Showtime grabber * * This file will grab the last showtimes of theatres nearby your zipcode. * Please make the URL your own! You can also add parameters to this URL: * &date=0|1|2|3 => today|1 day|2 days|etc.. * * Please download the latest version of simple_html_dom.php on sourceForge: * http://sourceforge.net/projects/simplehtmldom/files/ * * @author Bas van Dorst <info@basvandorst.nl> * @version 0.1 * @package GoogleShowtime */ require_once('simple_html_dom.phps'); $html = new simple_html_dom(); $html->load_file('http://www.google.nl/movies?mid=&hl=en&near=1400AB'); print '<pre>'; foreach($html->find('#movie_results .theater') as $div) { // print theater and address info print "Theate: ".$div->find('h2 a',0)->innertext."\n"; print "Address: ". $div->find('.info',0)->innertext."\n"; // print all the movies with showtimes foreach($div->find('.movie') as $movie) { print "\tMovie: ".$movie->find('.name a',0)->innertext.'<br />'; print "\tTime: ".$movie->find('.times',0)->innertext.'<br />'; } print "\n\n"; } // clean up memory $html->clear(); ?> 

Example: http://code.basvd.nl/showtime_grabber_0.1/Google_showtime.php

Download simple_html_dom.php: http://code.basvd.nl/showtime_grabber_0.1/

0
Jan 21
source share

Fandango has RSS feeds that let you search for movies near you.

http://www.fandango.com/rss/moviefeed

0
Aug 01 '11 at 2:37 a.m.
source share

Not sure if this is the right to clear html from this, but this is the cleanest pseudo-API I have found. http://opensocial.flixster.com/igoogle/showtimes?date=20111025&postal=23226 - just clear the html with something like ...

 $('div.showtime', response).each(function() { // ... process each showtime div }); 
0
Oct 25 2018-11-21T00:
source share

I know this is a little outdated. I do not think there is an api for this, but some providers offer this service. I suggest you take a look at West World Media.

-one
06 Feb '12 at 18:00
source share
 http://www.google.com/ig/api?movies=YOUR_ZIP_HERE 

Thanks to Nick. what is the link that I will use.

-3
Feb 16 '11 at 18:24
source share



All Articles