578 posts
  • 9 Years of Membership
  • Affiliate Level 1
  • Australia
  • Author Level 1
+6 more
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!

349 posts
  • 7 Years of Membership
  • Affiliate Level 6
  • Author Level 4
  • Collector Level 4
+5 more
musicformedia
says

Hmmm now it tastes like ham…nice!

378 posts WordPress Guy
  • Affiliate Level 1
  • Author Level 2
  • Collector Level 3
  • Australia
+4 more
Japh
says

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

1125 posts
  • 7 Years of Membership
  • Affiliate Level 2
  • Author Level 4
  • Bundle Boss
+7 more
hansv
says

cool.

428 posts Professional music freelancer
  • Elite Author
  • Author Level 7
  • Exclusive Author
  • Featured Author
+10 more
leto
says

nice ryan

2268 posts
  • Elite Author
  • Author Level 10
  • Exclusive Author
  • Winner
+16 more
mpc
says

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

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

Yay! Currently implementing these features in my app.

2108 posts
  • Envato Team
  • 6 Years of Membership
  • Tuts+ Instructor
  • Podster
+10 more
LanceSnider
Envato team
says

You know I love you, right?

385 posts
  • Affiliate Level 2
  • Author Level 8
  • Collector Level 2
  • Top Monthly Author
+10 more
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

578 posts
  • 9 Years of Membership
  • Affiliate Level 1
  • Australia
  • Author Level 1
+6 more
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.

by
by
by
by
by
by