OPSkins / trade-opskins-api

API docs for trade.opskins.com
41 stars 19 forks source link

Add case_id to /IItem/getItems #17

Closed Kipcarry closed 6 years ago

Kipcarry commented 6 years ago

Hi,

I would like to see case_id to be added to /IItem/getItems. This way, you can easily fetch all the names, images etc. from the items from that case (so when there are multiple cases, you could only load the images from that case).

Regards, Daan

rannmann commented 6 years ago

You can already do this by combining two API endpoints.

ICase/GetCaseSChema

IItem/GetItems

Kipcarry commented 6 years ago

Wouldn't it be easier (especially when there will be a lot if cases) to directly implememt this feature?

Nisthar commented 5 years ago

@rannmann what do you do for non vgo cases? ICase/GetCaseSChema doesn't return def_id which is needed for IItem/GetAllItems I can't use IItem/GetItems since it doesn't have sort option. It seems like opskins api need improvement.