Sorry for the lack of updates lately. The current hosting company that the website uses is unable to maintain stability on the site. This has been an ongoing problem for a long time now, but recently it has made adding items to the site nearly impossible. Thanks to a suggestion from an awesome guy on the IRC, I have found a new host for the site. It's going to be a little more expensive per month, but thankfully not nearly as much as I was expecting. I'm currently testing it out and making the required changes I need to get the site to work on their server. I will be switching the site over to it very soon and will start updating again, I just have a couple more work-arounds to do. Hopefully, this will get us back to the daily updates we were used to.
 
  • Home /
  • API (Application Programming Interface)
About

I've written this basic API so that people can access the data on this site for their own needs. I complain a lot about sites not having a proper API, so I figured it was about time this site had one too. If you have any suggestions, problems, questions, or comments, please about them.
Retrive Story List

Retrive a list of stories. Includes an array of story blocks (see bellow).
Optional
page - The page to retrive.
limit - How many stories to retrive per page.
chapters - Set if you want chapter information included. Warning, this returns a lot of data and can slow your script. It is turned off by default. The latest chapter information is always included.
callback - Enclose the JSON output in this function name.
Retrive Story Information

Retrive the information about a story.
Required
id - The id of the story requested.
Optional
chapters - Set if you want chapter information included. Warning, this returns a lot of data and can slow your script. It is turned off by default. The latest chapter information is always included.
callback - Enclose the JSON output in this function name.
Retrive Media List

Retrive a list of media items. Includes an array of media blocks (see bellow).
Optional
page - The page to retrive.
limit - How many items to retrive per page.
callback - Enclose the JSON output in this function name.
The following can not be used together.
artist - Retrive media created by this artist.
tag - Retrive media containing this tag.
Retrive Media Information

Retrive information about a non-story media item.
Required
id - The id of the item requested.
Optional
callback - Enclose the JSON output in this function name.
Retrive Random Story

Retrive one to ten random stories. Results refreash every five minutes.
Optional
limit - How many images.
callback - Enclose the JSON output in this function name.
Retrive Random Media

Retrive one to ten random media items. Results refreash every five minutes.
Optional
limit - How many items.
callback - Enclose the JSON output in this function name.
Retrive Artists

Retrive an array of artists.
Optional
sort - How to sort the artists, by 'name' or by 'total' items.
callback - Enclose the JSON output in this function name.
Retrive Tags

Retrive an array of tags/keywords.
Optional
group - If set, tags will be grouped by type.
sort - How to sort the tags, by 'name' or by 'total' items.
callback - Enclose the JSON output in this function name.
Retrive Ratings

Retrive a listing of ratings and their ID numbers.
Optional
callback - Enclose the JSON output in this function name.
Retrive Sites

Retrive a listing of websites and their ID numbers.
Optional
callback - Enclose the JSON output in this function name.
Retrive Media Types

Retrive a listing of media types on the site and their ID numbers.
Optional
callback - Enclose the JSON output in this function name.
Retrive Tag Types

Retrive a listing of tag/keyword types on the site and their ID numbers.
Optional
callback - Enclose the JSON output in this function name.
Retrive Site Info

Retrive information on how much media is indexed on the site.
Update: Added new fields for translations, audio books, and comics.
Optional
callback - Enclose the JSON output in this function name.

Credits for some of the awesome resources used on this site:
Many ponies created with Pony Creator by General Zoi. Undertaker Macintosh image by Amana07. Cloud image by Qsteel. Blood brushs by Shad0w-GFX. Rifle image by NarkoHunt. Lil Macintosh image by otherone1. Hay image by SierraEx. Hay and Barrel images by Stabzor. Urn by Trotsworth. Icon Font is provided by Font Awesome Bootstrap is used for layout. Linux Web Hosting By Arvixe. Developers, there is an API on this site, please don't abuse it too much...