Skip to content

Instantly share code, notes, and snippets.

View stefan-home's full-sized avatar

stefannn stefan-home

View GitHub Profile
@stefan-home
stefan-home / HyundaiTokenTerminal.py
Last active October 19, 2025 06:18
Get token for Hyundai api using headless terminal
#!/usr/bin/env python3
import requests
import sys
from urllib.parse import urlparse, parse_qs, quote
user_agent: str = (
"Mozilla/5.0 (Linux; Android 4.1.1; Galaxy Nexus Build/JRO03C) "
"AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19_CCS_APP_AOS"
)