Get My Access Token
This shorcut is used by my Headed Home shortcut to get the Tesla account access token
gwgansEscanea con tu iPhone para instalar
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.
Novedades
Versión 1.0
First release
Qué hace
6 acciones-
Text
-
Text
-
URLhttps://owner-api.teslamotors.com/oauth/token
-
Get Contents of URL
-
Get Dictionary Value
-
Copy to Clipboard
Ver como código
Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.
#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)
Abrir en Cherri Playground
Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.
Valoraciones y reseñas
Escribe una reseña–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!
Publicidad
Más de gwgans
También te puede gustar
Publicidad