ponyfac.es - API Reference

Before you read on

If you only want to display the image in your client and already have the number/id of a face, you don't need to use the API at all. Just add /full (for the full-sized image) or /thumb (for the thumbnail) to its URL to get it.

Example:
http://ponyfac.es/1/full
http://ponyfac.es/1/thumb

How to use the API

A typical API call looks like this:
http://ponyfac.es/api.json/tag:happy

The URL parts explained:

The API endpoint URL. It always stays the same, just copy it from above.

The URL parameter, depending on the command. Not every command needs a parameter - see the examples below for more info.

Examples

Get data by id

See the example below to learn how to get a faces data by its id:

Requested URL: http://ponyfac.es/api.json/id:1
Response in JSON format:
{"timestamp":1467132192,"total_faces":"161","total_views":"383034","faces":[{"id":"1","views":"25585","enabled":"1","link":"http:\/\/ponyfac.es\/1","image":"http:\/\/ponyfac.es\/1\/full","thumbnail":"http:\/\/ponyfac.es\/1\/thumb","category":{"id":"6","name":"Pinkie Pie"},"tags":["clap","happy","pinkie pie"]}]}
Requested URL: http://ponyfac.es/api.jsonp:myJSONPcallback/id:1
Response in JSONP format:
myJSONPcallback({"timestamp":1467132192,"total_faces":"161","total_views":"383034","faces":[{"id":"1","views":"25585","enabled":"1","link":"http:\/\/ponyfac.es\/1","image":"http:\/\/ponyfac.es\/1\/full","thumbnail":"http:\/\/ponyfac.es\/1\/thumb","category":{"id":"6","name":"Pinkie Pie"},"tags":["clap","happy","pinkie pie"]}]});
Requested URL: http://ponyfac.es/api.xml/id:1
Response in XML format:
<?xml version="1.0"?>
<response><timestamp>1467132192</timestamp><total_faces>161</total_faces><total_views>383034</total_views><faces><item_0><id>1</id><views>25585</views><enabled>1</enabled><link>http://ponyfac.es/1</link><image>http://ponyfac.es/1/full</image><thumbnail>http://ponyfac.es/1/thumb</thumbnail><category><id>6</id><name>Pinkie Pie</name></category><tags><item_0>clap</item_0><item_1>happy</item_1><item_2>pinkie pie</item_2></tags></item_0></faces></response>

If you want to get data for multiple faces just pass several comma-separated ids like so:

Requested URL: http://ponyfac.es/api.json/id:23,42
Response in JSON format:
{"timestamp":1467132192,"total_faces":"161","total_views":"383034","faces":[{"id":"23","views":"1543","enabled":"1","link":"http:\/\/ponyfac.es\/23","image":"http:\/\/ponyfac.es\/23\/full","thumbnail":"http:\/\/ponyfac.es\/23\/thumb","category":{"id":"4","name":"Twilight Sparkle"},"tags":["twilight sparkle"]},{"id":"42","views":"395","enabled":"1","link":"http:\/\/ponyfac.es\/42","image":"http:\/\/ponyfac.es\/42\/full","thumbnail":"http:\/\/ponyfac.es\/42\/thumb","category":{"id":"6","name":"Pinkie Pie"},"tags":["pinkie pie"]}]}
Requested URL: http://ponyfac.es/api.jsonp:myJSONPcallback/id:23,42
Response in JSONP format:
myJSONPcallback({"timestamp":1467132192,"total_faces":"161","total_views":"383034","faces":[{"id":"23","views":"1543","enabled":"1","link":"http:\/\/ponyfac.es\/23","image":"http:\/\/ponyfac.es\/23\/full","thumbnail":"http:\/\/ponyfac.es\/23\/thumb","category":{"id":"4","name":"Twilight Sparkle"},"tags":["twilight sparkle"]},{"id":"42","views":"395","enabled":"1","link":"http:\/\/ponyfac.es\/42","image":"http:\/\/ponyfac.es\/42\/full","thumbnail":"http:\/\/ponyfac.es\/42\/thumb","category":{"id":"6","name":"Pinkie Pie"},"tags":["pinkie pie"]}]});
Requested URL: http://ponyfac.es/api.xml/id:23,42
Response in XML format:
<?xml version="1.0"?>
<response><timestamp>1467132192</timestamp><total_faces>161</total_faces><total_views>383034</total_views><faces><item_0><id>23</id><views>1543</views><enabled>1</enabled><link>http://ponyfac.es/23</link><image>http://ponyfac.es/23/full</image><thumbnail>http://ponyfac.es/23/thumb</thumbnail><category><id>4</id><name>Twilight Sparkle</name></category><tags><item_0>twilight sparkle</item_0></tags></item_0><item_1><id>42</id><views>395</views><enabled>1</enabled><link>http://ponyfac.es/42</link><image>http://ponyfac.es/42/full</image><thumbnail>http://ponyfac.es/42/thumb</thumbnail><category><id>6</id><name>Pinkie Pie</name></category><tags><item_0>pinkie pie</item_0></tags></item_1></faces></response>

Get data by tag

You can also receive all faces that match a given tag. To do so, pass in the tag:

