How to interface with a Stream Deck device.
The device uses the HID protocol to communicate with its software.
# This is how you get a minecraft token using a microsoft account (like the launcher does). | |
# The minecraft token is used to join servers, change username, skin, cape, ... | |
import requests | |
# License: do whatever you want. | |
print("You must manually use a web browser to login at https://login.live.com/oauth20_authorize.srf?client_id=00000000402B5328&redirect_uri=https://login.live.com/oauth20_desktop.srf&response_type=code&scope=service::user.auth.xboxlive.com::MBI_SSL") | |
blank_page_url = input("After login you will be redirected to a blank page, paste its url here: ") |