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!

