http://www.scrnshots.com/users/{username}/screenshots.json
http://www.scrnshots.com/users/{username}/screenshots.json?page=2
This will return to you the most recent 20 screenshots for the user.
Currently, there is not way to change the sort order or the number of
items returned.
Greg Bell
\\ ScrnShots.com
{
"images": {
"medium": "http://s3.amazonaws.com/scrnshots.com/screenshots/15714/SSFirefoxPluginPreview_med_rect.png
",
"small": "http://s3.amazonaws.com/scrnshots.com/screenshots/15714/SSFirefoxPluginPreview_small_square.png
",
"large": "http://s3.amazonaws.com/scrnshots.com/screenshots/15714/SSFirefoxPluginPreview_large.png
",
"fullsize": "http://s3.amazonaws.com/scrnshots.com/screenshots/15714/SSFirefoxPluginPreview.png
"
},
"description": "A little preview of what's to come for you firefox
users. ",
"comments_count": 4,
"url": "http://www.scrnshots.com/users/gregbell/screenshots/15714",
"created_at": "2008-06-19T00:28:22+00:00"
}
That means that if you stored the object in a variable called
screenshot, you could access the url for a thumbnail by using
screenshot.images.small
Let me know how things go!
Greg
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
$.getJSON("http://www.scrnshots.com/users/chriscoyier/screenshots.json?callback=
?", function(screenshots){
$.each(screenshots, function(index, screenshot){
$("#scrnshots").append("<a href='" + screenshot.url + "'><img
src='" + screenshot.images.small + "' /></a>");
});
});
});
</script>
This will append thumbnails to a div called scrnshots.
Greg
On 19-Jun-08, at 8:51 AM, chriscoyier wrote:
Greg