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":1414761558,"total_faces":"161","total_views":"285967","faces":[{"id":"1","views":"22699","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":1414761558,"total_faces":"161","total_views":"285967","faces":[{"id":"1","views":"22699","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>1414761558</timestamp><total_faces>161</total_faces><total_views>285967</total_views><faces><item_0><id>1</id><views>22699</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":1414761558,"total_faces":"161","total_views":"285967","faces":[{"id":"23","views":"1359","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":"332","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":1414761558,"total_faces":"161","total_views":"285967","faces":[{"id":"23","views":"1359","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":"332","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>1414761558</timestamp><total_faces>161</total_faces><total_views>285967</total_views><faces><item_0><id>23</id><views>1359</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>332</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":1414761558,"total_faces":"161","total_views":"285967","faces":[{"id":"1","views":"22699","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":"3411","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":"2414","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":"4682","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":"1708","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":"2209","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":"850","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":1414761558,"total_faces":"161","total_views":"285967","faces":[{"id":"1","views":"22699","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":"3411","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":"2414","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":"4682","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":"1708","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":"2209","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":"850","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>1414761558</timestamp><total_faces>161</total_faces><total_views>285967</total_views><faces><item_0><id>1</id><views>22699</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>3411</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>2414</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>4682</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>1708</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>2209</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>850</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":1414761558,"total_faces":"161","total_views":"285967","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","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":1414761558,"total_faces":"161","total_views":"285967","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","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>1414761558</timestamp><total_faces>161</total_faces><total_views>285967</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>cry</item_39><item_40>curious</item_40><item_41>dance</item_41><item_42>derpy</item_42><item_43>detective</item_43><item_44>disappointed</item_44><item_45>disgusted</item_45><item_46>doctor</item_46><item_47>drinking</item_47><item_48>duck face</item_48><item_49>eat</item_49><item_50>ew</item_50><item_51>excellent</item_51><item_52>excited</item_52><item_53>fabulous</item_53><item_54>facehoof</item_54><item_55>facepalm</item_55><item_56>fire</item_56><item_57>flattered</item_57><item_58>flausch</item_58><item_59>fluffy</item_59><item_60>fluttershy</item_60><item_61>food</item_61><item_62>frag</item_62><item_63>gape</item_63><item_64>grimace</item_64><item_65>hamster</item_65><item_66>happy</item_66><item_67>haters</item_67><item_68>headbang</item_68><item_69>heart</item_69><item_70>hidden</item_70><item_71>hide</item_71><item_72>hipster</item_72><item_73>horror</item_73><item_74>hospital</item_74><item_75>hug</item_75><item_76>hungry</item_76><item_77>irritated</item_77><item_78>jump</item_78><item_79>kiss</item_79><item_80>laugh</item_80><item_81>like a boss</item_81><item_82>lol</item_82><item_83>love</item_83><item_84>lyra</item_84><item_85>mad</item_85><item_86>map</item_86><item_87>marvel</item_87><item_88>medic</item_88><item_89>mimimi</item_89><item_90>monocle</item_90><item_91>moustache</item_91><item_92>nightmare moon</item_92><item_93>no</item_93><item_94>no fuck was given</item_94><item_95>nodding</item_95><item_96>not again</item_96><item_97>not sure if</item_97><item_98>number one</item_98><item_99>nurse</item_99><item_100>O.O</item_100><item_101>oh no</item_101><item_102>patriot</item_102><item_103>pffs</item_103><item_104>pie</item_104><item_105>pinke pie</item_105><item_106>pinkie pie</item_106><item_107>pissed</item_107><item_108>plan</item_108><item_109>proud</item_109><item_110>puke</item_110><item_111>rage</item_111><item_112>rainbow</item_112><item_113>rainbow dash</item_113><item_114>rarity</item_114><item_115>researching</item_115><item_116>rofl</item_116><item_117>run</item_117><item_118>sad</item_118><item_119>santa</item_119><item_120>scared</item_120><item_121>scientist</item_121><item_122>scootaloo</item_122><item_123>serious</item_123><item_124>sexy</item_124><item_125>shake</item_125><item_126>sherlock</item_126><item_127>shrug</item_127><item_128>shy</item_128><item_129>sick</item_129><item_130>silly</item_130><item_131>sleep</item_131><item_132>sleeping</item_132><item_133>sleepy</item_133><item_134>smile</item_134><item_135>smoke</item_135><item_136>snore</item_136><item_137>sob</item_137><item_138>spa</item_138><item_139>spike</item_139><item_140>spin</item_140><item_141>stunned</item_141><item_142>sunglasses</item_142><item_143>surprise</item_143><item_144>sweetie belle</item_144><item_145>taunt</item_145><item_146>tear</item_146><item_147>tears</item_147><item_148>tease</item_148><item_149>technicolor</item_149><item_150>tell me</item_150><item_151>terrified</item_151><item_152>think</item_152><item_153>thinking</item_153><item_154>tired</item_154><item_155>tongue</item_155><item_156>trixie</item_156><item_157>tron</item_157><item_158>twilight sparkle</item_158><item_159>war</item_159><item_160>wave</item_160><item_161>weird</item_161><item_162>wet</item_162><item_163>what</item_163><item_164>why</item_164><item_165>wink</item_165><item_166>wondering</item_166><item_167>worried</item_167><item_168>xmas</item_168><item_169>yawn</item_169><item_170>yay</item_170><item_171>yearning</item_171></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":1414761558,"total_faces":"161","total_views":"285967","faces":[{"id":"3","views":"3411","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":"3585","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":"2616","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":"1264","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":"3416","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":"2280","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":"1868","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":"965","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":"1573","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":"5130","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":"2758","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":"2516","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":"2521","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":"3242","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":"2742","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":"1231","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":"4286","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":"918","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":"814","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":"3359","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":"2209","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":"1602","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":"914","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":"5762","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":"1717","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":"2683","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":"3251","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":"3031","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":"2813","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":"616","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":"364","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":"694","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":1414761558,"total_faces":"161","total_views":"285967","faces":[{"id":"3","views":"3411","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":"3585","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":"2616","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":"1264","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":"3416","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":"2280","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":"1868","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":"965","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":"1573","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":"5130","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":"2758","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":"2516","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":"2521","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":"3242","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":"2742","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":"1231","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":"4286","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":"918","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":"814","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":"3359","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":"2209","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":"1602","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":"914","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":"5762","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":"1717","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":"2683","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":"3251","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":"3031","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":"2813","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":"616","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":"364","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":"694","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>1414761558</timestamp><total_faces>161</total_faces><total_views>285967</total_views><faces><item_0><id>3</id><views>3411</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>3585</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>2616</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>1264</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>3416</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>2280</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>1868</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>965</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>1573</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>5130</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>2758</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>2516</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>2521</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>3242</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>2742</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>1231</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>4286</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>918</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>814</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>3359</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>2209</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>1602</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>914</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>5762</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>1717</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>2683</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>3251</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>3031</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>2813</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>616</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>364</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>694</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":1414761558,"total_faces":"161","total_views":"285967","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":1414761558,"total_faces":"161","total_views":"285967","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>1414761558</timestamp><total_faces>161</total_faces><total_views>285967</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>