Asynchronous Python wrapper for ScuffedAPI. By Oli
Project description
ScuffedAPI
Python wrapper for ScuffedAPI. (Made By Oli)
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)
Built Distribution
Close
Hashes for ScuffedAPI-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 668b36552ad21b637f01c1f6d9973d2c306b8d38a638bf7a5dba0a29305eb5e1 |
|
MD5 | 6b859eefb38f40dfb6c03500920b12d5 |
|
BLAKE2b-256 | 950fd1e97a06b0fa1f07e69391a84be326a0e6a961d82325bd04e51467b47380 |