Name | fgo-api-types JSON |
Version |
2025.1.15.9.4.29
JSON |
| download |
home_page | None |
Summary | Provide Pydantic types from FGO API |
upload_time | 2025-01-15 09:04:44 |
maintainer | None |
docs_url | None |
author | squaresmile |
requires_python | <4.0,>=3.6 |
license | None |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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": null,
"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/05/b67545780dc71e64ae96c037f80075d60b96c64040fdcfb401bb40ebc08b/fgo_api_types-2025.1.15.9.4.29.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": "2025.1.15.9.4.29",
"project_urls": {
"Homepage": "https://api.atlasacademy.io",
"Repository": "https://github.com/atlasacademy/fgo-game-data-api"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5008617aab96e39d0726c14abc4a2ce8cfc9d5537e0447c330553988df2925cb",
"md5": "1f76c8ad52d99b88948f43de2490afa8",
"sha256": "11afebb426013ca647118e7ba9e2e690bc80099a16e7020657181a703210bb54"
},
"downloads": -1,
"filename": "fgo_api_types-2025.1.15.9.4.29-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1f76c8ad52d99b88948f43de2490afa8",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.6",
"size": 107903,
"upload_time": "2025-01-15T09:04:41",
"upload_time_iso_8601": "2025-01-15T09:04:41.946115Z",
"url": "https://files.pythonhosted.org/packages/50/08/617aab96e39d0726c14abc4a2ce8cfc9d5537e0447c330553988df2925cb/fgo_api_types-2025.1.15.9.4.29-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "fd05b67545780dc71e64ae96c037f80075d60b96c64040fdcfb401bb40ebc08b",
"md5": "9b78a993ce5dab1eb39ffa66d72ba36c",
"sha256": "fd282868498d6fd1099ad4f05da7c38c33171b0368fe65bf78a63ce384712241"
},
"downloads": -1,
"filename": "fgo_api_types-2025.1.15.9.4.29.tar.gz",
"has_sig": false,
"md5_digest": "9b78a993ce5dab1eb39ffa66d72ba36c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.6",
"size": 103958,
"upload_time": "2025-01-15T09:04:44",
"upload_time_iso_8601": "2025-01-15T09:04:44.268743Z",
"url": "https://files.pythonhosted.org/packages/fd/05/b67545780dc71e64ae96c037f80075d60b96c64040fdcfb401bb40ebc08b/fgo_api_types-2025.1.15.9.4.29.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-15 09:04:44",
"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"
}