Requested URL: http://ponyfac.es/api.json/tag:happy
Response in JSON format:
{"timestamp":1467132192,"total_faces":"161","total_views":"383034","faces":[{"id":"1","views":"25585","enabled":"1","link":"http:\/\/ponyfac.es\/1","image":"http:\/\/ponyfac.es\/1\/full","thumbnail":"http:\/\/ponyfac.es\/1\/thumb","category":{"id":"6","name":"Pinkie Pie"},"tags":["clap","happy","pinkie pie"]},{"id":"3","views":"3958","enabled":"1","link":"http:\/\/ponyfac.es\/3","image":"http:\/\/ponyfac.es\/3\/full","thumbnail":"http:\/\/ponyfac.es\/3\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["happy","lol","rainbow dash"]},{"id":"12","views":"3709","enabled":"1","link":"http:\/\/ponyfac.es\/12","image":"http:\/\/ponyfac.es\/12\/full","thumbnail":"http:\/\/ponyfac.es\/12\/thumb","category":{"id":"2","name":"Fluttershy"},"tags":["fluttershy","happy"]},{"id":"52","views":"6710","enabled":"1","link":"http:\/\/ponyfac.es\/52","image":"http:\/\/ponyfac.es\/52\/full","thumbnail":"http:\/\/ponyfac.es\/52\/thumb","category":{"id":"4","name":"Twilight Sparkle"},"tags":["clap","happy","twilight sparkle"]},{"id":"93","views":"2357","enabled":"1","link":"http:\/\/ponyfac.es\/93","image":"http:\/\/ponyfac.es\/93\/full","thumbnail":"http:\/\/ponyfac.es\/93\/thumb","category":{"id":"6","name":"Pinkie Pie"},"tags":["happy","number one","pinkie pie"]},{"id":"107","views":"2614","enabled":"1","link":"http:\/\/ponyfac.es\/107","image":"http:\/\/ponyfac.es\/107\/full","thumbnail":"http:\/\/ponyfac.es\/107\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["cloud","happy","rainbow dash"]},{"id":"157","views":"1514","enabled":"1","link":"http:\/\/ponyfac.es\/157","image":"http:\/\/ponyfac.es\/157\/full","thumbnail":"http:\/\/ponyfac.es\/157\/thumb","category":{"id":"3","name":"Rarity"},"tags":["happy","rarity","smile","yay"]}]}
Requested URL: http://ponyfac.es/api.jsonp:myJSONPcallback/tag:happy
Response in JSONP format:
myJSONPcallback({"timestamp":1467132192,"total_faces":"161","total_views":"383034","faces":[{"id":"1","views":"25585","enabled":"1","link":"http:\/\/ponyfac.es\/1","image":"http:\/\/ponyfac.es\/1\/full","thumbnail":"http:\/\/ponyfac.es\/1\/thumb","category":{"id":"6","name":"Pinkie Pie"},"tags":["clap","happy","pinkie pie"]},{"id":"3","views":"3958","enabled":"1","link":"http:\/\/ponyfac.es\/3","image":"http:\/\/ponyfac.es\/3\/full","thumbnail":"http:\/\/ponyfac.es\/3\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["happy","lol","rainbow dash"]},{"id":"12","views":"3709","enabled":"1","link":"http:\/\/ponyfac.es\/12","image":"http:\/\/ponyfac.es\/12\/full","thumbnail":"http:\/\/ponyfac.es\/12\/thumb","category":{"id":"2","name":"Fluttershy"},"tags":["fluttershy","happy"]},{"id":"52","views":"6710","enabled":"1","link":"http:\/\/ponyfac.es\/52","image":"http:\/\/ponyfac.es\/52\/full","thumbnail":"http:\/\/ponyfac.es\/52\/thumb","category":{"id":"4","name":"Twilight Sparkle"},"tags":["clap","happy","twilight sparkle"]},{"id":"93","views":"2357","enabled":"1","link":"http:\/\/ponyfac.es\/93","image":"http:\/\/ponyfac.es\/93\/full","thumbnail":"http:\/\/ponyfac.es\/93\/thumb","category":{"id":"6","name":"Pinkie Pie"},"tags":["happy","number one","pinkie pie"]},{"id":"107","views":"2614","enabled":"1","link":"http:\/\/ponyfac.es\/107","image":"http:\/\/ponyfac.es\/107\/full","thumbnail":"http:\/\/ponyfac.es\/107\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["cloud","happy","rainbow dash"]},{"id":"157","views":"1514","enabled":"1","link":"http:\/\/ponyfac.es\/157","image":"http:\/\/ponyfac.es\/157\/full","thumbnail":"http:\/\/ponyfac.es\/157\/thumb","category":{"id":"3","name":"Rarity"},"tags":["happy","rarity","smile","yay"]}]});
Requested URL: http://ponyfac.es/api.xml/tag:happy
Response in XML format:
<?xml version="1.0"?>
<response><timestamp>1467132192</timestamp><total_faces>161</total_faces><total_views>383034</total_views><faces><item_0><id>1</id><views>25585</views><enabled>1</enabled><link>http://ponyfac.es/1</link><image>http://ponyfac.es/1/full</image><thumbnail>http://ponyfac.es/1/thumb</thumbnail><category><id>6</id><name>Pinkie Pie</name></category><tags><item_0>clap</item_0><item_1>happy</item_1><item_2>pinkie pie</item_2></tags></item_0><item_1><id>3</id><views>3958</views><enabled>1</enabled><link>http://ponyfac.es/3</link><image>http://ponyfac.es/3/full</image><thumbnail>http://ponyfac.es/3/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>happy</item_0><item_1>lol</item_1><item_2>rainbow dash</item_2></tags></item_1><item_2><id>12</id><views>3709</views><enabled>1</enabled><link>http://ponyfac.es/12</link><image>http://ponyfac.es/12/full</image><thumbnail>http://ponyfac.es/12/thumb</thumbnail><category><id>2</id><name>Fluttershy</name></category><tags><item_0>fluttershy</item_0><item_1>happy</item_1></tags></item_2><item_3><id>52</id><views>6710</views><enabled>1</enabled><link>http://ponyfac.es/52</link><image>http://ponyfac.es/52/full</image><thumbnail>http://ponyfac.es/52/thumb</thumbnail><category><id>4</id><name>Twilight Sparkle</name></category><tags><item_0>clap</item_0><item_1>happy</item_1><item_2>twilight sparkle</item_2></tags></item_3><item_4><id>93</id><views>2357</views><enabled>1</enabled><link>http://ponyfac.es/93</link><image>http://ponyfac.es/93/full</image><thumbnail>http://ponyfac.es/93/thumb</thumbnail><category><id>6</id><name>Pinkie Pie</name></category><tags><item_0>happy</item_0><item_1>number one</item_1><item_2>pinkie pie</item_2></tags></item_4><item_5><id>107</id><views>2614</views><enabled>1</enabled><link>http://ponyfac.es/107</link><image>http://ponyfac.es/107/full</image><thumbnail>http://ponyfac.es/107/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>cloud</item_0><item_1>happy</item_1><item_2>rainbow dash</item_2></tags></item_5><item_6><id>157</id><views>1514</views><enabled>1</enabled><link>http://ponyfac.es/157</link><image>http://ponyfac.es/157/full</image><thumbnail>http://ponyfac.es/157/thumb</thumbnail><category><id>3</id><name>Rarity</name></category><tags><item_0>happy</item_0><item_1>rarity</item_1><item_2>smile</item_2><item_3>yay</item_3></tags></item_6></faces></response>

