Skip to content
/ mcedu Public

Provides methods to query Minecraft Education's discovery/joincode API and to generate related tokens.

License

Notifications You must be signed in to change notification settings

josef240/mcedu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mcedu

Provides methods to query Minecraft Education's discovery/joincode API and to generate related tokens.

Installation

From PyPI

pip install mcedu

From Github

pip install git+https://github.com/josef240/mcedu.git

Build Locally

git clone https://github.com/josef240/mcedu.git
cd mcedu
python -m pip install setuptools, build
python -m build

Usage Example

from mcedu.discovery import DiscoveryClient,WorldParams, parseJoinCode
from mcedu.config import get_config, easyStartup
from mcedu.auth import AuthFlow

auth=easyStartup()
config=get_config()

config.saveSettings()
discovery=DiscoveryClient(auth.mstoken)
ServerToken,JoinCode=discovery.host(WorldParams(nethernetID=67212867493148092771))
print(parseJoinCode(JoinCode))

About

Provides methods to query Minecraft Education's discovery/joincode API and to generate related tokens.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages