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.2.tar.gz
(6.4 kB
view details)
Built Distribution
File details
Details for the file python-fragment-0.2.2.tar.gz
.
File metadata
- Download URL: python-fragment-0.2.2.tar.gz
- Upload date:
- Size: 6.4 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 | 5a199574a240097ae8a39ace8de787f7f89d7c9fe8aa5c4f7be0f116941cc318 |
|
MD5 | c13213012d3bba533db3dbde75c8ec8e |
|
BLAKE2b-256 | 6a11ab1777d9500ebcaf28fd34771aa4c379b8a8cf30f95f8214e9327aef9bb0 |
Provenance
File details
Details for the file python_fragment-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: python_fragment-0.2.2-py3-none-any.whl
- Upload date:
- Size: 7.6 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 | 0c1ada9b2c2ab8766957d7a9709a343f1951633a22596158da476ddbd153d811 |
|
MD5 | 9f25da8bb03ad8d85b3ee6fc98a61a85 |
|
BLAKE2b-256 | 77fc3feab945d6ec7a97a077a9563dfbfc465d1b97a6d627941af12b9c5be089 |