Skip to content

Instantly share code, notes, and snippets.

View ctgnauh's full-sized avatar

Tristan Huang ctgnauh

View GitHub Profile
import requests
from uuid import uuid4
import json
headers = {"X-GatewaySession":"[REDACTED]", "X-ClientVersion":'dev'}
data = {
"jsonrpc": '2.0',
"method": "Companion.initApp",
"params": {"locale": "en_US", "fallbackLocale": "en-GB"},
"id": str(uuid4())