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

Uploaded Source

Built Distribution

fgo_api_types-2024.8.15.1.4.36-py3-none-any.whl (105.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.15.1.4.36.tar.gz
Algorithm Hash digest
SHA256 6ea6c86c1035ab749e2313a2435f36ddaa8dc6c316699f1f06fddb9533c0dce4
MD5 50e311bf6dd8edd018996b0c31ded69e
BLAKE2b-256 f7d440a116be763fa96eedea253181fb78413361844aace8f507b90f8d599217

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.15.1.4.36-py3-none-any.whl
Algorithm Hash digest
SHA256 8a1036ec37dc18ced12a399c7780be6003c1df1dd7414acfac7667ae05d400e6
MD5 9ed1f8e1def45b7b796c338b40beabf0
BLAKE2b-256 0f6770cabea072c0e4b75aab368409bb32a6be2d24b137d0c7363ca67f51c5e7

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