Constant

class mini.apis.api_config.LanType(value)[source]

Bases: enum.Enum

Language type

Abbreviation of country

CN = 0
EN = 1
TW = 2
FR = 3
DE = 4
EL = 5
JA = 6
KO = 7
RU = 8
CS = 9
DA = 10
NL = 11
FI = 12
BN = 13
AF = 14
EU = 15
BG = 16
BE = 17
EO = 18
ID = 19
IT = 20
GA = 21
KY = 22
LA = 23
LO = 24
MS = 25
NO = 26
FA = 27
PT = 28
SR = 29
SO = 30
UZ = 31
ZU = 32
YO = 33
VI = 34
TH = 35
TG = 36
SK = 37
AR = 38
MN = 39
MY = 40
TL = 41
class mini.apis.api_config.ServicePlatform(value)[source]

Bases: enum.Enum

Service Platform

BAIDU: Baidu

TENCENT: Tencent

GOOGLE: Google

BAIDU = 0
TENCENT = 1
GOOGLE = 2
class mini.apis.api_config.GetRobotLanguage(is_serial: bool = True)[source]

Bases: mini.apis.base_api.BaseApi

Get robot language api

Returns

GetRobotLanguageResponse

#GetRobotLanguageResponse.isSuccess

#GetRobotLanguageResponse.resultCode

#GetRobotLanguageResponse.language

async execute()[source]

执行获取机器人语言

Returns

GetRobotLanguageResponse

#GetRobotLanguageResponse.isSuccess

#GetRobotLanguageResponse.resultCode

#GetRobotLanguageResponse.language

class mini.apis.api_config.RobotLanguage(value)[source]

Bases: enum.Enum

Languages supported by the robot

en_US = 0
ru_RU = 1
class mini.apis.api_config.SetRobotLanguage(is_serial: bool = True, language: mini.apis.api_config.RobotLanguage = RobotLanguage.en_US)[source]

Bases: mini.apis.base_api.BaseApi

Set robot language model API

Returns

SetRobotLanguageResponse

#SetRobotLanguageResponse.isSuccess

#SetRobotLanguageResponse.resultCode

#SetRobotLanguageResponse.progress

#SetRobotLanguageResponse.total

#SetRobotLanguageResponse.state

async execute()[source]

Execution to set the robot language model

Returns

SetRobotLanguageResponse

#SetRobotLanguageResponse.isSuccess

#SetRobotLanguageResponse.resultCode

#SetRobotLanguageResponse.progress

#SetRobotLanguageResponse.total

#SetRobotLanguageResponse.state