Get list of all available tags

Call the URL from the example below to get a list of all available tags:

Requested URL: http://ponyfac.es/api.json/tags
Response in JSON format:
{"timestamp":1467132192,"total_faces":"161","total_views":"383034","tags":["20%","abracadabra","ahhhhhhhh yeeeey","angry","annoyed","apple","apple bloom","applejack","armored","attack","awesome","awkward","aye","baby","bazooka","be honest","bed","birthday","bite me","blink","blush","bowl","brohoof","brohug","bubble","bugged","bye","cake","candy","cannon","chainsaw","che","christmas","chubby","clap","cloud","confused","cool","crazy","creepy","cry","curious","dance","derpy","detective","disappointed","disgusted","doctor","drinking","duck face","eat","ew","excellent","excited","fabulous","facehoof","facepalm","fire","flattered","flausch","fluffy","fluttershy","food","frag","gape","grimace","hamster","happy","haters","headbang","heart","hidden","hide","hipster","horror","hospital","hug","hungry","irritated","jump","kiss","laugh","like a boss","lol","love","lyra","mad","map","marvel","medic","mimimi","monocle","moustache","nightmare moon","no","no fuck was given","nodding","not again","not sure if","number one","nurse","O.O","oh no","patriot","pffs","pie","pinke pie","pinkie pie","pissed","plan","proud","puke","rage","rainbow","rainbow dash","rarity","researching","rofl","run","sad","santa","scared","scientist","scootaloo","serious","sexy","shake","sherlock","shrug","shy","sick","silly","sleep","sleeping","sleepy","smile","smoke","snore","sob","spa","spike","spin","stunned","sunglasses","surprise","sweetie belle","taunt","tear","tears","tease","technicolor","tell me","terrified","think","thinking","tired","tongue","trixie","tron","twilight sparkle","war","wave","weird","wet","what","why","wink","wondering","worried","xmas","yawn","yay","yearning"]}
Requested URL: http://ponyfac.es/api.jsonp:myJSONPcallback/tags
Response in JSONP format:
myJSONPcallback({"timestamp":1467132192,"total_faces":"161","total_views":"383034","tags":["20%","abracadabra","ahhhhhhhh yeeeey","angry","annoyed","apple","apple bloom","applejack","armored","attack","awesome","awkward","aye","baby","bazooka","be honest","bed","birthday","bite me","blink","blush","bowl","brohoof","brohug","bubble","bugged","bye","cake","candy","cannon","chainsaw","che","christmas","chubby","clap","cloud","confused","cool","crazy","creepy","cry","curious","dance","derpy","detective","disappointed","disgusted","doctor","drinking","duck face","eat","ew","excellent","excited","fabulous","facehoof","facepalm","fire","flattered","flausch","fluffy","fluttershy","food","frag","gape","grimace","hamster","happy","haters","headbang","heart","hidden","hide","hipster","horror","hospital","hug","hungry","irritated","jump","kiss","laugh","like a boss","lol","love","lyra","mad","map","marvel","medic","mimimi","monocle","moustache","nightmare moon","no","no fuck was given","nodding","not again","not sure if","number one","nurse","O.O","oh no","patriot","pffs","pie","pinke pie","pinkie pie","pissed","plan","proud","puke","rage","rainbow","rainbow dash","rarity","researching","rofl","run","sad","santa","scared","scientist","scootaloo","serious","sexy","shake","sherlock","shrug","shy","sick","silly","sleep","sleeping","sleepy","smile","smoke","snore","sob","spa","spike","spin","stunned","sunglasses","surprise","sweetie belle","taunt","tear","tears","tease","technicolor","tell me","terrified","think","thinking","tired","tongue","trixie","tron","twilight sparkle","war","wave","weird","wet","what","why","wink","wondering","worried","xmas","yawn","yay","yearning"]});
Requested URL: http://ponyfac.es/api.xml/tags
Response in XML format:
<?xml version="1.0"?>
<response><timestamp>1467132192</timestamp><total_faces>161</total_faces><total_views>383034</total_views><tags><item_0>20%</item_0><item_1>abracadabra</item_1><item_2>ahhhhhhhh yeeeey</item_2><item_3>angry</item_3><item_4>annoyed</item_4><item_5>apple</item_5><item_6>apple bloom</item_6><item_7>applejack</item_7><item_8>armored</item_8><item_9>attack</item_9><item_10>awesome</item_10><item_11>awkward</item_11><item_12>aye</item_12><item_13>baby</item_13><item_14>bazooka</item_14><item_15>be honest</item_15><item_16>bed</item_16><item_17>birthday</item_17><item_18>bite me</item_18><item_19>blink</item_19><item_20>blush</item_20><item_21>bowl</item_21><item_22>brohoof</item_22><item_23>brohug</item_23><item_24>bubble</item_24><item_25>bugged</item_25><item_26>bye</item_26><item_27>cake</item_27><item_28>candy</item_28><item_29>cannon</item_29><item_30>chainsaw</item_30><item_31>che</item_31><item_32>christmas</item_32><item_33>chubby</item_33><item_34>clap</item_34><item_35>cloud</item_35><item_36>confused</item_36><item_37>cool</item_37><item_38>crazy</item_38><item_39>creepy</item_39><item_40>cry</item_40><item_41>curious</item_41><item_42>dance</item_42><item_43>derpy</item_43><item_44>detective</item_44><item_45>disappointed</item_45><item_46>disgusted</item_46><item_47>doctor</item_47><item_48>drinking</item_48><item_49>duck face</item_49><item_50>eat</item_50><item_51>ew</item_51><item_52>excellent</item_52><item_53>excited</item_53><item_54>fabulous</item_54><item_55>facehoof</item_55><item_56>facepalm</item_56><item_57>fire</item_57><item_58>flattered</item_58><item_59>flausch</item_59><item_60>fluffy</item_60><item_61>fluttershy</item_61><item_62>food</item_62><item_63>frag</item_63><item_64>gape</item_64><item_65>grimace</item_65><item_66>hamster</item_66><item_67>happy</item_67><item_68>haters</item_68><item_69>headbang</item_69><item_70>heart</item_70><item_71>hidden</item_71><item_72>hide</item_72><item_73>hipster</item_73><item_74>horror</item_74><item_75>hospital</item_75><item_76>hug</item_76><item_77>hungry</item_77><item_78>irritated</item_78><item_79>jump</item_79><item_80>kiss</item_80><item_81>laugh</item_81><item_82>like a boss</item_82><item_83>lol</item_83><item_84>love</item_84><item_85>lyra</item_85><item_86>mad</item_86><item_87>map</item_87><item_88>marvel</item_88><item_89>medic</item_89><item_90>mimimi</item_90><item_91>monocle</item_91><item_92>moustache</item_92><item_93>nightmare moon</item_93><item_94>no</item_94><item_95>no fuck was given</item_95><item_96>nodding</item_96><item_97>not again</item_97><item_98>not sure if</item_98><item_99>number one</item_99><item_100>nurse</item_100><item_101>O.O</item_101><item_102>oh no</item_102><item_103>patriot</item_103><item_104>pffs</item_104><item_105>pie</item_105><item_106>pinke pie</item_106><item_107>pinkie pie</item_107><item_108>pissed</item_108><item_109>plan</item_109><item_110>proud</item_110><item_111>puke</item_111><item_112>rage</item_112><item_113>rainbow</item_113><item_114>rainbow dash</item_114><item_115>rarity</item_115><item_116>researching</item_116><item_117>rofl</item_117><item_118>run</item_118><item_119>sad</item_119><item_120>santa</item_120><item_121>scared</item_121><item_122>scientist</item_122><item_123>scootaloo</item_123><item_124>serious</item_124><item_125>sexy</item_125><item_126>shake</item_126><item_127>sherlock</item_127><item_128>shrug</item_128><item_129>shy</item_129><item_130>sick</item_130><item_131>silly</item_131><item_132>sleep</item_132><item_133>sleeping</item_133><item_134>sleepy</item_134><item_135>smile</item_135><item_136>smoke</item_136><item_137>snore</item_137><item_138>sob</item_138><item_139>spa</item_139><item_140>spike</item_140><item_141>spin</item_141><item_142>stunned</item_142><item_143>sunglasses</item_143><item_144>surprise</item_144><item_145>sweetie belle</item_145><item_146>taunt</item_146><item_147>tear</item_147><item_148>tears</item_148><item_149>tease</item_149><item_150>technicolor</item_150><item_151>tell me</item_151><item_152>terrified</item_152><item_153>think</item_153><item_154>thinking</item_154><item_155>tired</item_155><item_156>tongue</item_156><item_157>trixie</item_157><item_158>tron</item_158><item_159>twilight sparkle</item_159><item_160>war</item_160><item_161>wave</item_161><item_162>weird</item_162><item_163>wet</item_163><item_164>what</item_164><item_165>why</item_165><item_166>wink</item_166><item_167>wondering</item_167><item_168>worried</item_168><item_169>xmas</item_169><item_170>yawn</item_170><item_171>yay</item_171><item_172>yearning</item_172></tags></response>

