Skip to content

Instantly share code, notes, and snippets.

View Qusai1995albreazet's full-sized avatar
:atom:
Like my facebook page 👉 http://m.me/suudamhuusanqusaialbreazet1995

صدآم حسين Saddam Hussein Qusai1995albreazet

:atom:
Like my facebook page 👉 http://m.me/suudamhuusanqusaialbreazet1995
View GitHub Profile
@kcranston
kcranston / device-flow.py
Last active April 1, 2022 08:55
GitHub Device Flow
import requests
client_id = "Iv1.8df72ad9560c774c"
header = {"Content-Type": "application/json", "Accept": "application/json"}
# Step 1
payload1 = {"client_id": client_id,}
r = requests.post(
'https://github.com/login/device/code',headers=header,json=payload1
)