Asynchronous Python wrapper for BenBot API.
Project description
BenBot
Python wrapper for BenBot.
Installing:
Synchronous:
Windows: py -3 -m pip install BenBot
Linux/macOS: python3 -m pip install BenBot
Asynchronous:
Windows: py -3 -m pip install AsyncBenBot
Linux/macOS: python3 -m pip install AsyncBenBot
Examples:
import BenBot
BenSearch = BenBot.getSkinId("Ghoul Trooper")
print(BenSearch)
fortnitepy example:
import fortnitepy
import BenBotAsync
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] == '!skin':
skinId = await BenBotAsync.getSkinId(content)
await client.user.party.me.set_outfit(asset=skinId)
client.run()
This would output:
CID_029_Athena_Commando_F_Halloween
The list of functions is on the Wiki.
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
BenBotAsync-1.0.8.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for BenBotAsync-1.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 041e4efdabc0d808b188258d197cc8de9103d865c5377be4098e12708a916898 |
|
MD5 | 1a6897e86e50dab907cafd97b3cafeda |
|
BLAKE2b-256 | 8798d5f2565dbeec5b7774f0e1c085846e41ef6b79176cdf38aa8ec657761b6c |