An open API service indexing awesome lists of open source software.

https://github.com/offici5l/migate

Xiaomi authentication gateway for Python projects
https://github.com/offici5l/migate

2fa auth authentication captcha hyperos login mi miui offici5l xiaomi

Last synced: 11 days ago
JSON representation

Xiaomi authentication gateway for Python projects

Awesome Lists containing this project

README

          

# migate

**migate** is a simplified Xiaomi authentication gateway for Python projects

## Usage

```python

import migate

service_id = ''

param = {"sid": service_id}

# Required for some service IDs like "unlockApi" :
# param["checkSafeAddress"] = True

passToken = migate.get_passtoken(param)
service = migate.get_service(passToken, param)

```

___

![MIT License](https://img.shields.io/badge/License-MIT-green.svg)