Metadata-Version: 2.1
Name: skinport.py
Version: 0.13.0
Summary: A Python wrapper for the Skinport API
Author-email: PaxxPatriot <skinport.py@gmail.com>
Project-URL: Documentation, https://paxxpatriot.github.io/skinport.py/
Project-URL: Repository, https://github.com/PaxxPatriot/skinport.py.git
Project-URL: Issues, https://github.com/PaxxPatriot/skinport.py/issues
Keywords: Skinport,Counter-Strike 2
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Internet
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Classifier: Typing :: Typed
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: aiohttp
Requires-Dist: asyncache
Requires-Dist: cachetools
Requires-Dist: python-socketio[asyncio_client]

# 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:

```bash
# 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:
```bash
$ git clone https://github.com/PaxxPatriot/skinport.py
$ cd skinport.py
$ python3 -m pip install -U .
```

Quick Example
--------------

```Python
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](https://github.com/PaxxPatriot/cheapbot).
