This branch is 10 commits behind Fragrance/maquitous:master
2025-01-17 22:37:25 +08:00
2025-01-10 15:14:04 +08:00
2025-01-10 15:14:04 +08:00
2025-01-17 22:37:25 +08:00
2025-01-10 15:14:04 +08:00
2025-01-10 15:14:04 +08:00
2025-01-18 02:35:44 +08:00
2025-01-17 22:53:55 +08:00
2025-01-17 22:37:38 +08:00
2025-01-11 01:37:14 +08:00
2025-01-10 15:14:04 +08:00
2025-01-10 15:14:04 +08:00
2025-01-10 15:14:04 +08:00
2025-01-10 15:14:04 +08:00

Maquitous

A backend api project based on flask and Eaquira.

dev of SDGA was suspended

Usage

Test URL: https://maquitous.fragrance.moe/

Web UI: Fragrance/Estahv (Still work in progress)

Info

You send your information to Maquitous, Maquitous transfer your information and send to 「舞萌DX」.

API Usage

  • GET /qr?qrcode=qrcode - transfer QrCode to UserId.

    Params: Scanned result from QrCode in WeChat
    Response:

    {
        "status": string, 
        "timestamp": integer,
        "info": string,
        "apiName": "qrCode_to_userId",
        "date": string,
        "userId": integer
    }
    
    
  • GET /ticket?userid=userId - Send「6倍チケット」to account.

    Params: userId
    Response:

    {
        "status": string, 
        "timestamp": integer,
        "info": string,
        "apiName": "ticket",
        "date": string,
        "userId": integer
    }
    
    
  • GET /mapstock?userid=userId - Save 99 kilometers in map to account.

    Params: userId
    Response:

    {
        "status": string, 
        "timestamp": integer,
        "info": string,
        "apiName": "mapstock",
        "date": string,
        "userId": integer
    }
    
    
  • GET /unlock?userid=userId - Unlock all DX Master Charts in account.

    Params: userId
    Response:

    {
        "status": string, 
        "timestamp": integer,
        "info": string,
        "apiName": "unlock",
        "date": string,
        "userId": integer
    }
    
    
  • POST /music - Overwrite a music detail in account.

    Params in application/json:

    {
        "userId": integer,
        "music": {
            "musicId": integer,
            "level": integer ,
            "playCount": integer,
            "achievement": integer,
            "comboStatus": integer,
            "syncStatus": integer,
            "deluxscoreMax": integer,
            "scoreRank": integer
        }
    }
    

    Response:

    {
        "status": string, 
        "timestamp": integer,
        "info": string,
        "apiName": "music",
        "date": string,
        "userId": integer
    }
    
    

Running

pip install -r requirements.txt
python3 host.py

Warning and Statements

WE ARE NOT RESIPONSIBLE FOR YOUR ACCOUNT.

怂别用,用别怂。

我也没说过这玩意一直能用,至少现在能用。

GNU License.

Maquitous is a part of Project Fragrance.

Description
A backend api project based on flask to send game playlog to「舞萌DX」.
Readme GPL-3.0 157 KiB
Languages
Python 100%