GenshinImpactTools
Genshin Impact Tools
Some APIs are built-in (genshin.pub——Traveler's passport,ys.minigg.cn——Inquiry of dishonest personnel, black technology toolbox,Minigg API)
Deployment method
1. Install Python
(This program is written based on Python 3.9, please keep the same version, at least use Python 3.7 or above)
2. Installation dependencies
You can install dependencies with the following command
pip install -r requirements.txt
3. Install gadgets
Install through the following command
python setup.py install
4. Deploy the browser driver (optional, deploy this step if you need to use the "genshin.pub——Traveler's passport" function)
Install the browser (recommended Chrome , FireFox, etc.)
Install the driver corresponding to the browser version (Chrome is Chrome Driver , FireFox is Gecko Driver )
Put the driver in the browser installation directory
内置API
Note: The following functions are all in run_api.py
| Function name | Description |
|---|---|
| minigg_api_get() | Minigg API call |
| traveler_passport() | genshin.pub——Traveler's passport |
| untrustworthy_personnel_inquiries() | Untrustworthy personnel inquiries |
| tools_get() | Obtaining the Black Technology Toolbox |
minigg_api_get()
Parameters:
entry: required, type dict, the format is as follows
{
"version":1, # Version: 0 old version 1 new version
"type": 0, # Type: 0 character 1 weapon (used in the new version)
"char": { # Role (used in the new version, cannot be queried with weapons at the same time, only the type above is 0 to query)
"name": [char], Name (English)
"talents": 1, Talent (cannot be queried at the same time as the life seat)
"constellations": 1 Life seat (cannot be queried with talent at the same time)
},
"weapon": [weapon], Weapon (used in the new version, the English name of the weapon, can only be queried if the above type is 1, and cannot be queried at the same time as the character)
"data": [entry] Query data (used in the old version, Chinese name)
}
Replace the above "[char]", "[weapon]" and "[entry]" with the content to be queried
Return: the content returned by Minigg API
traveler_passport()
Parameters:
uid:Required, type int, player UID
name:Required, type str, player name
server:Required, type GenshinServer, player server
world_level:Required, type int, the world level
save_file:Required, type str, the name of the picture (path)
online_time:Optional, type str, online time
way:Optional, type str, contact information
message:Optional, type str, "What else do you want to say?"
characters:Optional, type set, commonly used roles, the format is as follows
{
([char], [level], [constellation]), # char: role name, level: level (not greater than 90, less than 1), constellation: life seat (not greater than 6, less than 0)
([char], [level], [constellation]),
...
}
Replace the above "[char]", "[level]" and "[constellation]" with what you need
Note: The set of this parameter contains at most four tuples, otherwise an error will be reported
icon:Optional, type str, avatar (role name)
Throws:
ElementError: Commonly used character avatar elements are wrong
OutOfSpecificationError: Commonly used role level life seat exceeds the specified error
CharacterNameError: Wrong role name
untrustworthy_personnel_inquiries()
Parameters:
account:Required, type str, account of the person being queried
way:Required, type UntrustworthyPersonnelInquiriesWay, contact information
bot_name:Optional, type str, robot name
bot_passwd:Optional, type str, robot key
is_transfer_api:Optional, type bool, whether it is an API call (if it is False, it is terminal output)
The bot name and bot passwd in the parameters can use the built-in ones, or use your own
Return:
A dict, the format is as follows
{
'success': True, # status
'message': '查询成功', # message
'data': { # data
'api_0002': { # API call interface
'msg': '测试用户111', # information
'imgpath': 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-b3e62dd1-a692-49ac-8be1-67fc7db35559/be5efaa8-8a8b-4c02-be6a-deaa4c8042f1.jpg', # Evidence screenshot
'blackcount': 5 # Number of dislikes
}
}
}
tools_get()
Parameters: none
Return:
A list, the format is as follows
[
{
'name': '(推荐)原神自动拾取 全分辨率版', # Tool name
'update': '2021-04-29 11:12:45', # Update time
'download': 48, # Download times
'icon': 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-b3e62dd1-a692-49ac-8be1-67fc7db35559/b63ca2b7-441d-4519-bb83-66d902c97c0a.png', # icon
'description': '适用于所有分辨率的PC端自动拾取工具', # briefIntroduction
'teaching': '运行前提:请以管理员身份运行 执行exe文件……', # tutorials
'video': 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-b3e62dd1-a692-49ac-8be1-67fc7db35559/3c9ea2b4-b16f-454e-a8a6-42ea1392459f.gif', # 演示视频
'lang': 'AutoHotKey', # Writing language
'author': '喵之召唤师', # author
'download_url': [
'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-b3e62dd1-a692-49ac-8be1-67fc7db35559/925ed4cc-e254-4676-884a-e031f74b1fd2.zip'
] # Download link
}
...
]
Metadata
Release files for GenshinImpactTools 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| GenshinImpactTools-1.0.tar.gz | 9.8 kB | Without provenance | Details for GenshinImpactTools-1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| GenshinImpactTools-1.0-py3-none-any.whl | Python 3 | none | any | Details for GenshinImpactTools-1.0-py3-none-any.whl |
Total release size: 20.8 kB
Release files / GenshinImpactTools-1.0.tar.gz
| Download URL | GenshinImpactTools-1.0.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ca7164f0a18daf85647df804b6331b4d0d06f3638484f222b82f0d7349923bed
|
|
BLAKE2b-256 checksum How to use checksums |
18bb2040cdecb608bf15ca4ad5bc2c91218aaef175b85c41c6487c29e8c05ce2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2
|
Release files / GenshinImpactTools-1.0-py3-none-any.whl
| Download URL | GenshinImpactTools-1.0-py3-none-any.whl |
|---|---|
| Size | 10.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
85bcd218f350b55029d283c8cdc84d5195779a000cb77b914cb415db1f553a9a
|
|
BLAKE2b-256 checksum How to use checksums |
f0d2529a1b0f53633aa67f3bbb9d8c3f42484591f77a882d86e7eae844ab4ec3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2
|
Security for GenshinImpactTools 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.