An Async Python API Wrapper for Fortnite.GG
Project description
FortniteGGAPI
I think this is the only wrapper for fortnite.gg cosmetics
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
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
fortniteggapi-1.0.1.tar.gz
(3.2 kB
view details)
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0b044a9576c0b0e09c9e82d1c801c9c57671918c47d09b3ab7a5ccc4e93ffc8
|
|
| MD5 |
e7c4fdd8f711fb2e772ae90502c462da
|
|
| BLAKE2b-256 |
f90f3d4d6fcc226f1d19a65158f3de9bb694425e3617fce537941549f8fe827b
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22232af2459de41ee977ab99027a0daa09bad09257f638844cd110fc572c0653
|
|
| MD5 |
79e2745b1586a7daef71aaf7e6992b17
|
|
| BLAKE2b-256 |
45cd583b85913e966d1aa441cb34a11c42196edb41b861710d80c60222c1a474
|