A Python wrapper for the Skinport API
Project description
skinport.py
An API wrapper for the Skinport API written in Python.
Installing
Python 3.8 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.13.0.tar.gz
(18.9 kB
view hashes)
Built Distribution
Close
Hashes for skinport.py-0.13.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3771e4f92a0ec63f216ff82168e1aaa847b9bc327dfa4b3663006c666e839766 |
|
MD5 | a621bf29cc3e9ab097ddb8bfdafdf563 |
|
BLAKE2b-256 | d911b73f6ad0a0db34a6ec29d1f040aaeaad7d4bb87f37219687debe48858d65 |