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

Uploaded Source

Built Distribution

fgo_api_types-2023.11.30.1.28.4-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.28.4.tar.gz.

File metadata

File hashes

Hashes for fgo_api_types-2023.11.30.1.28.4.tar.gz
Algorithm Hash digest
SHA256 b3db187de801ea17f184d8a506e9f7f25ad3ef2b0172f717ca1332c8ac06ed36
MD5 6702b953e8d950115f49247af2ad83a6
BLAKE2b-256 dda2f37b85942b3938ac0d4c032dbb861bd4ecd27dcd2140b05266530250958b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.11.30.1.28.4-py3-none-any.whl
Algorithm Hash digest
SHA256 643f284ee67771a3fccbecf2cce9afd9787c0df75a84c8e217ad9d16ab58bf77
MD5 4934033ad3e0e3919a14992004b5fa12
BLAKE2b-256 41cc5d6455f3fb2e1b20d2ca263eea9ded5dbe48e10917b58692551bcb9a2be0

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