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

Uploaded Source

Built Distribution

skinport.py-0.24.0-py3-none-any.whl (24.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: skinport_py-0.24.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.24.0.tar.gz
Algorithm Hash digest
SHA256 2222e31ae61ca46f40c2bb8a3cacd65d351cfb362871a1a63cef92852343cbcc
MD5 da327a92447123e30a28f57590ffb8e5
BLAKE2b-256 d8609fae0267f6ee136097f33bd43b3a7fd6b48f57cc563518b7c0a61f1f3181

See more details on using hashes here.

File details

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

File metadata

  • Download URL: skinport.py-0.24.0-py3-none-any.whl
  • Upload date:
  • Size: 24.4 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.24.0-py3-none-any.whl
Algorithm Hash digest
SHA256 26b3e66d588f6e0beaf8da6aa277e5d2aa7a31bbf57e9216c588e3b8897c366e
MD5 946730a68497b3e740c69fbd73f7a00d
BLAKE2b-256 d82aaada05928cd20da61d2f4a3dd6b517a2edbb498582d43ef9a48d20990312

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