Login About Gallery
JOY币签到
COMMENT
如果使用本指令,默认您同意下面条款: 1. 本指令仅供学习交流使用,请勿用于商业用途和非法行为,否则一切后果皆由使用者承担 2. 本指令不会上传您的任何个人信息给任何第三方,所有账户密码和车辆信息都保存在本地和iCloud 3. 本指令与BMW公司无关
TEXT
我同意
COMMENT
1. 请在下面词典中输入MyBMW用户名和登录密码,用户名为86加手机号,如8613528687351 2. 第一次运行需要允许权限,后面设置快捷指令自动化运行即可 3. 免责声明:本指令仅供交流使用,不可作为商业用途 4. 发布者:吹雪;技术指导:胡总(530 dev)
DICTIONARY
<inline variable>
<inline variable>
<inline variable>
DICTIONARY
<inline variable>
<inline variable>
<inline variable>
<inline variable>
NETWORK
Get contents of
https://note.youdao.com/yws/api/note/120a7d6fd8d4196f8760e1c3adc8f8e9
Options Under Construction
SCRIPTING
Set name of
URL的内容
to
a.txt
TEXT
Match
\{.*?\}
in
重新命名的项目
Case Sensitive
VARIABLES
Set variable
update
to
匹配
DOCUMENTS
Replace
v
with
World
in
update
Case Sensitive
Regular Expression
VARIABLES
Set variable
version
to
更新后的文本
SCRIPTING
If
version
is greater than
Version
REMINDERS
Add
update
to
提醒事项
with
Alert
At Time
Current Date
Options Under Construction
Otherwise
End If
DOCUMENTS
Replace
\s+
with
World
in
词典
Case Sensitive
Regular Expression
VARIABLES
Set variable
username
to
更新后的文本
DOCUMENTS
Replace
\s+
with
World
in
词典
Case Sensitive
Regular Expression
VARIABLES
Set variable
password
to
更新后的文本
SCRIPTING
If
文本
is not
我同意
SCRIPTING
Show
因您不同意本条款,故无法使用本指令,如需继续使用请在条款下的文本中填入“我同意 ”三个字(没有引号)
SCRIPTING
Exit shortcut with
Result
Otherwise
End If
SCRIPTING
Count
Characters
in
username
SCRIPTING
If
数量
is not
13
NOTIFICATIONS
Show notification
Input
Options Under Construction
SCRIPTING
Exit shortcut with
Result
Otherwise
End If
TEXT
Match
^86
in
username
Case Sensitive
SCRIPTING
If
匹配
does not have any value
NOTIFICATIONS
Show notification
Input
Options Under Construction
SCRIPTING
Exit shortcut with
Result
Otherwise
End If
SCRIPTING
Count
Characters
in
password
SCRIPTING
If
数量
is
0
NOTIFICATIONS
Show notification
Input
Options Under Construction
SCRIPTING
Exit shortcut with
Result
Otherwise
SCRIPTING
If
数量
is less than
8
NOTIFICATIONS
Show notification
Input
Options Under Construction
SCRIPTING
Exit shortcut with
Result
Otherwise
End If
End If
MATHS
Random number between
1
and
15
SCRIPTING
DOCUMENTS
Get File
Service
iCloud Drive
Show Document Picker
File Path
/Shortcuts/example.txt
Error If Not Found
SCRIPTING
If
文件
does not have any value
TEXT
false
VARIABLES
Set variable
token
to
文本
Otherwise
NETWORK
Get contents of
https://myprofile.bmw.com.cn/eadrax-coas/v1/oauth/token
Options Under Construction
SCRIPTING
If
URL的内容
does not have any value
TEXT
false
VARIABLES
Set variable
token
to
文本
Otherwise
TEXT
true
VARIABLES
Set variable
token
to
文本
VARIABLES
Set variable
refresh_token
to
URL的内容
DICTIONARY
<inline variable>
refresh_token
DOCUMENTS
Service
iCloud Drive
Ask Where to Save
Destination Path
/Shortcuts/
mybmw_refresh_token-
username
.json
Overwrite If File Exists
VARIABLES
Set variable
access_token
to
URL的内容
End If
End If
SCRIPTING
If
token
is
false
NETWORK
Get contents of
https://myprofile.bmw.com.cn/eadrax-coas/v1/cop/publickey
Options Under Construction
DOCUMENTS
Replace
\s+
with
World
in
URL的内容
Case Sensitive
Regular Expression
DOCUMENTS
Replace
PUBLIC
with
PUBLIC
in
更新后的文本
Case Sensitive
Regular Expression
VARIABLES
Set variable
publicKey
to
更新后的文本
NETWORK
Get contents of
https://gitee.com/ichuixue/bmw_shortcuts/raw/master/BMW_JSEncrypt.js
Options Under Construction
Under Construction
NETWORK
Get contents of
https://myprofile.bmw.com.cn/eadrax-coas/v1/login/pwd
Options Under Construction
SCRIPTING
If
URL的内容
does not have any value
TEXT
Match
密码错误
in
URL的内容
Case Sensitive
SCRIPTING
If
匹配
has any value
NOTIFICATIONS
Show notification
Input
Options Under Construction
SCRIPTING
Exit shortcut with
Result
Otherwise
TEXT
Match
验证码
in
URL的内容
Case Sensitive
SCRIPTING
If
匹配
has any value
NOTIFICATIONS
Show notification
Input
Options Under Construction
SCRIPTING
Exit shortcut with
Result
Otherwise
NOTIFICATIONS
Show notification
Input
Options Under Construction
SCRIPTING
Exit shortcut with
Result
End If
End If
Otherwise
End If
VARIABLES
Set variable
access_token
to
URL的内容
VARIABLES
Set variable
refresh_token
to
URL的内容
DICTIONARY
<inline variable>
refresh_token
DOCUMENTS
Service
iCloud Drive
Ask Where to Save
Destination Path
/Shortcuts/
mybmw_refresh_token-
username
.json
Overwrite If File Exists
Otherwise
End If
TEXT
{"signDate":null}
NETWORK
Get contents of
https://myprofile.bmw.com.cn/cis/eadrax-community/private-api/v1/mine/check-in
Options Under Construction

Showcuts

Magic Vars

Screenshot

Submitted Anonymously 2 months ago

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0

46 more actions