skinport.py


Nameskinport.py JSON
Version 0.14.3 PyPI version JSON
download
home_page
SummaryA Python wrapper for the Skinport API
upload_time2024-02-06 04:05:02
maintainer
docs_urlNone
author
requires_python
license
keywords skinport counter-strike 2
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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:

```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).

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "skinport.py",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "Skinport,Counter-Strike 2",
    "author": "",
    "author_email": "PaxxPatriot <skinport.py@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/41/95/59432e2b4e8c02bac6fad79a5e9613460ebf1c283b2fb7e8abf64166361f/skinport.py-0.14.3.tar.gz",
    "platform": null,
    "description": "# skinport.py\nAn API wrapper for the Skinport API written in Python.\n\nInstalling\n----------\n\n**Python 3.10 or higher is required**\n\nTo install the library, you can just run the following command:\n\n```bash\n# Linux/macOS\n$ python3 -m pip install -U skinport.py\n\n# Windows\n> py -3 -m pip install -U skinport.py\n```\n\nTo install the development version, do the following:\n```bash\n$ git clone https://github.com/PaxxPatriot/skinport.py\n$ cd skinport.py\n$ python3 -m pip install -U .\n```\n\nQuick Example\n--------------\n\n```Python\nimport asyncio\n\nimport skinport\n\nasync def main():\n  client = skinport.Client()\n  # Get a list of all listed CS:GO items on skinport.com\n  items = await client.get_items()\n  print(items)\n\nif __name__ == \"__main__\":\n    asyncio.run(main())\n```\n\nAdvanced Example\n-----------------\n\nWith 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).\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A Python wrapper for the Skinport API",
    "version": "0.14.3",
    "project_urls": {
        "Documentation": "https://paxxpatriot.github.io/skinport.py/",
        "Issues": "https://github.com/PaxxPatriot/skinport.py/issues",
        "Repository": "https://github.com/PaxxPatriot/skinport.py.git"
    },
    "split_keywords": [
        "skinport",
        "counter-strike 2"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f49a474c2ad0645cd890cf366590d97ab7fdbca2e11eacf559ff5cca3b2f31a4",
                "md5": "627b8a07ae6b5f581a6c9a476cffb3c5",
                "sha256": "c088c3be4b925d622bb42a261a28247b80997e06bbda63004da0baf342375a9b"
            },
            "downloads": -1,
            "filename": "skinport.py-0.14.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "627b8a07ae6b5f581a6c9a476cffb3c5",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 23433,
            "upload_time": "2024-02-06T04:05:00",
            "upload_time_iso_8601": "2024-02-06T04:05:00.053885Z",
            "url": "https://files.pythonhosted.org/packages/f4/9a/474c2ad0645cd890cf366590d97ab7fdbca2e11eacf559ff5cca3b2f31a4/skinport.py-0.14.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "419559432e2b4e8c02bac6fad79a5e9613460ebf1c283b2fb7e8abf64166361f",
                "md5": "59d5c6286a2735192fe471da6bbd34df",
                "sha256": "56217b23fdd968c3c70c9db99fe7496ca95da9b126b6ef0ea8e6a012cd7b016a"
            },
            "downloads": -1,
            "filename": "skinport.py-0.14.3.tar.gz",
            "has_sig": false,
            "md5_digest": "59d5c6286a2735192fe471da6bbd34df",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 19185,
            "upload_time": "2024-02-06T04:05:02",
            "upload_time_iso_8601": "2024-02-06T04:05:02.001128Z",
            "url": "https://files.pythonhosted.org/packages/41/95/59432e2b4e8c02bac6fad79a5e9613460ebf1c283b2fb7e8abf64166361f/skinport.py-0.14.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-06 04:05:02",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "PaxxPatriot",
    "github_project": "skinport.py",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "skinport.py"
}
        
Elapsed time: 0.17879s