Reverse engineered Fragment API that mimics the official webclient
Project description
python-fragment
Features
- Fast and asynchronous
- Fully typed
- Easy to contribute and use
Installation
pip install -U python-fragment
Or using poetry:
poetry add python-fragment
Quick Start
from fragment import FragmentAPI
import asyncio
async def main():
api = FragmentAPI()
async with api:
# Get username auctions
usernames = await api.usernames.search()
for username in usernames[:5]:
print(username)
# {
# 'username': 'lynx',
# 'status': 'auction',
# 'value': 6619.0,
# 'datetime': '2023-10-31T06:11:25+00:00',
# 'is_resale': False
# }
asyncio.run(main())
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
python-fragment-0.2.3.tar.gz
(6.5 kB
view details)
Built Distribution
File details
Details for the file python-fragment-0.2.3.tar.gz
.
File metadata
- Download URL: python-fragment-0.2.3.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.8.10 Darwin/18.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 371d1c0c1eb763879174513abd2e987798eb722f2f0a1bc10a4b072dc891e24f |
|
MD5 | 468e3a38f9dbdbf564db4404b906a1a8 |
|
BLAKE2b-256 | 70a11b59803cc22f26e18fd8c45c6f5006fc0f54d3703a7744d1dda50ad22897 |
Provenance
File details
Details for the file python_fragment-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: python_fragment-0.2.3-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.8.10 Darwin/18.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4753684db52cf5b84eb1938f07b0a85c45ab1faa7c5a30280adbd3f20d8e0230 |
|
MD5 | 3f0eb1a1e24cbdd6a02b0fcc7da3ada0 |
|
BLAKE2b-256 | 9f9d0231bb032264ad66464d14237b861f75246b80a4703f458a4e89f7141ce4 |