578 posts
  • 9 Years of Membership
  • Affiliate Level 1
  • Australia
  • Author Level 1
+6 more
ryan
says

Hi everyone!

We’ve deployed an update to the API , the most significant things we’ve added are:

  • New data sets
  • Self-documenting release info (it’s pretty sweet)!
  • Public data sets (i.e. popular files, new files, etc)

So, first of all, we’ve got documentation of the public and user (private) data sets, you can see it here:

http://marketplace.envato.com/api/documentation

It actually uses jQuery to pull the information from the API itself, and then print the output, check out the source! The TTL is how many seconds the data is cached for (i.e. if you hit it 10 times in a minute and the TTL is 60, you’ll get the same data).

By popular demand, we’ve got public API feeds, so you can do things like make different kinds of homepages, notifiers on new files from particular sites/categories, the possibilities are endless!

Also, some of the sets require parameters, so for example, when it says you need a site parameter to get the popular files for GraphicRiver, you’d do this:

http://marketplace.envato.com/api/edge/popular:graphicriver.json

To get Collis’ new files off ThemeForest:

http://marketplace.envato.com/api/edge/new-files-from-user:collis,themeforest.json

So there you go! The API returns error messages in JSON or XML format, where it can.

So there! I’ll post more info tomorrow! Feedback is appreciated!

Also, if you want a nice way to ‘look’ at the data that the API returns, you can paste the JSON into this tool here, and it’ll make it easy to read:

http://chris.photobooks.com/json/

Cheers!

7 posts
  • 7 Years of Membership
  • Beta Tester
  • Collector Level 2
dirt_burger
says

Self documenting API ? That is unpossible!

How do I get the documentation as a PDF ? Is it possible to get half a response in JSON and half in XML , because that would be totally sweet.

183 posts
  • 7 Years of Membership
  • Affiliate Level 2
  • Author Level 5
  • Beta Tester
+5 more
tomez
says

Hello! How can I get the 80×80 thumbnail’s url from the API ?

578 posts
  • 9 Years of Membership
  • Affiliate Level 1
  • Australia
  • Author Level 1
+6 more
ryan
says
Hello! How can I get the 80×80 thumbnail’s url from the API ?

Yes! Give me a few hours.

164 posts
  • 6 Years of Membership
  • Author Level 4
  • Collector Level 2
  • Exclusive Author
+5 more
hgascoigne
says

Ryan…. you da’ man! ;)

183 posts
  • 7 Years of Membership
  • Affiliate Level 2
  • Author Level 5
  • Beta Tester
+5 more
tomez
says
Hello! How can I get the 80×80 thumbnail’s url from the API ?
Yes! Give me a few hours.

Thank you, it would be very useful.

78 posts
  • 6 Years of Membership
  • Affiliate Level 2
  • Author Level 5
  • Collector Level 2
+6 more
rkquest
says
Hello! How can I get the 80×80 thumbnail’s url from the API ?
Yes! Give me a few hours.
Thank you, it would be very useful.

+ 1

Has it been implemented yet? How about price?

183 posts
  • 7 Years of Membership
  • Affiliate Level 2
  • Author Level 5
  • Beta Tester
+5 more
tomez
says
Hello! How can I get the 80×80 thumbnail’s url from the API ?
Yes! Give me a few hours.
Thank you, it would be very useful.

+ 1

Has it been implemented yet? How about price?

no, not yet

431 posts
  • 7 Years of Membership
  • Affiliate Level 1
  • Australia
  • Beta Tester
+11 more
john
says

Ryan’s on holidays until Monday so you won’t get a chance to play with the pictures til next week.

183 posts
  • 7 Years of Membership
  • Affiliate Level 2
  • Author Level 5
  • Beta Tester
+5 more
tomez
says
Ryan’s on holidays until Monday so you won’t get a chance to play with the pictures til next week.

Thanks for the info.

by
by
by
by
by
by