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

Uploaded Source

Built Distribution

fgo_api_types-2023.12.31.22.5.31-py3-none-any.whl (97.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.12.31.22.5.31.tar.gz
Algorithm Hash digest
SHA256 42c107c086ab1f6cda9e955cc5132501201022a195e496595b15490308575af5
MD5 3bf2d63dd0c133a878e85adae65e41e5
BLAKE2b-256 0d46bf044ae437efcf04203c3e6e88ddb4a9ac5133ac85b69b6646e71a0b5d74

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.12.31.22.5.31-py3-none-any.whl
Algorithm Hash digest
SHA256 6abff31d2869b0d47529fc8629022b378693d92976c4b17cc4a3bd5530105484
MD5 7d8e33e189e87b78cce6f9018bca314a
BLAKE2b-256 3d2266e7c0df99cd1775df569cf5dfd5ece1d053d4a51dbcc13050b7cb385fb9

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