Developers API
Get started
Image Search(XML)
Image Search(JSON)
Image Details(XML)
Image Details(JSON)
"Cut and Paste" examples
The best way to programmatically interact with FeaturePics is to use our APIs.
FeaturePics have published general search functions. Feel free to request e-Commerce
API by email.
This is the first API beta release; more functions will be added to the next release.
Please contact FeaturePics by email
to request an API Key or e-Commerce API.
All emails will be reviewed within 24 hours.
You may also send general comments, questions, or image requests using the email form at:
contact page
|
Developers API: Image Search - JSON format
GET GetImagesJSON.aspx?Callback=string&Key=string&Keywords=string &PageNumber=string&NumberPerPage=string&PagesAhead=string&Type=string
GET GetImagesJSON.aspx?Callback=string&Keywords=string&NumberPerPage=string&Type=string
Host: AdminServices.FeaturePics.com
Key - API Key.
Optional. Max 100 images will be returned if Empty.
We issue you an API Key per your request. When you have one - you will be able to navigate through pages and use our e-Commerce API.
You can use this Web Service without the API Key. A maximum of 100 images will be returned per your Search request.
Keywords - HTML encoded search string.
Optional. Most recent images will be returned if Empty.
PageNumber - your navigation page number.
Optional. Default value=1 will be set if Empty.
NumberPerPage - number of images on your page.
Optional. Default value=5 will be set if Empty.
PagesAhead - number of pages ahead if you use numeric navigation.
Optional. Default value=0 will be set if Empty.
If you use numeric type of navigation like:
Please set PagesAhead=number of available pages ahead.
In the example above you need to know only if the maximum 5 pages ahead are available.
If you send us this information - the search will be performed faster.
Set PagesAhead=-1 if you use a different type of navigation and need to return a total number of images.
Type - has 2 options. "IMAGE" - search for photos and illustrations, "CLIPART" - search for illustrations only.
Optional. "IMAGE" option will be set if Empty.
Callback - Javascript callback function name
Error - check it first, and if empty - read the rest of the nodes
TotalImages - total available images will be returned if you set PagesAhead=0, 0 will be returned if you use a numeric type of navigation.
PageId - current page id
PagesAhead - number of available pages ahead
ImageId - ImageId in featurePics collection for further references
ImageFile - URL of image thumbnail
ImageName - Image name
ImagePage - URL of the Image page at FeaturePics.com
Width - thumbnail width
Height - thumbnail height
5 (by default) illustrations that match "cartoon girl" will be returned in JSON format and shown
by ShowImages function.
The call you need to make:
http://adminservices.featurepics.com/GetImagesJSON.aspx?Callback=ShowImages&Keywords=cartoon%20girl&Type=CLIPART
The results on your page will appear like this:
4 images matching "Dolphins" will be returned in JSON format and shown
by ShowImages function.
The call you need to make:
http://adminservices.featurepics.com/GetImagesJSON.aspx?Callback=ShowImages&Keywords=Dolphins&NumberPerPage=4
The results on your page will appear like this:
When you request an API key from us, you will be able to implement navigation on your site.
http://adminservices.featurepics.com/GetImagesJSON.aspx?Callback=[Your function]&Key=[YourKey]&Keywords=cartoon%20girl&PageNumber=11&PagesAhead=6&Format=XML&Type=CLIPART
|