[Clipart] JSONify the query results
Wayne Connolly
wayne.connolly at measanctum.com
Sun Nov 14 18:51:59 PST 2010
Hi all,
We would like the query results of
http://www.openclipart.org/api/search/?query=christmas&page=1
<http://www.openclipart.org/api/search/?query=dog>to be available for
each record to be integrated into out CMS.
The first JSON integer is the record number starting at zero and going
until when the recordset ends (reset per batch).
Is it possible to only return 10 records at a time please?
{"msg" : "success",
"info" : {"results: "1200",
"pages" : "12",
"current_page" : "3"
},
"payload" :{"0" : {"title" : "Santa Hat",
"uploader" : "TheresaKnott",
"drawn_by" : "/ TheresaKnott",
"description" : "A santa hat for christmas sutable
for putting on other drawings.",
"tags" : "media , clip_art , public_domain , image
, svg , santa , christmas , hat , santa , christmas , hat",
"downloaded_by" : "2324",
"rated_by" : "10",
"detail_link" :
"http://www.openclipart.org/detail/889",
"created" : "2006-10-25 09:09:50",
"svg" : {"url" :
"http://www.openclipart.org/people/TheresaKnott/TheresaKnott_Santa_Hat.svg
<view-source:http://www.openclipart.org/people/TheresaKnott/TheresaKnott_Santa_Hat.svg>",
"height" :"800",
"width" : "760"
}
"png_thumb" : {"url" :
"http://www.openclipart.org/image/250px/svg_to_png/TheresaKnott_Santa_Hat.png
<view-source:http://www.openclipart.org/image/250px/svg_to_png/TheresaKnott_Santa_Hat.png>",
"height" :"250", "
width" : "230"
}
"png_full_lossy" : {"url" :
"http://www.openclipart.org/image/800px/svg_to_png/TheresaKnott_Santa_Hat.png
<view-source:http://www.openclipart.org/image/800px/svg_to_png/TheresaKnott_Santa_Hat.png>",
"height" :"800",
"width" : "760"
}
}
}
}
--
Kind Regards,
Wayne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/clipart/attachments/20101115/32a94e59/attachment.html>
More information about the clipart
mailing list