ThemeForest

Update to the API!

578 posts
  • Has been a member for 5-6 years
  • Contributed a Blog Post
  • Attended a Community Meetup
  • Envato Staff
  • Envato Developer
  • Exclusive Author
  • Bought between 50 and 99 items
  • Australia
  • Referred between 1 and 9 users
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!

3 years ago via ActiveDen |
ryan is an Envato developer
6 posts
  • Has been a member for 3-4 years
  • Beta Tester
  • Exclusive Author
  • Bought between 1 and 9 items
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.

3 years ago via ActiveDen |
179 posts
  • Has been a member for 4-5 years
  • Beta Tester
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
  • Hungary
  • Referred between 10 and 49 users
tomez says

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

3 years ago via ActiveDen |
578 posts
  • Has been a member for 5-6 years
  • Contributed a Blog Post
  • Attended a Community Meetup
  • Envato Staff
  • Envato Developer
  • Exclusive Author
  • Bought between 50 and 99 items
  • Australia
  • Referred between 1 and 9 users
ryan says
Hello! How can I get the 80×80 thumbnail’s url from the API ?

Yes! Give me a few hours.

3 years ago via ActiveDen |
ryan is an Envato developer
164 posts
  • Has been a member for 3-4 years
  • Won a Competition
  • Contributed a Blog Post
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 10 and 49 items
  • United States
hagdesigns says

Ryan…. you da’ man! ;)

3 years ago via ThemeForest |
179 posts
  • Has been a member for 4-5 years
  • Beta Tester
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
  • Hungary
  • Referred between 10 and 49 users
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.

3 years ago via ActiveDen |
68 posts
  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
  • Philippines
  • Referred between 10 and 49 users
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?

3 years ago via ThemeForest |
179 posts
  • Has been a member for 4-5 years
  • Beta Tester
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
  • Hungary
  • Referred between 10 and 49 users
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

3 years ago via ActiveDen |
430 posts
  • Has been a member for 4-5 years
  • Attended a Community Meetup
  • Grew a moustache for the Envato Movember competition
  • Author had a Free File of the Month
  • Beta Tester
  • Exclusive Author
  • Bought between 50 and 99 items
  • Australia
  • Referred between 1 and 9 users
john says

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

3 years ago via ActiveDen |
179 posts
  • Has been a member for 4-5 years
  • Beta Tester
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
  • Hungary
  • Referred between 10 and 49 users
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.

3 years ago via ActiveDen |
by
by
by
by
by