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

Uploaded Source

Built Distribution

fgo_api_types-2024.4.26.17.40.59-py3-none-any.whl (101.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.26.17.40.59.tar.gz
Algorithm Hash digest
SHA256 8b22efb4bb37b2f0f62079d38d40ac6addbaff4dff3e6bf43270e48fce5a2247
MD5 de636ff41b82ed5467478ade0430405c
BLAKE2b-256 418fb867e6acab4c6ae78fb41eec5827c80caebccd694b3f104a4b97ab7a34c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.26.17.40.59-py3-none-any.whl
Algorithm Hash digest
SHA256 17f054a91b4cb4a05f45e1505b5f8c241f37d29acf4341fd93cc1634c830fffc
MD5 80654d9bd7598de5086a412a7834be40
BLAKE2b-256 3ac36b14620dce4eaa6af5ca43e6c52db112df5bd4a0b678f2bbf65c071e28b6

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