Get data by category

To get all faces in a given category you can pass in a category id:

Requested URL: http://ponyfac.es/api.json/category:1
Response in JSON format:
{"timestamp":1467132192,"total_faces":"161","total_views":"383034","faces":[{"id":"3","views":"3958","enabled":"1","link":"http:\/\/ponyfac.es\/3","image":"http:\/\/ponyfac.es\/3\/full","thumbnail":"http:\/\/ponyfac.es\/3\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["happy","lol","rainbow dash"]},{"id":"5","views":"3828","enabled":"1","link":"http:\/\/ponyfac.es\/5","image":"http:\/\/ponyfac.es\/5\/full","thumbnail":"http:\/\/ponyfac.es\/5\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["rainbow dash"]},{"id":"7","views":"3128","enabled":"1","link":"http:\/\/ponyfac.es\/7","image":"http:\/\/ponyfac.es\/7\/full","thumbnail":"http:\/\/ponyfac.es\/7\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["aye","patriot","rainbow dash"]},{"id":"8","views":"1389","enabled":"1","link":"http:\/\/ponyfac.es\/8","image":"http:\/\/ponyfac.es\/8\/full","thumbnail":"http:\/\/ponyfac.es\/8\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["rainbow dash"]},{"id":"11","views":"4041","enabled":"1","link":"http:\/\/ponyfac.es\/11","image":"http:\/\/ponyfac.es\/11\/full","thumbnail":"http:\/\/ponyfac.es\/11\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["disappointed","rainbow dash"]},{"id":"18","views":"2428","enabled":"1","link":"http:\/\/ponyfac.es\/18","image":"http:\/\/ponyfac.es\/18\/full","thumbnail":"http:\/\/ponyfac.es\/18\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["rainbow dash","what"]},{"id":"20","views":"2301","enabled":"1","link":"http:\/\/ponyfac.es\/20","image":"http:\/\/ponyfac.es\/20\/full","thumbnail":"http:\/\/ponyfac.es\/20\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["rainbow dash","scared","terrified"]},{"id":"38","views":"1152","enabled":"1","link":"http:\/\/ponyfac.es\/38","image":"http:\/\/ponyfac.es\/38\/full","thumbnail":"http:\/\/ponyfac.es\/38\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["rainbow dash"]},{"id":"43","views":"1710","enabled":"1","link":"http:\/\/ponyfac.es\/43","image":"http:\/\/ponyfac.es\/43\/full","thumbnail":"http:\/\/ponyfac.es\/43\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["like a boss","rainbow dash"]},{"id":"55","views":"5546","enabled":"1","link":"http:\/\/ponyfac.es\/55","image":"http:\/\/ponyfac.es\/55\/full","thumbnail":"http:\/\/ponyfac.es\/55\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["rainbow dash"]},{"id":"59","views":"3488","enabled":"1","link":"http:\/\/ponyfac.es\/59","image":"http:\/\/ponyfac.es\/59\/full","thumbnail":"http:\/\/ponyfac.es\/59\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["hipster","map","rainbow dash"]},{"id":"63","views":"2922","enabled":"1","link":"http:\/\/ponyfac.es\/63","image":"http:\/\/ponyfac.es\/63\/full","thumbnail":"http:\/\/ponyfac.es\/63\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["rainbow dash"]},{"id":"78","views":"3718","enabled":"1","link":"http:\/\/ponyfac.es\/78","image":"http:\/\/ponyfac.es\/78\/full","thumbnail":"http:\/\/ponyfac.es\/78\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["rainbow dash","scared"]},{"id":"79","views":"3849","enabled":"1","link":"http:\/\/ponyfac.es\/79","image":"http:\/\/ponyfac.es\/79\/full","thumbnail":"http:\/\/ponyfac.es\/79\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["grimace","rainbow dash"]},{"id":"80","views":"3804","enabled":"1","link":"http:\/\/ponyfac.es\/80","image":"http:\/\/ponyfac.es\/80\/full","thumbnail":"http:\/\/ponyfac.es\/80\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["heart","love","rainbow dash"]},{"id":"89","views":"1673","enabled":"1","link":"http:\/\/ponyfac.es\/89","image":"http:\/\/ponyfac.es\/89\/full","thumbnail":"http:\/\/ponyfac.es\/89\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["rainbow dash","wave"]},{"id":"92","views":"5687","enabled":"1","link":"http:\/\/ponyfac.es\/92","image":"http:\/\/ponyfac.es\/92\/full","thumbnail":"http:\/\/ponyfac.es\/92\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["angry","rainbow dash"]},{"id":"96","views":"1092","enabled":"1","link":"http:\/\/ponyfac.es\/96","image":"http:\/\/ponyfac.es\/96\/full","thumbnail":"http:\/\/ponyfac.es\/96\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["chubby","hamster","no fuck was given","rainbow dash"]},{"id":"98","views":"946","enabled":"1","link":"http:\/\/ponyfac.es\/98","image":"http:\/\/ponyfac.es\/98\/full","thumbnail":"http:\/\/ponyfac.es\/98\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["rainbow dash"]},{"id":"99","views":"4535","enabled":"1","link":"http:\/\/ponyfac.es\/99","image":"http:\/\/ponyfac.es\/99\/full","thumbnail":"http:\/\/ponyfac.es\/99\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["20%","cool","rainbow dash"]},{"id":"107","views":"2614","enabled":"1","link":"http:\/\/ponyfac.es\/107","image":"http:\/\/ponyfac.es\/107\/full","thumbnail":"http:\/\/ponyfac.es\/107\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["cloud","happy","rainbow dash"]},{"id":"108","views":"1973","enabled":"1","link":"http:\/\/ponyfac.es\/108","image":"http:\/\/ponyfac.es\/108\/full","thumbnail":"http:\/\/ponyfac.es\/108\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["monocle","rainbow dash"]},{"id":"111","views":"1392","enabled":"1","link":"http:\/\/ponyfac.es\/111","image":"http:\/\/ponyfac.es\/111\/full","thumbnail":"http:\/\/ponyfac.es\/111\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["nodding","rainbow dash"]},{"id":"129","views":"8697","enabled":"1","link":"http:\/\/ponyfac.es\/129","image":"http:\/\/ponyfac.es\/129\/full","thumbnail":"http:\/\/ponyfac.es\/129\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["angry","fire","rage","rainbow dash"]},{"id":"130","views":"3431","enabled":"1","link":"http:\/\/ponyfac.es\/130","image":"http:\/\/ponyfac.es\/130\/full","thumbnail":"http:\/\/ponyfac.es\/130\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["ahhhhhhhh yeeeey","puke","rainbow dash"]},{"id":"131","views":"3792","enabled":"1","link":"http:\/\/ponyfac.es\/131","image":"http:\/\/ponyfac.es\/131\/full","thumbnail":"http:\/\/ponyfac.es\/131\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["rainbow dash","war"]},{"id":"134","views":"5317","enabled":"1","link":"http:\/\/ponyfac.es\/134","image":"http:\/\/ponyfac.es\/134\/full","thumbnail":"http:\/\/ponyfac.es\/134\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["facehoof","facepalm","rainbow dash"]},{"id":"136","views":"5508","enabled":"1","link":"http:\/\/ponyfac.es\/136","image":"http:\/\/ponyfac.es\/136\/full","thumbnail":"http:\/\/ponyfac.es\/136\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["bed","hospital","rainbow dash","sick"]},{"id":"138","views":"4498","enabled":"1","link":"http:\/\/ponyfac.es\/138","image":"http:\/\/ponyfac.es\/138\/full","thumbnail":"http:\/\/ponyfac.es\/138\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["cry","rainbow dash","sad","tear"]},{"id":"154","views":"793","enabled":"1","link":"http:\/\/ponyfac.es\/154","image":"http:\/\/ponyfac.es\/154\/full","thumbnail":"http:\/\/ponyfac.es\/154\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["abracadabra","rainbow dash"]},{"id":"158","views":"689","enabled":"1","link":"http:\/\/ponyfac.es\/158","image":"http:\/\/ponyfac.es\/158\/full","thumbnail":"http:\/\/ponyfac.es\/158\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["rainbow dash"]},{"id":"159","views":"1020","enabled":"1","link":"http:\/\/ponyfac.es\/159","image":"http:\/\/ponyfac.es\/159\/full","thumbnail":"http:\/\/ponyfac.es\/159\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["che","rainbow dash"]}]}
Requested URL: http://ponyfac.es/api.jsonp:myJSONPcallback/category:1
Response in JSONP format:
myJSONPcallback({"timestamp":1467132192,"total_faces":"161","total_views":"383034","faces":[{"id":"3","views":"3958","enabled":"1","link":"http:\/\/ponyfac.es\/3","image":"http:\/\/ponyfac.es\/3\/full","thumbnail":"http:\/\/ponyfac.es\/3\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["happy","lol","rainbow dash"]},{"id":"5","views":"3828","enabled":"1","link":"http:\/\/ponyfac.es\/5","image":"http:\/\/ponyfac.es\/5\/full","thumbnail":"http:\/\/ponyfac.es\/5\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["rainbow dash"]},{"id":"7","views":"3128","enabled":"1","link":"http:\/\/ponyfac.es\/7","image":"http:\/\/ponyfac.es\/7\/full","thumbnail":"http:\/\/ponyfac.es\/7\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["aye","patriot","rainbow dash"]},{"id":"8","views":"1389","enabled":"1","link":"http:\/\/ponyfac.es\/8","image":"http:\/\/ponyfac.es\/8\/full","thumbnail":"http:\/\/ponyfac.es\/8\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["rainbow dash"]},{"id":"11","views":"4041","enabled":"1","link":"http:\/\/ponyfac.es\/11","image":"http:\/\/ponyfac.es\/11\/full","thumbnail":"http:\/\/ponyfac.es\/11\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["disappointed","rainbow dash"]},{"id":"18","views":"2428","enabled":"1","link":"http:\/\/ponyfac.es\/18","image":"http:\/\/ponyfac.es\/18\/full","thumbnail":"http:\/\/ponyfac.es\/18\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["rainbow dash","what"]},{"id":"20","views":"2301","enabled":"1","link":"http:\/\/ponyfac.es\/20","image":"http:\/\/ponyfac.es\/20\/full","thumbnail":"http:\/\/ponyfac.es\/20\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["rainbow dash","scared","terrified"]},{"id":"38","views":"1152","enabled":"1","link":"http:\/\/ponyfac.es\/38","image":"http:\/\/ponyfac.es\/38\/full","thumbnail":"http:\/\/ponyfac.es\/38\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["rainbow dash"]},{"id":"43","views":"1710","enabled":"1","link":"http:\/\/ponyfac.es\/43","image":"http:\/\/ponyfac.es\/43\/full","thumbnail":"http:\/\/ponyfac.es\/43\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["like a boss","rainbow dash"]},{"id":"55","views":"5546","enabled":"1","link":"http:\/\/ponyfac.es\/55","image":"http:\/\/ponyfac.es\/55\/full","thumbnail":"http:\/\/ponyfac.es\/55\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["rainbow dash"]},{"id":"59","views":"3488","enabled":"1","link":"http:\/\/ponyfac.es\/59","image":"http:\/\/ponyfac.es\/59\/full","thumbnail":"http:\/\/ponyfac.es\/59\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["hipster","map","rainbow dash"]},{"id":"63","views":"2922","enabled":"1","link":"http:\/\/ponyfac.es\/63","image":"http:\/\/ponyfac.es\/63\/full","thumbnail":"http:\/\/ponyfac.es\/63\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["rainbow dash"]},{"id":"78","views":"3718","enabled":"1","link":"http:\/\/ponyfac.es\/78","image":"http:\/\/ponyfac.es\/78\/full","thumbnail":"http:\/\/ponyfac.es\/78\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["rainbow dash","scared"]},{"id":"79","views":"3849","enabled":"1","link":"http:\/\/ponyfac.es\/79","image":"http:\/\/ponyfac.es\/79\/full","thumbnail":"http:\/\/ponyfac.es\/79\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["grimace","rainbow dash"]},{"id":"80","views":"3804","enabled":"1","link":"http:\/\/ponyfac.es\/80","image":"http:\/\/ponyfac.es\/80\/full","thumbnail":"http:\/\/ponyfac.es\/80\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["heart","love","rainbow dash"]},{"id":"89","views":"1673","enabled":"1","link":"http:\/\/ponyfac.es\/89","image":"http:\/\/ponyfac.es\/89\/full","thumbnail":"http:\/\/ponyfac.es\/89\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["rainbow dash","wave"]},{"id":"92","views":"5687","enabled":"1","link":"http:\/\/ponyfac.es\/92","image":"http:\/\/ponyfac.es\/92\/full","thumbnail":"http:\/\/ponyfac.es\/92\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["angry","rainbow dash"]},{"id":"96","views":"1092","enabled":"1","link":"http:\/\/ponyfac.es\/96","image":"http:\/\/ponyfac.es\/96\/full","thumbnail":"http:\/\/ponyfac.es\/96\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["chubby","hamster","no fuck was given","rainbow dash"]},{"id":"98","views":"946","enabled":"1","link":"http:\/\/ponyfac.es\/98","image":"http:\/\/ponyfac.es\/98\/full","thumbnail":"http:\/\/ponyfac.es\/98\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["rainbow dash"]},{"id":"99","views":"4535","enabled":"1","link":"http:\/\/ponyfac.es\/99","image":"http:\/\/ponyfac.es\/99\/full","thumbnail":"http:\/\/ponyfac.es\/99\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["20%","cool","rainbow dash"]},{"id":"107","views":"2614","enabled":"1","link":"http:\/\/ponyfac.es\/107","image":"http:\/\/ponyfac.es\/107\/full","thumbnail":"http:\/\/ponyfac.es\/107\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["cloud","happy","rainbow dash"]},{"id":"108","views":"1973","enabled":"1","link":"http:\/\/ponyfac.es\/108","image":"http:\/\/ponyfac.es\/108\/full","thumbnail":"http:\/\/ponyfac.es\/108\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["monocle","rainbow dash"]},{"id":"111","views":"1392","enabled":"1","link":"http:\/\/ponyfac.es\/111","image":"http:\/\/ponyfac.es\/111\/full","thumbnail":"http:\/\/ponyfac.es\/111\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["nodding","rainbow dash"]},{"id":"129","views":"8697","enabled":"1","link":"http:\/\/ponyfac.es\/129","image":"http:\/\/ponyfac.es\/129\/full","thumbnail":"http:\/\/ponyfac.es\/129\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["angry","fire","rage","rainbow dash"]},{"id":"130","views":"3431","enabled":"1","link":"http:\/\/ponyfac.es\/130","image":"http:\/\/ponyfac.es\/130\/full","thumbnail":"http:\/\/ponyfac.es\/130\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["ahhhhhhhh yeeeey","puke","rainbow dash"]},{"id":"131","views":"3792","enabled":"1","link":"http:\/\/ponyfac.es\/131","image":"http:\/\/ponyfac.es\/131\/full","thumbnail":"http:\/\/ponyfac.es\/131\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["rainbow dash","war"]},{"id":"134","views":"5317","enabled":"1","link":"http:\/\/ponyfac.es\/134","image":"http:\/\/ponyfac.es\/134\/full","thumbnail":"http:\/\/ponyfac.es\/134\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["facehoof","facepalm","rainbow dash"]},{"id":"136","views":"5508","enabled":"1","link":"http:\/\/ponyfac.es\/136","image":"http:\/\/ponyfac.es\/136\/full","thumbnail":"http:\/\/ponyfac.es\/136\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["bed","hospital","rainbow dash","sick"]},{"id":"138","views":"4498","enabled":"1","link":"http:\/\/ponyfac.es\/138","image":"http:\/\/ponyfac.es\/138\/full","thumbnail":"http:\/\/ponyfac.es\/138\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["cry","rainbow dash","sad","tear"]},{"id":"154","views":"793","enabled":"1","link":"http:\/\/ponyfac.es\/154","image":"http:\/\/ponyfac.es\/154\/full","thumbnail":"http:\/\/ponyfac.es\/154\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["abracadabra","rainbow dash"]},{"id":"158","views":"689","enabled":"1","link":"http:\/\/ponyfac.es\/158","image":"http:\/\/ponyfac.es\/158\/full","thumbnail":"http:\/\/ponyfac.es\/158\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["rainbow dash"]},{"id":"159","views":"1020","enabled":"1","link":"http:\/\/ponyfac.es\/159","image":"http:\/\/ponyfac.es\/159\/full","thumbnail":"http:\/\/ponyfac.es\/159\/thumb","category":{"id":"1","name":"Rainbow Dash"},"tags":["che","rainbow dash"]}]});
Requested URL: http://ponyfac.es/api.xml/category:1
Response in XML format:
<?xml version="1.0"?>
<response><timestamp>1467132192</timestamp><total_faces>161</total_faces><total_views>383034</total_views><faces><item_0><id>3</id><views>3958</views><enabled>1</enabled><link>http://ponyfac.es/3</link><image>http://ponyfac.es/3/full</image><thumbnail>http://ponyfac.es/3/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>happy</item_0><item_1>lol</item_1><item_2>rainbow dash</item_2></tags></item_0><item_1><id>5</id><views>3828</views><enabled>1</enabled><link>http://ponyfac.es/5</link><image>http://ponyfac.es/5/full</image><thumbnail>http://ponyfac.es/5/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>rainbow dash</item_0></tags></item_1><item_2><id>7</id><views>3128</views><enabled>1</enabled><link>http://ponyfac.es/7</link><image>http://ponyfac.es/7/full</image><thumbnail>http://ponyfac.es/7/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>aye</item_0><item_1>patriot</item_1><item_2>rainbow dash</item_2></tags></item_2><item_3><id>8</id><views>1389</views><enabled>1</enabled><link>http://ponyfac.es/8</link><image>http://ponyfac.es/8/full</image><thumbnail>http://ponyfac.es/8/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>rainbow dash</item_0></tags></item_3><item_4><id>11</id><views>4041</views><enabled>1</enabled><link>http://ponyfac.es/11</link><image>http://ponyfac.es/11/full</image><thumbnail>http://ponyfac.es/11/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>disappointed</item_0><item_1>rainbow dash</item_1></tags></item_4><item_5><id>18</id><views>2428</views><enabled>1</enabled><link>http://ponyfac.es/18</link><image>http://ponyfac.es/18/full</image><thumbnail>http://ponyfac.es/18/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>rainbow dash</item_0><item_1>what</item_1></tags></item_5><item_6><id>20</id><views>2301</views><enabled>1</enabled><link>http://ponyfac.es/20</link><image>http://ponyfac.es/20/full</image><thumbnail>http://ponyfac.es/20/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>rainbow dash</item_0><item_1>scared</item_1><item_2>terrified</item_2></tags></item_6><item_7><id>38</id><views>1152</views><enabled>1</enabled><link>http://ponyfac.es/38</link><image>http://ponyfac.es/38/full</image><thumbnail>http://ponyfac.es/38/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>rainbow dash</item_0></tags></item_7><item_8><id>43</id><views>1710</views><enabled>1</enabled><link>http://ponyfac.es/43</link><image>http://ponyfac.es/43/full</image><thumbnail>http://ponyfac.es/43/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>like a boss</item_0><item_1>rainbow dash</item_1></tags></item_8><item_9><id>55</id><views>5546</views><enabled>1</enabled><link>http://ponyfac.es/55</link><image>http://ponyfac.es/55/full</image><thumbnail>http://ponyfac.es/55/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>rainbow dash</item_0></tags></item_9><item_10><id>59</id><views>3488</views><enabled>1</enabled><link>http://ponyfac.es/59</link><image>http://ponyfac.es/59/full</image><thumbnail>http://ponyfac.es/59/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>hipster</item_0><item_1>map</item_1><item_2>rainbow dash</item_2></tags></item_10><item_11><id>63</id><views>2922</views><enabled>1</enabled><link>http://ponyfac.es/63</link><image>http://ponyfac.es/63/full</image><thumbnail>http://ponyfac.es/63/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>rainbow dash</item_0></tags></item_11><item_12><id>78</id><views>3718</views><enabled>1</enabled><link>http://ponyfac.es/78</link><image>http://ponyfac.es/78/full</image><thumbnail>http://ponyfac.es/78/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>rainbow dash</item_0><item_1>scared</item_1></tags></item_12><item_13><id>79</id><views>3849</views><enabled>1</enabled><link>http://ponyfac.es/79</link><image>http://ponyfac.es/79/full</image><thumbnail>http://ponyfac.es/79/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>grimace</item_0><item_1>rainbow dash</item_1></tags></item_13><item_14><id>80</id><views>3804</views><enabled>1</enabled><link>http://ponyfac.es/80</link><image>http://ponyfac.es/80/full</image><thumbnail>http://ponyfac.es/80/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>heart</item_0><item_1>love</item_1><item_2>rainbow dash</item_2></tags></item_14><item_15><id>89</id><views>1673</views><enabled>1</enabled><link>http://ponyfac.es/89</link><image>http://ponyfac.es/89/full</image><thumbnail>http://ponyfac.es/89/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>rainbow dash</item_0><item_1>wave</item_1></tags></item_15><item_16><id>92</id><views>5687</views><enabled>1</enabled><link>http://ponyfac.es/92</link><image>http://ponyfac.es/92/full</image><thumbnail>http://ponyfac.es/92/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>angry</item_0><item_1>rainbow dash</item_1></tags></item_16><item_17><id>96</id><views>1092</views><enabled>1</enabled><link>http://ponyfac.es/96</link><image>http://ponyfac.es/96/full</image><thumbnail>http://ponyfac.es/96/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>chubby</item_0><item_1>hamster</item_1><item_2>no fuck was given</item_2><item_3>rainbow dash</item_3></tags></item_17><item_18><id>98</id><views>946</views><enabled>1</enabled><link>http://ponyfac.es/98</link><image>http://ponyfac.es/98/full</image><thumbnail>http://ponyfac.es/98/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>rainbow dash</item_0></tags></item_18><item_19><id>99</id><views>4535</views><enabled>1</enabled><link>http://ponyfac.es/99</link><image>http://ponyfac.es/99/full</image><thumbnail>http://ponyfac.es/99/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>20%</item_0><item_1>cool</item_1><item_2>rainbow dash</item_2></tags></item_19><item_20><id>107</id><views>2614</views><enabled>1</enabled><link>http://ponyfac.es/107</link><image>http://ponyfac.es/107/full</image><thumbnail>http://ponyfac.es/107/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>cloud</item_0><item_1>happy</item_1><item_2>rainbow dash</item_2></tags></item_20><item_21><id>108</id><views>1973</views><enabled>1</enabled><link>http://ponyfac.es/108</link><image>http://ponyfac.es/108/full</image><thumbnail>http://ponyfac.es/108/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>monocle</item_0><item_1>rainbow dash</item_1></tags></item_21><item_22><id>111</id><views>1392</views><enabled>1</enabled><link>http://ponyfac.es/111</link><image>http://ponyfac.es/111/full</image><thumbnail>http://ponyfac.es/111/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>nodding</item_0><item_1>rainbow dash</item_1></tags></item_22><item_23><id>129</id><views>8697</views><enabled>1</enabled><link>http://ponyfac.es/129</link><image>http://ponyfac.es/129/full</image><thumbnail>http://ponyfac.es/129/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>angry</item_0><item_1>fire</item_1><item_2>rage</item_2><item_3>rainbow dash</item_3></tags></item_23><item_24><id>130</id><views>3431</views><enabled>1</enabled><link>http://ponyfac.es/130</link><image>http://ponyfac.es/130/full</image><thumbnail>http://ponyfac.es/130/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>ahhhhhhhh yeeeey</item_0><item_1>puke</item_1><item_2>rainbow dash</item_2></tags></item_24><item_25><id>131</id><views>3792</views><enabled>1</enabled><link>http://ponyfac.es/131</link><image>http://ponyfac.es/131/full</image><thumbnail>http://ponyfac.es/131/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>rainbow dash</item_0><item_1>war</item_1></tags></item_25><item_26><id>134</id><views>5317</views><enabled>1</enabled><link>http://ponyfac.es/134</link><image>http://ponyfac.es/134/full</image><thumbnail>http://ponyfac.es/134/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>facehoof</item_0><item_1>facepalm</item_1><item_2>rainbow dash</item_2></tags></item_26><item_27><id>136</id><views>5508</views><enabled>1</enabled><link>http://ponyfac.es/136</link><image>http://ponyfac.es/136/full</image><thumbnail>http://ponyfac.es/136/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>bed</item_0><item_1>hospital</item_1><item_2>rainbow dash</item_2><item_3>sick</item_3></tags></item_27><item_28><id>138</id><views>4498</views><enabled>1</enabled><link>http://ponyfac.es/138</link><image>http://ponyfac.es/138/full</image><thumbnail>http://ponyfac.es/138/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>cry</item_0><item_1>rainbow dash</item_1><item_2>sad</item_2><item_3>tear</item_3></tags></item_28><item_29><id>154</id><views>793</views><enabled>1</enabled><link>http://ponyfac.es/154</link><image>http://ponyfac.es/154/full</image><thumbnail>http://ponyfac.es/154/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>abracadabra</item_0><item_1>rainbow dash</item_1></tags></item_29><item_30><id>158</id><views>689</views><enabled>1</enabled><link>http://ponyfac.es/158</link><image>http://ponyfac.es/158/full</image><thumbnail>http://ponyfac.es/158/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>rainbow dash</item_0></tags></item_30><item_31><id>159</id><views>1020</views><enabled>1</enabled><link>http://ponyfac.es/159</link><image>http://ponyfac.es/159/full</image><thumbnail>http://ponyfac.es/159/thumb</thumbnail><category><id>1</id><name>Rainbow Dash</name></category><tags><item_0>che</item_0><item_1>rainbow dash</item_1></tags></item_31></faces></response>

Get list of all available categories

See the example below to learn how to get a list of all categories:

Requested URL: http://ponyfac.es/api.json/categories
Response in JSON format:
{"timestamp":1467132192,"total_faces":"161","total_views":"383034","category":[{"id":0,"name":"All faces","weight":0},{"id":6,"name":"Pinkie Pie","weight":"1"},{"id":1,"name":"Rainbow Dash","weight":"2"},{"id":2,"name":"Fluttershy","weight":"3"},{"id":3,"name":"Rarity","weight":"4"},{"id":4,"name":"Twilight Sparkle","weight":"5"},{"id":5,"name":"Applejack","weight":"6"},{"id":7,"name":"Other Ponies","weight":"7"}]}
Requested URL: http://ponyfac.es/api.jsonp:myJSONPcallback/categories
Response in JSONP format:
myJSONPcallback({"timestamp":1467132192,"total_faces":"161","total_views":"383034","category":[{"id":0,"name":"All faces","weight":0},{"id":6,"name":"Pinkie Pie","weight":"1"},{"id":1,"name":"Rainbow Dash","weight":"2"},{"id":2,"name":"Fluttershy","weight":"3"},{"id":3,"name":"Rarity","weight":"4"},{"id":4,"name":"Twilight Sparkle","weight":"5"},{"id":5,"name":"Applejack","weight":"6"},{"id":7,"name":"Other Ponies","weight":"7"}]});
Requested URL: http://ponyfac.es/api.xml/categories
Response in XML format:
<?xml version="1.0"?>
<response><timestamp>1467132192</timestamp><total_faces>161</total_faces><total_views>383034</total_views><category><item_0><id>0</id><name>All faces</name><weight>0</weight></item_0><item_1><id>6</id><name>Pinkie Pie</name><weight>1</weight></item_1><item_2><id>1</id><name>Rainbow Dash</name><weight>2</weight></item_2><item_3><id>2</id><name>Fluttershy</name><weight>3</weight></item_3><item_4><id>3</id><name>Rarity</name><weight>4</weight></item_4><item_5><id>4</id><name>Twilight Sparkle</name><weight>5</weight></item_5><item_6><id>5</id><name>Applejack</name><weight>6</weight></item_6><item_7><id>7</id><name>Other Ponies</name><weight>7</weight></item_7></category></response>