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

Uploaded Source

Built Distribution

fgo_api_types-2024.8.20.1.56.28-py3-none-any.whl (105.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.20.1.56.28.tar.gz
Algorithm Hash digest
SHA256 5d617e55b72947c92fcfd0bd22ac7c2b5533e1c3562afc0fa6d0f74b864e32fc
MD5 26833469a3044f9a00df44d8c772d823
BLAKE2b-256 619cc3f850717aa5498ac8e0ab97a87b12a89e03c85bb8794dc6684e4e0978d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.20.1.56.28-py3-none-any.whl
Algorithm Hash digest
SHA256 02e1352d785699dbc2a7ee5eb15f47427e7798ca7d956aa514279bcd1726c485
MD5 3f3a9acf96308a6a0ad559488d3c436f
BLAKE2b-256 16a75cbc9d3a57efad9fafdfff66fd8795b005eef72d89e86989e8e4f5d5564c

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