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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.10.19.19.27.43.tar.gz
Algorithm Hash digest
SHA256 ea3bfd0443f64a6c8853fc7f50d986c976fce9f930c1ebd372a0955761549ddb
MD5 f2592708068c2e19f059341b0036b5de
BLAKE2b-256 712c15d9007e14b38344699bddacabc8cd9903a7b3c5190ef10d5cd53a0affcb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.10.19.19.27.43-py3-none-any.whl
Algorithm Hash digest
SHA256 09000af4f226179839ac1b07ee8fa4fc3d06f0069d749e6f10092810be894c34
MD5 734809a3b784813410ac179ebe604f00
BLAKE2b-256 b59ea0a3218886f47056d4c9e91c5c665437ce1104eda87864bd6877d99fac6c

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