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.7.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for BenBotAsync-1.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e254b4038506fa6c9942438958e6d43977876e255819da588e539eaf030f7cc0 |
|
MD5 | e53d262dd4caaf19b2865a42d9c11ebb |
|
BLAKE2b-256 | 9a202649e5579c056992224df58b5d6eaca9faba6702fed3a43c5cab2e696b78 |