Discussion: API Undocumented Features

For example, you can use player_tsid on an auctions.list call to restrict by player.  Anyone found any others they'd care to share? :)

Unfortunately, I can't find an undocumented feature to restrict it by class_tsid ...
So I found out today that players.fullInfo doesn't give back the currants a player has when doing an unauthenticated call. It does show the full thing with 'identity' and higher.

Unauthenticated: level, xp, xp_max
"identity" or higher: level, xp, xp_max, currants, energy, energy_max, mood, mood_max
So I guess I have to adjust my progam to save the authentication ID and send 'identity'-fied calls.
auctions.purchase
This endpoint requires 'site' scope (see the "Undocumented methods" section in https://github.com/ProjectXero/CakePHP-GlitchApi-Plugin/blob/master/README.md for information on how to find yours) and takes two parameters:
    - player_tsid - the TSID of the player auctioning the auction
    - auction_uid - a hexadecimal-encoded Unix timestamp of the auction's creation date.
These two parameters are available as the key in auctions.list (the first part is the player_tsid, second is the timestamp, which you would have to encode in hex).

Assuming you're using the token from the site as described in the instructions above, two changes need to be made: you need to query /api/internal/auctions.purchase rather than the normal API at /simple/; and you need to use itoken as the value for what would normally be provided as oauth_token in the URL.
I'm actually looking for where I can get the info that it shows for instance here. I'd like to get my visits (specifically just is the count > 0), because I'm working on an app to track where I need to go for the "been everywhere in area" achievements, and give me some manner of shortest path through all the places (traveling salesman or a stupid graph tree).
Asuleigh, that's one of the things on the official feature request list, but is not currently available.