# Types for FGO Game Data API
This is a package containing the Pydantic definitions of the objects returned by https://api.atlasacademy.io/rapidoc.
Example usage:
```
from fgo_api_types.enums import Trait
from fgo_api_types.gameenums import SvtType
from fgo_api_types.nice import NiceServant
r = httpx.get("https://api.atlasacademy.io/nice/NA/servant/200")
fujino = NiceServant.parse_raw(r.content)
assert Trait.genderFemale in fujino.traits
```
Raw data
{
"_id": null,
"home_page": "https://api.atlasacademy.io",
"name": "fgo-api-types",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.6",
"maintainer_email": null,
"keywords": null,
"author": "squaresmile",
"author_email": "squaresmile@protonmail.com",
"download_url": "https://files.pythonhosted.org/packages/fd/bc/b45a447ce9f8711bba7ec3691af69d2e747c854667d4c42bcb5a4e38dbad/fgo_api_types-2024.8.28.19.54.41.tar.gz",
"platform": null,
"description": "# Types for FGO Game Data API\n\nThis is a package containing the Pydantic definitions of the objects returned by https://api.atlasacademy.io/rapidoc.\n\nExample usage:\n```\nfrom fgo_api_types.enums import Trait\nfrom fgo_api_types.gameenums import SvtType\nfrom fgo_api_types.nice import NiceServant\n\nr = httpx.get(\"https://api.atlasacademy.io/nice/NA/servant/200\")\nfujino = NiceServant.parse_raw(r.content)\n\nassert Trait.genderFemale in fujino.traits\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "Provide Pydantic types from FGO API",
"version": "2024.8.28.19.54.41",
"project_urls": {
"Homepage": "https://api.atlasacademy.io",
"Repository": "https://github.com/atlasacademy/fgo-game-data-api"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "349f52281e20a9be798600291933a27c1cea7ccab044e4bb6777e24020b93660",
"md5": "198be714bd5aa334c20cf83cc58c858b",
"sha256": "b23683077d8b445af453851f3c0581ade4f6570b7e7d54f4469effe68753dec0"
},
"downloads": -1,
"filename": "fgo_api_types-2024.8.28.19.54.41-py3-none-any.whl",
"has_sig": false,
"md5_digest": "198be714bd5aa334c20cf83cc58c858b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.6",
"size": 106085,
"upload_time": "2024-08-28T19:54:47",
"upload_time_iso_8601": "2024-08-28T19:54:47.153845Z",
"url": "https://files.pythonhosted.org/packages/34/9f/52281e20a9be798600291933a27c1cea7ccab044e4bb6777e24020b93660/fgo_api_types-2024.8.28.19.54.41-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "fdbcb45a447ce9f8711bba7ec3691af69d2e747c854667d4c42bcb5a4e38dbad",
"md5": "129469e9ad3ad8690e1822b81eda9883",
"sha256": "d273aeb676fb1d6df74588f97b5559dbad80a7d9fc3d82d9adf31065cde3b461"
},
"downloads": -1,
"filename": "fgo_api_types-2024.8.28.19.54.41.tar.gz",
"has_sig": false,
"md5_digest": "129469e9ad3ad8690e1822b81eda9883",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.6",
"size": 102756,
"upload_time": "2024-08-28T19:54:48",
"upload_time_iso_8601": "2024-08-28T19:54:48.829586Z",
"url": "https://files.pythonhosted.org/packages/fd/bc/b45a447ce9f8711bba7ec3691af69d2e747c854667d4c42bcb5a4e38dbad/fgo_api_types-2024.8.28.19.54.41.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-28 19:54:48",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "atlasacademy",
"github_project": "fgo-game-data-api",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "fgo-api-types"
}