A Python wrapper for the Skinport API
Project description
skinport.py
An API wrapper for the Skinport API written in Python.
Installing
Python 3.10 or higher is required
To install the library, you can just run the following command:
# Linux/macOS
$ python3 -m pip install -U skinport.py
# Windows
> py -3 -m pip install -U skinport.py
To install the development version, do the following:
$ git clone https://github.com/PaxxPatriot/skinport.py
$ cd skinport.py
$ python3 -m pip install -U .
Quick Example
import asyncio
import skinport
async def main():
client = skinport.Client()
# Get a list of all listed CS:GO items on skinport.com
items = await client.get_items()
print(items)
if __name__ == "__main__":
asyncio.run(main())
Advanced Example
With this library an automated script was created which forwards cheap listings to a Discord webhook. You can find it at PaxxPatriot/cheapbot.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
skinport_py-0.20.0.tar.gz
(18.5 kB
view hashes)
Built Distribution
Close
Hashes for skinport.py-0.20.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd9eec7eec2c5eff402847022189edf192ee1343837c414463855c976088854e |
|
MD5 | 0cce91ada6d97bd198279a2822f676e0 |
|
BLAKE2b-256 | 02c2234c121c06b932dbdb8de06c66f3a95a3f2dae94a6adaf68a6beb0efa5d8 |