Ejemplo n.º 1
0
import robloxapi
rbx = robloxapi.client() 

username = input("Enter in a username: "******"Username is taken")
else: # If username is not taken, do this
    print("Username is not taken")
#async version
import robloxapi, asyncio

client = robloxapi.client()


async def run():
    id = await client.User.id_by_username('roblox')
    print(id)


loop = asyncio.get_event_loop()
loop.run_until_complete(run())
loop.close()