Skip to main content

Asynchronous Python wrapper for ScuffedAPI. By Oli

Project description

ScuffedAPI

Python wrapper for ScuffedAPI. (Made By Oli)

Requires: Python 3.x ScuffedAPI Version: 0.0.1

Installing:

Windows: py -3 -m pip install ScuffedAPI
Linux/macOS: python3 -m pip install ScuffedAPI

Examples:

import ScuffedAPI
import asyncio

async def arrow():
    banner = await ScuffedAPI.get_banner(name="Arrow")
    print(banner.id)

loop = asyncio.get_event_loop()
loop.run_until_complete(arrow())
loop.close()

This would output:
StandardBanner1

fortnitepy example:

import fortnitepy
import ScuffedAPI

client = fortnitepy.Client(
    email='example@email.com',
    password='password123'
)

@client.event
async def event_friend_message(message):
    args = message.content.split()
    split = args[1:]
    content = " ".join(split)

    if args[0] == '!playlist':
        playlist = await ScuffedAPI.get_playlist(name=content)
        await client.user.party.set_playlist(playlist=playlist.id)

client.run()

Documentation coming soon, examples of all functions at: https://scuffedapi.herokuapp.com/

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

ScuffedAPI-0.0.1.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

ScuffedAPI-0.0.1-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

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