RESTful API for Subscene. Currently being used by Popcorn Time. Feel free to fork and contribute.
Demo: http://subscene-api.appspot.com/
GET http://subscene-api.appspot.com/subtitles/{imdb_id}
GET http://subscene-api.appspot.com/subtitles/{imdb_id_1}-{imdb_id_2}-...
imdb_id: The IMDb ID of the movie.
- http://subscene-api.appspot.com/subtitles/tt0435705
- http://subscene-api.appspot.com/subtitles/tt0770828-tt0816442-tt0903624
-
Install the App Engine Python SDK.
-
Clone this repo:
git clone [email protected]:andy-pham/subscene-api.git -
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/
To deploy subscene-api to App Engine
-
Use the Admin Console to create a project/app id.
-
Deploy:
appcfg.py -A <your-project-id> --oauth2 update .
subscene-api should be visible at http://your-app-id.appspot.com/
Licensed under the MIT License.