Skip to content
TORNLIFE More

bazaarid -> playerid?

Started by skmoonlight [2619860] on in API Development.

9 replies · 221 views · thread synced · 7 days ago · View on torn.com
About this thread

Posts archived: 10 / 10 posts (100%) · the total is Torn's reply count + the opening post at the last fetch

Counted by TornLife from the archived posts.

Archived posts
10
Discussion span
→
People posting
4
Likes on archived posts
4
Posts by staff, officers and moderators
4
Authority score
72 / 100
Historical score
20 / 100
Story score
31 / 100
Engagement score
54 / 100

Most-liked replies

skmoonlight [2619860]
In short, is it possible to get the player id from the bazaar id?

When using the bazaar api call (https://api.torn.com/market/985?selections=bazaar&key=MYKEY)
it outputs the bazaar ids, but i can't find what they are based on

Is there a way (with the api) to see what player the bazaar id is from?

or is there any use for the bazaarids themselfs?
DeKleineKobini [2114440] Committee Committee
Those bazaarids are basically only useful for internal usage and give us no information about the user. I'm pretty sure it's intentional though.
skmoonlight [2619860]
that is a shame, i wonder if anyone found out what the code/formula is XD (but keeping it silent)

seems atleast the ids are not random
DeKleineKobini [2114440] Committee Committee
I'm pretty sure the ids are incremental. It's probably a cross table between users and items for the bazaars, so the ids will probably be an auto increment.
MightyGoober [812478]
You could always file a bug report asking for the userid to be included in the response. You don't need votes for API changes.
Worst case you get a no
MightyGoober [812478]
But when viewing a bazaar, you know what player owns it. You could over time store a player ID to a bazaar ID as you find them. Just seems over complex for something they could just add