January 2014 API Updates

35 views
Skip to first unread message

Ben Dodson

unread,
Jan 6, 2014, 12:44:43 PM1/6/14
to wallabee-...@googlegroups.com
Hey everyone,

We've added a few new API calls and tidied up a few things this month which you can see at http://wallab.ee/developers/

  • Pagination: Both the /market and /users/#/friends calls are returning a few too many results so they have been limited and pagination has been introduced. You'll notice a new 'paging' array with those results which includes the current results_per_page (subject to change so don't hardcode it - always check), total_results, total_pages, and current_page (which will default to 1 for backwards compatibility but can be changed with a GET parameter such as ?page=2
  • Item Types Status: A new API call at /itemtypes/#/status - it allows you to specify a max and min number range and will tell you how many of those items have been saved, mixed, dropped, or are sitting in pouches or the mixing pool
  • Mixing Pool: Speaking of the mixing pool, we've added 3 new API calls: /mixingpool - /mixingpool/# - /mixingpool/#,# - with these calls, you can see various totals to see what is in the mixing pool (including a breakdown for all, SD, DD, and TD items) and you can drill down into an item type (or multiple item types) to see exactly which numbers are available.
We hope you enjoy these updates. As ever, just shout out or email me if you need anything specific or if we can add better API calls for you. For example, the status call was a request from somebody who was doing that manually by crawling through 100s of items - if you are having to make lots of API calls, we can probably improve to make things easier.

Ben

Ben Dodson

unread,
Jan 28, 2014, 6:28:45 AM1/28/14
to wallabee-...@googlegroups.com
It's new API call Monday so here are a few extras we've added today:

Number Status: new call available via /items/status/# where # is a number, not an id. This call will give you a status array showing you how many of the specific number have been saved, mixed, dropped, or are sitting in pouches or the mixing pool.

Number Status (specific): 5 new calls (such as /items/status/#/dropped) that will give you the item identifiers of the items in that current status. They are:
  • /items/status/#/saved: Saved to set
  • /items/status/#/pouch: In players pouches
  • /items/status/#/mixed: Destroyed by mixing
  • /items/status/#/dropped: At a place
  • /items/status/#/mixingpool: Waiting to appear via a mixer+mixer mix.

Enjoy!
Reply all
Reply to author
Forward
0 new messages