Primewire API
API Key:
Your API key is: Please log in to see your key
Your API key must be included in all API requests
You can change your API key in your user settings page
Usage:
Looking up a Movie/TV show's basic information:Endpoint: /api/v1/show
Method: GET
Parameter | Value |
---|---|
key | Your API key |
id | Primewire id (optional) |
imdb_id | IMDB id (optional) |
tvmaze_id | TvMaze id (optional) |
404: The show you're looking for is not in our database.
400: There was an error in your input parameters.
200: Succesfully found the show.
Example: /api/v1/show?key=[your key]&imdb_id=tt2293640
Response: {"year":2015, "type":"movie", "tvmaze_id":null, "title":"Minions", "id":2, "imdb_id":"tt2293640", "current_quality": "DVD"}
Submitting links:
Endpoint: /api/v1/submit_link
Method: GET or POST
Parameter | Value |
---|---|
key | Your API key |
type | Either "tv" or "movie" |
pw_show_id | The Primewire id of the Movie or Show you want to submit a link for |
episode | The episode number (optional) |
season | The season number (optional) |
pw_video_id | The episode id if the episode and season aren't available (eg for special episodes) (optional) |
link | The actual link |
quality | Either "CAM", "TS" or "DVD" |
require_moderation | true if the link should require moderation (relevant for contribs only) |
Response codes:
400: There is an error in your input.
200: Your input parameters were good and either the link was submitted succesfully or the link was rejected.
Example: /api/v1/submit_link?key=[your_key]&type=tv&pw_show_id=4&episode=1&season=1&quality=DVD&link=http://vidzi.tv/asdflksajf.html
Response: {"success":"Link submitted succesfully"}
Libs368 : I could not disagree more. This move is the perfect example of good execution and perform...