a library for interacting with the steam API and marketplace
Project description
# Steamy Steamy is a lightweight, limited-abstraction interface to both the [public Steam Web API](https://developer.valvesoftware.com/wiki/Steam_Web_API) and a custom Steam Market API.
## Public Steam Web API To interface with the public Steam Web API, you must have a [Steam API Key](https://steamcommunity.com/dev/apikey). To get started, create an instance of the SteamAPI interface:
` steam = SteamAPI(my_api_key) `
### Examples
Get a trade offer ` offer = steam.get_trade_offer(offer_id) assert offer['tradeofferid'] == offer_id `
Get members for a group ` members = steam.get_group_members("testgroupplzignore", page=1) assert len(members) `
### Workshop Interface The SteamAPI interface also provides the ability to query workshop items:
` wfile = steam.get_workshop_file("447269341") assert isinstance(wfile, WorkshopFile) assert wfile.id == "447269341" `
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file steamy-1.0.0.tar.gz
.
File metadata
- Download URL: steamy-1.0.0.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e75732c394b123782d9cb8f51b7b4efc2093cf9bfa4893681a1c9f2ca67601d0 |
|
MD5 | 3f55611e62a2a802fbd02957da5675ef |
|
BLAKE2b-256 | f70ffd40c93980ea306618cab753697aca4083ce2b8e802343613663dca3f5c2 |