Skip to content

arunkrishnan/subscene-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Subscene (unofficial) API

RESTful API for Subscene. Currently being used by Popcorn Time. Feel free to fork and contribute.

Demo: http://subscene-api.appspot.com/

Retrieve Subtitles

Request:

GET http://subscene-api.appspot.com/subtitles/{imdb_id}
GET http://subscene-api.appspot.com/subtitles/{imdb_id_1}-{imdb_id_2}-...

Parameters:

  • imdb_id: The IMDb ID of the movie.

Examples:

Quick Start

  1. Install the App Engine Python SDK.

  2. Clone this repo:

    git clone [email protected]:andy-pham/subscene-api.git
    
  3. Run locally from the command line:

    cd subscene-api
    dev_appserver.py .
    

Visit subscene-api http://localhost:8080/

The admin console is viewable at http://localhost:8000/

Deploy

To deploy subscene-api to App Engine

  1. Use the Admin Console to create a project/app id.

  2. Deploy:

    appcfg.py -A <your-project-id> --oauth2 update .
    

subscene-api should be visible at http://your-app-id.appspot.com/

License

Licensed under the MIT License.

About

Unofficial subscene.com API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 93.2%
  • XSLT 4.9%
  • C 1.5%
  • Other 0.4%