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

Uploaded Source

Built Distribution

fgo_api_types-2023.11.30.1.29.36-py3-none-any.whl (96.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.11.30.1.29.36.tar.gz
Algorithm Hash digest
SHA256 ab2dbc445e0f85819a403e8b0d58fafe2b6bf0223f9245bfb9cb43ead9b87123
MD5 1db2be14c0df0c50f09e3ddf7924a089
BLAKE2b-256 87360450086ac09584b8c66ec45bd8a1e594126134c7fb05d527766e24b00899

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.11.30.1.29.36-py3-none-any.whl
Algorithm Hash digest
SHA256 697550d808bb4494b0821c396710870da11ea226c61e7225bc856b31004a6729
MD5 1d7f3d33bf51fb15417c2cf4922e119d
BLAKE2b-256 2e088a83d7286e98cecfba2bc576c3406162127574d6660e6c554ea14adcea78

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