Skip to main content

Provide Pydantic types from FGO API

Project description

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

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

fgo_api_types-2024.8.28.10.14.55.tar.gz (102.5 kB view details)

Uploaded Source

Built Distribution

fgo_api_types-2024.8.28.10.14.55-py3-none-any.whl (105.8 kB view details)

Uploaded Python 3

File details

Details for the file fgo_api_types-2024.8.28.10.14.55.tar.gz.

File metadata

File hashes

Hashes for fgo_api_types-2024.8.28.10.14.55.tar.gz
Algorithm Hash digest
SHA256 fb91b717c9329fd23dcb5247bbd049828e04e8e0f1e6565f997994803d74cd79
MD5 0a21b5f3d2a36a6e5654d865cf3b7dff
BLAKE2b-256 d14bac2d827ee8322210551a423c8157ca4bb4dd393432771e9d3538d24be214

See more details on using hashes here.

File details

Details for the file fgo_api_types-2024.8.28.10.14.55-py3-none-any.whl.

File metadata

File hashes

Hashes for fgo_api_types-2024.8.28.10.14.55-py3-none-any.whl
Algorithm Hash digest
SHA256 944441d2e186976e812786800d7644b3d594f5dcb33ae559f9d47bceeb4b8c64
MD5 03afffd301f207f9ea7af927324be238
BLAKE2b-256 fbdf7b784bf432487393ade58feaaa1bd5a2cde013795320ac4ba825c22b0a6a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page