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

Uploaded Source

Built Distribution

fgo_api_types-2024.6.8.4.16.16-py3-none-any.whl (101.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.6.8.4.16.16.tar.gz
Algorithm Hash digest
SHA256 8dcd57bdacc6b7fd6b46080aa1d51079a298eaedb9195c3369397dc42c18929f
MD5 744026cbc68a996c5e0f15a8ee1b030d
BLAKE2b-256 3fdd1ecf00baad065acd6fb55403c059996e869731c2a3f7795f42f89aed3654

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.6.8.4.16.16-py3-none-any.whl
Algorithm Hash digest
SHA256 4daddf9aa5d47bd564776c75b19f1a4417412062d11b5768e736e8d1a84f2a8e
MD5 6a8d8aca687801fccb836e419eff8c51
BLAKE2b-256 23db4b3507963058f3f34849714ac4a1cfaca9bca6e2021d39706fd23c0e7800

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