Skip to main content

Reverse engineered Fragment API that mimics the official webclient

Project description

python-fragment

GitHub license PyPi package version Supported python versions

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.3.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

python_fragment-0.3.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file python-fragment-0.3.0.tar.gz.

File metadata

  • Download URL: python-fragment-0.3.0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.4 Darwin/18.7.0

File hashes

Hashes for python-fragment-0.3.0.tar.gz
Algorithm Hash digest
SHA256 561228d316251f34a9c7d34f557a073f682cdd9ee1b8976019388f685e51d488
MD5 424843d1e685de4bee1e04d12bd3c611
BLAKE2b-256 140e74fa6e08ca57842ce6407cc73f7260829c10aa8e62e7043697f0989bc873

See more details on using hashes here.

File details

Details for the file python_fragment-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: python_fragment-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.4 Darwin/18.7.0

File hashes

Hashes for python_fragment-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9825d343cefb9e8057cdb9fbfc630e474f51c9833c4298fcd51018f006edcba4
MD5 561502f2c64fb42040fc240ce775a1be
BLAKE2b-256 eec6c964f2245c491e6930067f2b6d1cbca5e626522b92744c31cc992d4d4d2f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page