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

Uploaded Source

Built Distribution

fgo_api_types-2024.2.4.6.15.3-py3-none-any.whl (98.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.2.4.6.15.3.tar.gz
Algorithm Hash digest
SHA256 7d3d6d580ffcd3d3409a084fb4666b0c23e7874f47d9e273addfb13e889113e5
MD5 5a75fad878fdabdaeb01f18a0a22ea0c
BLAKE2b-256 08007ef83962ca7207c7ab89a36aea2b78df15ea188387f1e10cc94fd5bd9285

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.2.4.6.15.3-py3-none-any.whl
Algorithm Hash digest
SHA256 61ff24fc0a45cf51d888ed8ef61b845889ca75dc9ce1c8fcfea4bd9d9e62e125
MD5 8f63ccc948b29130676c8ed6c8bc1b27
BLAKE2b-256 b8cef98247d2d6e1bc6dcaaba7f531f09b09e317a6897e2484e85d1c9900a645

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