Async Api wrapper for GummyFN
Project description
GummyFNAsync
Python wrapper for the GummyFn API.
Setup:
Windows: py -3 -m pip install GummyFNAsync
Linux/macOS: python3 -m pip install GummyFNAsync
Examples:
import GummyFNAsync
import asyncio
async def skinsearch():
result = await GummyFNAsync.get_cosmetic(
name="Ghoul Trooper"
)
print(result.id)
loop = asyncio.get_event_loop()
loop.run_until_complete(skinsearch())
loop.close()
This would output:
CID_029_Athena_Commando_F_Halloween
fortnitepy example:
import GummyFNAsync
import fortnitepy
from fortnitepy.ext import commands
client = commands.Bot(
command_prefix=prefix
auth=fortnitepy.AuthorizationCodeAuth(
code = input('Enter Code\n')
)
@client.command()
async def skin(ctx, *, item = None):
if item is None:
await ctx.send('No Item Was Given Try !skin ikonik')
else:
try:
skin = await GummyFNAsync.get_cosmetic(
name=content
)
await client.party.me.set_outfit(asset=skin.id)
await ctx.send(f'Skin Set To {skin.name}')
except GummyFNAsync.exceptions.NotFound:
await ctx.send(f'Could not find a skin named: {skin}')
client.run()
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
GummyFNAsync-1.0.0.tar.gz
(3.6 kB
view details)
File details
Details for the file GummyFNAsync-1.0.0.tar.gz
.
File metadata
- Download URL: GummyFNAsync-1.0.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35bb01504a5723771323d896af9c7c17ffa6bcf6fd65d86ccc028a7f961961d2 |
|
MD5 | 4bf1790751cef152cf53688f79faece7 |
|
BLAKE2b-256 | fd0ddf06b79e59146bff3541f781ae60bd2f53126179306a0682d656663c7a45 |