# 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": null,
"name": "skinport.py",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "Skinport, Counter-Strike 2, Team Fortress 2, Dota 2, Rust",
"author": null,
"author_email": "PaxxPatriot <skinport.py@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/28/53/000f25670bbffa1826430d01cf79f8574872c7dcdb027b3416b413f61024/skinport_py-0.28.0.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": null,
"summary": "A Python wrapper for the Skinport API",
"version": "0.28.0",
"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",
" team fortress 2",
" dota 2",
" rust"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "82b65f29f0d17c862aa88c173e777999ae921e330d44a2d23d656065d3578882",
"md5": "46ff2fbbc89e47191cfeaf92c0af5ce2",
"sha256": "13bed26bd2eeec4f284f5dbfb70009a118d2f467487ef086ea9eae9a93d8cf83"
},
"downloads": -1,
"filename": "skinport.py-0.28.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "46ff2fbbc89e47191cfeaf92c0af5ce2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 25888,
"upload_time": "2025-02-11T21:11:08",
"upload_time_iso_8601": "2025-02-11T21:11:08.368335Z",
"url": "https://files.pythonhosted.org/packages/82/b6/5f29f0d17c862aa88c173e777999ae921e330d44a2d23d656065d3578882/skinport.py-0.28.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "2853000f25670bbffa1826430d01cf79f8574872c7dcdb027b3416b413f61024",
"md5": "ab530b768b646606aa7b97271c6ab1c3",
"sha256": "e93e4cf2937bb29e3e8b7a331df971683a5dbe322f3dff8dddfdb785191d6403"
},
"downloads": -1,
"filename": "skinport_py-0.28.0.tar.gz",
"has_sig": false,
"md5_digest": "ab530b768b646606aa7b97271c6ab1c3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 20865,
"upload_time": "2025-02-11T21:11:11",
"upload_time_iso_8601": "2025-02-11T21:11:11.533143Z",
"url": "https://files.pythonhosted.org/packages/28/53/000f25670bbffa1826430d01cf79f8574872c7dcdb027b3416b413f61024/skinport_py-0.28.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-11 21:11:11",
"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"
}