PHP Classes
elePHPant
Icontem

PHP IMDB API: Retrieve movie information from the IMDB API site

Recommend this page to a friend!

  Author Author  
Name: Tiago André <contact>
Classes: 4 packages by
Country: Portugal Portugal
Age: ???
All time rank: 133718 in Portugal Portugal
Week rank: 144 Up4 in Portugal Portugal Up


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class can retrieve movie information from the IMDB API site.

It can send HTTP requests to the IMDB API site to perform queries for movie information.

The class retrieves the responses and returns the parsed response information about the queried movies.

Details
{startverticalbanner}
/*
 * imdb.class.php
 * 
 * Copyright 2012 Tiago André <geral.t8bit@gmail.com>
 * 
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 * MA 02110-1301, USA.
 * 
 * 
 */
 
 /*Usage:
  * $imdb=new imdb('hunger games');
  * $imdb->get();
  * Doing that you will recive an object with the movie information,
  * 
  * Aditional options
  *   * $imdb=new imdb(movie_name,year,id_imdb);
  *   * you can search by id, year or name.
  *   * or if you want you can set that parameters like this
  *   * $imbd->set('title','hunger_games');
  *   * $imbd->set('year','2012');
  *   * $imbd->set('id','12453635');
  * 
  *   * Get Values return a string with the value
  *   * $imbd->get('Title');
  *   * $imbd->get('Year');
  *   * $imbd->get('Rated');
  *   * $imbd->get('Released');
  *   * $imbd->get('Runtime');
  *   * $imbd->get('Genre');
  *   * $imbd->get('Director');
  *   * $imbd->get('Writer');
  *   * $imbd->get('Actores');
  *   * $imbd->get('Plot');
  *   * $imbd->get('Poster');
  *   * $imbd->get('imdbRating');
  *   * $imbd->get('imdbVotes');
  *   * $imbd->get('imdbID');
  */

  Classes of Tiago André  >  PHP IMDB API  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP IMDB API
Base name: imdb-api
Description: Retrieve movie information from the IMDB API site
Version: 1.0.0
PHP version: 3.0
License: GNU General Public License (GPL)
All time users: 911 users
All time rank: 3770
Week users: 5 users
Week rank: 144 Up
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Web services Web data clipping, SOAP or XML-RPC clients and servers View top rated classes
Group folder image Video Movies and video data generation and manipulation View top rated classes


  User ratings  
Not enough user ratings

  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Accessible without login Plain text file demo.php Example Demo File
Plain text file imdb.class.php Class main file
Accessible without login Plain text file README Doc. readme file

Install with Composer Install with Composer - Download Download all files: imdb-api.tar.gz imdb-api.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.