Skip to main content

Asynchronous Python wrapper for ScuffedAPI.

Project description

ScuffedAPI

Python wrapper for ScuffedAPI.

Requires: Python 3.x ScuffedAPI Version: 1.0.4

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.

Files for ScuffedAPI, version 1.0.4
Filename, size File type Python version Upload date Hashes
Filename, size ScuffedAPI-1.0.4-py3-none-any.whl (3.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size ScuffedAPI-1.0.4.tar.gz (3.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page