Skip to main content

An Async Python API Wrapper for Fortnite.GG

Project description

FortniteGGAPI

I think this is the only wrapper for fortnite.gg cosmetics

Downloads Downloads Downloads Requires: Python 3.x Version: 1.0.0

Setup:

pip install FortniteGGAPI py -m pip install FortniteGGAPI

Usage

import asyncio

from FortniteGGAPI import CosmeticsAPI


async def test_store_items():
    api = CosmeticsAPI(language="en")
    await api.store_items()  # Store items from the API into cache can take some time on first run

    while True:
        item = await api.get_item(input("Enter item: "))
        if item:
            print(item.api_item_id)
            print(item.name)
            print(item.image_url)
            print(item.video_url)
            print(item.item_id)
            print(item.added)
            print(item.dict())


if __name__ == "__main__":
    asyncio.run(test_store_items())

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

fortniteggapi-1.0.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fortniteggapi-1.0.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file fortniteggapi-1.0.1.tar.gz.

File metadata

  • Download URL: fortniteggapi-1.0.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for fortniteggapi-1.0.1.tar.gz
Algorithm Hash digest
SHA256 d0b044a9576c0b0e09c9e82d1c801c9c57671918c47d09b3ab7a5ccc4e93ffc8
MD5 e7c4fdd8f711fb2e772ae90502c462da
BLAKE2b-256 f90f3d4d6fcc226f1d19a65158f3de9bb694425e3617fce537941549f8fe827b

See more details on using hashes here.

File details

Details for the file fortniteggapi-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: fortniteggapi-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for fortniteggapi-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 22232af2459de41ee977ab99027a0daa09bad09257f638844cd110fc572c0653
MD5 79e2745b1586a7daef71aaf7e6992b17
BLAKE2b-256 45cd583b85913e966d1aa441cb34a11c42196edb41b861710d80c60222c1a474

See more details on using hashes here.

Supported by

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