Get My Access Token
This shorcut is used by my Headed Home shortcut to get the Tesla account access token
gwgansMit dem iPhone scannen, um zu installieren
This shorcut is used by my Headed Home shortcut to get the Tesla account access token.
WARNING: The Tesla account login and password are set in the shortcut and sent over the internet. Do not use this if you want high security.
Neue Funktionen
Version 1.0
First release
Was er macht
6 Aktionen-
Text
-
Text
-
URLhttps://owner-api.teslamotors.com/oauth/token
-
Get Contents of URL
-
Get Dictionary Value
-
Copy to Clipboard
Als Code ansehen
Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.
#include 'actions/web'
#define color lightblue
#define glyph key
const tesla_email = "nil"
const tesla_password = "nil"
url("https://owner-api.teslamotors.com/oauth/token")
jsonRequest("", "POST", {
"client_id": "81527cff06843c8634fdc09e8ac0abefb46ac849f38fe1e431c2ef2106796384",
"client_secret": "c7257eb71a564034f9419ee651c7d0e5f7aa6bfbd18bafb5c5c033b093bb2fa3",
"email": "{tesla_email}",
"grant_type": "password",
"password": "{tesla_password}"
})
setClipboard(nil, true)
In Cherri Playground öffnen
Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.
Bewertungen und Rezensionen
Rezension schreiben–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Werbung
Mehr von gwgans
Das gefällt dir vielleicht auch
Werbung