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.9.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for BenBotAsync-1.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92222b771da2feeab4fe40e4b47a5ce56126c30cab0bc78bdac8f0018d83345a |
|
MD5 | c1e11201e3678fb85729111fa2e53e1a |
|
BLAKE2b-256 | cb32a43fc23034b365501ba0ce2d650a7c9c2fb21da3dc440d902562db57e950 |