This repository has been archived by the owner on Nov 23, 2019. It is now read-only.
API Implementation of api.dailytvtorrents.org in PHP
netsensei/dttv
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This project implements the REST API of http://dailytvtorrents.org as a PHP class. If your application is PHP based, you can communicate with the API through the class. How to use? i.e. to get the latest episode of an show as an object. <?php require_once('dtt.class.inc'); require_once('dtt.exceptions.class.inc); try { $dtt = new DTT(); $result = $dtt->episode_get_latest('futurama'); } catch(Exception $e) { echo "Error: " . $e->getMessage . "\n"; } ?> Warning: By releasing this code, I don't endorse copyright infringement in any way. My main interest lies in learning how API's work and what best practices are while implementing them. License: DTTV class Copyright (C) 2011 Matthias Vandermaesen 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 3 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, see <http://www.gnu.org/licenses/>.
About
API Implementation of api.dailytvtorrents.org in PHP
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published