No project description provided
Project description
genshin-recipe-data / genshinrecipes
A repository to keep a current copy of Genshin Impact's cooking recipe data. Updated on a best effort basis.
Why?
I'm making tools for myself as someone trying to be a completionist in a gacha game, despite how stupid it sounds.
This was originally in enkanomiya but since I am making another project using this data, it makes more sense to share a repository between the 2 projects.
For the record, all of this was typed out manually for the most part. There are future plans to make the data much better to contribute to, see #2.
Using it in Python
Install genshinrecipes from PyPI to use it in your (Python) project. There are currently 2 functions available.
genshinrecipes.return_data()
- Returns the full JSON object.
genshinrecipes.filter_by_rarity(rarity: int)
- Returns all recipes that are of a certain rarity (1-5).
Using it in not Python
Simply use the data in genshinrecipes/recipes.json (for example, you could use a git submodule). It's a big JSON object basically looking like this:
{
"food-name": {
"name": "Food Name",
"rarity": 1,
"location": "Where you can find it"
}
// and it goes on... and on
}
License
Unlicense, public domain, whatever you want to call it. You are free to use this data however you see fit, because I didn't make the game anyway.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file genshinrecipes-2.6.0.tar.gz.
File metadata
- Download URL: genshinrecipes-2.6.0.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fca20ef58492185488e53108f60e9c2fcfa3e2e40f9687609d65eac18437305f
|
|
| MD5 |
fee3558ed2b11596362a38c5e13754f9
|
|
| BLAKE2b-256 |
b26392b2d0517faaeb0df08b337e4f1e1d4b97a28a51b10495635dc2ddd4fae9
|
File details
Details for the file genshinrecipes-2.6.0-py3-none-any.whl.
File metadata
- Download URL: genshinrecipes-2.6.0-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b3db314c93856dca5988e9d243ff3610398a845f9525ec68071aaf807c77a96
|
|
| MD5 |
b406506a5b5592349b890520b68fe818
|
|
| BLAKE2b-256 |
3f259fff122fdded1cfc00555805d64cf7c5a04bca74f01696e1ab0403d4cecb
|