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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.12.20.0.33.2.tar.gz
Algorithm Hash digest
SHA256 f14564743861e6a50371917a18c5b4ac874dda09c9e5d67f29a941949b60643a
MD5 5aa936344342c1b05a32bac2d65827ba
BLAKE2b-256 5b5dd4820e60ef870b969a110819a60c3daff391d4460bcdf0ba141218067b3a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.12.20.0.33.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4d920d280622f1dca9da6a0208a45a2b68d963b15e684f443901d499c3b9dad9
MD5 77815e1713f6eb3c2a31269e0badc5e7
BLAKE2b-256 a32bef847d710788ec0bbf3fee679d28d64f5e64178ae77c34b5a78fcb47eb25

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