Breaking Change Warning
This release focuses on pulling off a few compat bandaids. Please keep this in mind when moving from v4 to v5.
Summary
- Makes both API and SIM inventory (
steam.sim.inventory
andsteam.items.inventory
)__init__
more consistent and adds method for using paging with the SIM endpoints. Note this is a breaking change. - Removes requirement for scraping inventory context data to use with inventory
__init__
because 429s are very common now due to Valve's user hostility, and the kinda-sorta-useful integration isn't worth the hassle of that. Instead getting section IDs (usually2
) is left to the user. Note this is a breaking change. - Optimizes
steam.sim.item
andsteam.sim.inventory
such that context data isn't necessary (though this removessteam.sim.item.category
) and the iterator creates items on demand rather than keeping more cache than needed around. Only a breaking change if you directly createsteam.sim.item
objects or usesteam.sim.item.category
(in which case, this is just theg_rgAppContextData
section category) - Updates unit tests to deal with Valve's dbaggery slightly better and replaces my defunct account's ID constant with a current one
- Removes .travis.yml because again Valve's being a bunch of dbags and tests actually querying the item API or SIM will more likely than not 429/503
- Update copyright to use my current date formatting style, capping the date like this is an archive just looks too weird to me.
- Makes API wrapper endpoints use HTTPS instead of HTTP (thanks @Scrumplex)
- Updates docs accordingly and supports latest Sphinx/RTD (thanks @ondrowan for initial docs)
Full Changelog: v4.23...v5.0