ThemeForest

API v1 Released!

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 frozen the API at version 1 finally!

What this means is, that if you program against this version, it’ll never change in the future, so your app won’t break, and we can continue to improve the API on the edge version, and eventually ‘freeze’ a version 2 :)

Some updates to the API since my last post include:

  • Fixed a bug w/ AJ results
  • All item results have their ID as requested
  • We have a search data set, it’s the best. Here’s a few examples:

http://marketplace.envato.com/api/v1/search:flashden,site-templates,xml.json

http://marketplace.envato.com/api/v1/search:flashden,site-templates,business.json

http://marketplace.envato.com/api/v1/search:audiojungle,,funky.json

http://marketplace.envato.com/api/v1/search:,,gah.json

Documentation for the API , as always, is located here:

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

We’ll continue to improve and modify the edge version, and after some time we’ll freeze it to version 2.

For people new to the API , check out the intro and the follow up.

Enjoy! And feedback is welcome and encouraged!

Posted 3 years ago VIA ActiveDen | Permalink
ryan is an Envato staff member
346 posts
  • Has been a member for 3-4 years
  • Sold between 1 000 and 5 000 dollars
  • Bought between 50 and 99 items
  • Ireland
  • Referred between 50 and 99 users
musicformedia says

Hmmm now it tastes like ham…nice!

Posted 3 years ago VIA AudioJungle | Permalink
100 posts
  • Has been a member for 2-3 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Envato Staff
  • Exclusive Author
  • Sold between 100 and 1 000 dollars
  • Bought between 10 and 49 items
  • Australia
  • Referred between 1 and 9 users
Japh says

Brilliant! Loving playing with the API , great work guys! :)

Posted 3 years ago VIA ThemeForest | Permalink
Japh is an Envato staff member
1125 posts
  • Has been a member for 3-4 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Author had a File in an Envato Bundle
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 10 and 49 items
  • Costa Rica
  • Referred between 10 and 49 users
hansv says

cool.

Posted 3 years ago VIA GraphicRiver | Permalink
242 posts
  • Has been a member for 2-3 years
  • Author had a File in an Envato Bundle
  • Interviewed on the Envato Notes blog
  • Author had a Free File of the Month
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 50 and 99 items
  • Croatia
  • Referred between 1 and 9 users
leto says

nice ryan

Posted 3 years ago VIA AudioJungle | Permalink
1884 posts
  • Has been a member for 3-4 years
  • Won a Competition
  • Contributed a Blog Post
  • Author had a File in an Envato Bundle
  • Interviewed on the Envato Notes blog
  • Community Moderator
  • Exclusive Author
  • Beta Tester
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • Bought between 10 and 49 items
  • Poland
  • Referred between 100 and 199 users
mpc says

cool, I will have to release the update to my iFlasDen app :D

Posted 3 years ago VIA ActiveDen | Permalink
mpc is an Envato staff member
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

Yay! Currently implementing these features in my app.

Posted 3 years ago VIA ThemeForest | Permalink
1879 posts
  • Has been a member for 3-4 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Contributed a Blog Post
  • Attended a Community Meetup
  • Gold Mo Grower
  • Envato Staff
  • Site Manager
  • Exclusive Author
  • Bought between 10 and 49 items
  • United States
  • Referred between 1 and 9 users
LanceSnider says

You know I love you, right?

Posted 3 years ago VIA ActiveDen | Permalink
LanceSnider is an Envato staff member
370 posts
  • Has been a member for 2-3 years
  • Author had a File in an Envato Bundle
  • Grew a moustache for the Envato Movember competition
  • Author had a Free File of the Month
  • Exclusive Author
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • Bought between 1 and 9 items
  • Slovakia
  • Referred between 10 and 49 users
uDesignStudios says

Cool I just set default API version to v1 in the SalesDonkey app. Will release updated version in a few hours.

Now ryan, can I ask you something? In the account dataset there are two variables: total_earnings and balance. I expected total_earnings to represent total amount of money ever earned on that account, while balance would be current amount of money present on the account. But in reality those two variables seem to return always the same value, we withdrew money from our account and both of the variables now show $0.00, while I expected total_earnings to be the amount before withdrawal.

Is it meant to be like this or is it a bug in the API ? I got around this by adding up all earning variables in earnings-and-sales-by-month dataset which works OK.

looking forward to your reply :)

uDesignStudios

Posted 3 years ago VIA ThemeForest | Permalink
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
Now ryan, can I ask you something? In the account dataset there are two variables: total_earnings and balance. I expected total_earnings to represent total amount of money ever earned on that account, while balance would be current amount of money present on the account. But in reality those two variables seem to return always the same value, we withdrew money from our account and both of the variables now show $0.00, while I expected total_earnings to be the amount before withdrawal.

Hello! The total_earnings is the balance of the earnings in the account at the time of the request. It’s not the ‘total for all time’, it’s the current total withdrawalable earnings.

If they have requested a ‘max amount withdrawal’ it’ll grow up until the cut off time, then it’ll be zero and put in a withdrawal request for the full amount. If they have put a fixed request in at any given time it’ll immediately deduct it from the earnings_total.

So basically, you can think of it as ‘how much money can you withdrawal right now?’, almost. I believe this is what authors look at to figure out how theyr’e doing.

If you want a total earnings of all time, you could pull down the earnings-and-sales-by-month data set.

Posted 3 years ago VIA ActiveDen | Permalink
ryan is an Envato staff member
by
by
by
by
by