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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.10.22.16.34.49.tar.gz
Algorithm Hash digest
SHA256 a38910dbac6763946988a94a5f42ab18d0e958273bbb7fde104ce250e0b7e7ef
MD5 cf0d785d30a9948820f76c52d8d07187
BLAKE2b-256 f069e62993ccefcc434f14f511760bcd5884c5ded1c30d8e29749037cbe14205

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.10.22.16.34.49-py3-none-any.whl
Algorithm Hash digest
SHA256 54cba9ae9317bb7d0af3b7fcbc051dff187db41fe5e7a438f9a2b3eda8fa7183
MD5 3c6479fa508817cd5866cbfb682a31f4
BLAKE2b-256 a9a732b5834eae9d237c82248e3fe240c9a503b7b6b4107429a8dcc7868f7413

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