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

Uploaded Source

Built Distribution

skinport.py-0.27.0-py3-none-any.whl (25.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: skinport_py-0.27.0.tar.gz
  • Upload date:
  • Size: 20.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for skinport_py-0.27.0.tar.gz
Algorithm Hash digest
SHA256 c26f74fecae9cde73cbf7eaa7519a5eeb78a9425e80d3df06e1b11194a9c0746
MD5 68cd0dcc4eff101bb8a350773b7b1737
BLAKE2b-256 f079340077e7f02caa0f0e0fc1ce59857ca196f334aa44bcc84bd53ab5e1a4c0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: skinport.py-0.27.0-py3-none-any.whl
  • Upload date:
  • Size: 25.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for skinport.py-0.27.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fd282f8a1080f51caf9cb64a08afefd4bd3065a39ab52cce1996f5c32fa77444
MD5 ce5c7ca567304e8a39dcf97161423be1
BLAKE2b-256 accccc502dcfee03ffb9b2bbded53570fd80f3fd456f2d886fac6989412de902

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