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.4.26.3.25.55.tar.gz (96.6 kB view details)

Uploaded Source

Built Distribution

fgo_api_types-2024.4.26.3.25.55-py3-none-any.whl (99.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.26.3.25.55.tar.gz
Algorithm Hash digest
SHA256 53a652b346ea4c4c7a8197a2ad2452812ab29732619780c15c3846b804a3c835
MD5 23cd431a6f0660e9594c853c18331d47
BLAKE2b-256 2d3df1e559d7bc6ef7f4cff660103b1979c0994b22ec179c19ab4ae6f8eccd1a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.26.3.25.55-py3-none-any.whl
Algorithm Hash digest
SHA256 d08354009832d71aea8f713a7bb948d2ca418f030883ab1057256442e84175a1
MD5 92ea30a80af25a9a187e3921ad473c73
BLAKE2b-256 5036d67e85050d925ee6ddfc1c98bbe59a749d00975d7ab60f1b0a6ba04a4225

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