API

From Movierotica
Jump to navigation Jump to search

Our Application Programming Interface (API) can be accessed at:

https://www.movierotica.com/api/?query=

The query parameter can be match or movie.

Match

Use ?query=match to find potential movie matches. Provide the parameter name along with a part of a movie title you are trying to find. For example, movies with the name "Bone". The results will be similar to the page title matches results when using the search bar on this webpage.

https://www.movierotica.com/api/?query=match&name=Bone

You will be presented with a JSON array with movie objects with titles containing "Bone". Each movie object will have an score, name, and id.

Key Details Example
score An integer from 0 to 100 show how close the the movie object's name is to the name provided in the query. 57
id An integer corresponding to the movie's page ID on this wiki. You can view any page's page ID by clicking the Page information link in the side panel. 614
name The title of the movie, which should match the movie page's wiki page. Bone Alone

Movie

Use ?query=movie to get details about a movie. Provide the parameter id along with the movie's id from the query match above.

https://www.movierotica.com/api/?query=movie&id=614

You will be presented with a JSON array with details about the movie with wiki page ID of 614.

Key Details Example
title The title of the movie, which should match the movie page's wiki page. Bone Alone
rating The movie's rating. X
studio The studio that created the movie. TIMJack
summary A plain text summary of the movie. The hottest man solos from TIMJack are featured in Bone Alone...
released The date of when the movie was released. 2022-04-06
categories An array of categories the movie has been placed into. ["Masturbation"]
directors An array containing the movie director names. ["Max Sohl","Petrick Garcia","Paul Morris","Dice","Kenny Host"]
producers An array containing the movie producer names. ["Paul Morris","Luis Lumen"]
cast An array containing cast member objects. Each object will have a name and img key. [{"name":"Adonnis","img":"https:\/\/www.movierotica.com\/img\/w\/thumb\/9\/98\/Adonnis_-_face.jpg\/500px-Adonnis_-_face.jpg"},{"name":"Aiden Ward","img":null},{"name":"Alex Hammer","img":"https:\/\/www.movierotica.com\/img\/w\/b\/bb\/Alex_Hammer_-_face.jpg"},{"name":"Blaine Smith","img":null},{"name":"Hayden Lourd","img":null},{"name":"Jackson Smith","img":null},{"name":"Jacob Durham","img":null},{"name":"Julian D'Marco","img":null},{"name":"Riley Mitchel","img":null},{"name":"Samson","img":null}]
front A image URL corresponding to the movie's front cover. https:\/\/www.movierotica.com\/img\/w\/thumb\/6\/60\/Bone_Alone_-_front_cover.jpg\/349px-Bone_Alone_-_front_cover.jpg
screenshot A screenshot from the movie. https:\/\/www.movierotica.com\/img\/w\/thumb\/2\/23\/Bone_Alone_-_screenshot.jpg\/500px-Bone_Alone_-_screenshot.jpg
library One of several libraries the movie is placed in. This is a level higher than categories and is used by Cream Pi. Solo Male

Fixing Incorrect Data

The information provided by the API is based upon the data from the wiki pages. The information is created, edited, and maintained by users like you. Please feel free to edit any pages on this site by clicking on the edit button. Moderation tools are employed to prevent problematic edits and version histories allows the ability to easily undo mistakes.