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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.2.7.17.45.50.tar.gz
Algorithm Hash digest
SHA256 e11be5d7c28b41dc58ec3ad8afe9c595eb4e6ba9570a10d7d1b8a54963d6465a
MD5 ed117f527ba1f95053cd16f637a2f3c4
BLAKE2b-256 b03998349aeb4a804addcb6e71add97aba5a8d931c0e533df30d0878e6fcb2d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.2.7.17.45.50-py3-none-any.whl
Algorithm Hash digest
SHA256 30fcca8aa9256e69d276998c1645b572ce5e3c9ad40975407626f98d202f3b07
MD5 88c84ab7f94ace12e90418c21d528bf6
BLAKE2b-256 78f812860cc5b1d593049b9f6a0de8a79acd36b5322c27401b02a1076dc45738

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