Module for interacting with Lis Skins API
Project description
▌ Asynchronous Module for Interacting with the Lis Skins API
This project is an asynchronous Python module designed to facilitate interaction with the LIS Skins API. The module allows users to retrieve account balances, purchase skins, view their purchase histories, withdraw unlocked skins, and return locked ones, perform all actions that Lis Skins API allows.
Current API documentation can be found here
▌ Installation & Usage
Install the library using pip:
pip install lisskins_api
Example usage:
from lisskins_api import LisSkinsAPIClient
async def main():
client = LisSkinsAPIClient('<api_key>')
# Get account balance
balance = await client.user_balance()
# Search skin to buy
search_skins = await client.search_skins(
'csgo', price_from=1, price_to=10, float_from=0.9, sort_by='lowest_price',
only_unlocked=1, names=['Glock-18 | Bullet Queen (Battle-Scarred)']
)
# Buy a skin
buy_skin = await client.buy_skin(
item_ids=[240978929], partner='<part of trade link>', token='<part of trade link>'
)
# Check status purchased skin
purchased_skin_info = await client.purchased_skins_info(purchase_ids=[39999999])
# Withdraw a skin
withdraw_skin = await client.withdraw_skins_from_specific_purchase(purchase_id=39999999)
if __name__ == "__main__":
import asyncio
asyncio.run(main())
▌ License
The project is distributed under the MIT License. Detailed information can be found in the LICENSE file.
If you have any questions or need help with anything, feel free to reach out me or check out the official Lis Skins API docs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lisskins_api-0.1.4.tar.gz.
File metadata
- Download URL: lisskins_api-0.1.4.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
385fe7bb7195ca2957eb211bdfcf404b02b50fa3ad380bf18464a36c6227a76c
|
|
| MD5 |
ebf0879be9e0e2e56172394e8f05515c
|
|
| BLAKE2b-256 |
fa0b87aaf330f486541918ed74578c50f59a4f43f2a97a4be4799631c81247c6
|
File details
Details for the file lisskins_api-0.1.4-py3-none-any.whl.
File metadata
- Download URL: lisskins_api-0.1.4-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ba5ddaea71020cf8e04f9230b03236b81012763cbb6a469101117453ce18fcb
|
|
| MD5 |
78b1cb7e1185f55620a195971f51c47f
|
|
| BLAKE2b-256 |
be899452200e9903ef869ef9cc61b345ef32e7b1c0830b5554790c340c78f91c
|