Tuesday, March 13, 2007

Eonpal API

You can retrieve galleries from eonpal via XML and generate HTML for yourself.

What do you need to use API

  • own web server
  • to know how to code
  • a key, please send request to getkey@eonpal.com (specify your eonpal username)

API URL

http://search.eonpal.com/api.php?

Parameters

ParameterValuesNote
key(your eonpal api key)
actionsearchthere will be more options in the future
k(search query)
formattab, xml or phpIn which format you want to receive data
from(starting from result)return results from this record
num(num)max records to retreive (max 100)
catMovies,Imagesselect image or movie galleries

Example

User eonpal, retrieving results for sybian, in XML format, 5 results starting from 10th, in movies

(to see actual XML, open "page source")

http://search.eonpal.com/api.php?key=HHA2J5J2H3BD882O5F5BB944&action=search&k=sybian&format=xml&from=10&num=5&cat=Movies


0 comments: