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

Uploaded Source

Built Distribution

fgo_api_types-2023.11.25.16.37.9-py3-none-any.whl (96.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.11.25.16.37.9.tar.gz
Algorithm Hash digest
SHA256 09f0915683ec7a14619b6f0ba14142f93748cced6d618972002b34f8d2b13223
MD5 f6174c0583b994b54bc35a5956be4673
BLAKE2b-256 06ec0becc81523f7f903fd5c40b03be510dfd56b29c3c02a77e5b8d8396a42be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.11.25.16.37.9-py3-none-any.whl
Algorithm Hash digest
SHA256 238d9851d86ccf21303e1febb100262ff77eb395c41418ae51a0013da362ded5
MD5 fc6e385bb0e6e1447a78bded7e0d355a
BLAKE2b-256 a1fe7d6aefe0676d5d0ff553fc2b6ad4637ffeed0fb2afea9dc3a037f22a7071

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