[Envato API] How fetch monthly item details for a given author?


#1

I wanted to build a small custom app with Envato API. For this, I was studying the API docs but I was unable to find any JSON file with my required information.

I want to fetch MONTHLY data, for a given author, for EACH of his item; including following properties:

{
  "item-ID": {
    "name": "First Item Name Goes Here",
    "sales": "Number of Monthly Sales for First Item",
    "earnings": "Monthly Earnings for First Item Goes Here",
  },

  "item-ID": {
    "name": "Second Item Name Goes Here",
    "sales": "Number of Monthly Sales for Second Item",
    "earnings": "Monthly Earnings for Second Item Goes Here",
  },

  "item-ID": {
    "name": "Third Item Name Goes Here",
    "sales": "Number of Monthly Sales for Third Item",
    "earnings": "Monthly Earnings for Third Item Goes Here",
  }, 
}

Is it possible in current API?


#2

You’ll have to use the sales endpoint and store/cache all sale data in your own database, then you can perform desired monthly item grouping and calculations


#3

Thanks, It seems I missed it, I think it will do the trick: https://build.envato.com/api/#market_0_Author_Sales