Skip to main content

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


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.23.0.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

skinport.py-0.23.0-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

Details for the file skinport_py-0.23.0.tar.gz.

File metadata

  • Download URL: skinport_py-0.23.0.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for skinport_py-0.23.0.tar.gz
Algorithm Hash digest
SHA256 e90be1642122f8297c8b9c375bb14942b5e25c7c71c5d3fd9ce92a33f14dbcec
MD5 d728ee6fbcb7edf3d081e819fbc2dc38
BLAKE2b-256 40ee5799fc1060ea2ab552aa859a0c674e83039f3bc7a86e36be73603ac594cf

See more details on using hashes here.

File details

Details for the file skinport.py-0.23.0-py3-none-any.whl.

File metadata

  • Download URL: skinport.py-0.23.0-py3-none-any.whl
  • Upload date:
  • Size: 23.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for skinport.py-0.23.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dc6d4f97cb31651b6000a13b6339d97f642e41f6f05f938575dfbf2734114a10
MD5 7ef4f251818f783e97a6eb19ea8e951e
BLAKE2b-256 c5158327c469111cd04c1cafc7d4aca61938c3a30e16a23b792a01c4b5e038c5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page