A small package to use MCOauth
Project description
MCOauth
This is a simple package to use MCOauth. Initialize a Minecraft Player
MinecraftPlayer(token)
Most things are async except for initializing MinecraftPlayer which is not a blocking call because it uses
asyncio.run
A MinecraftPlayer has two properties, uuid and username. Using
int(MinecraftPlayer(token))
will return token. Note that tokens are only valid for 5 minutes, see https://mc-oauth.net/
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
mcoauth-0.0.4.tar.gz
(2.7 kB
view hashes)