README.md

This commit is contained in:
Hikaru
2021-09-26 00:52:54 +08:00
parent 0b959b5d26
commit 5a39510a41

15
OpenMico-Login/README.md Normal file
View File

@@ -0,0 +1,15 @@
# How to log in and get cookies
- It's very simple! Provided by [Flying1008](https://github.com/flying1008)
```
First of all you need to know your Mi account number (not phone number) and its password
```
```
https://account.xiaomi.com/pass/serviceLoginAuth2?_json=true&sid=micoapi&locale=zh_CN&user=</userId>&hash=</password>
```
```
Replace </userId> with your Mi account number, and replace </password> with the uppercase MD5(32) value of your password
```
```
In the end you will get a complete link, using a POST request, you will get the Token you need
```