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

Uploaded Source

Built Distribution

fgo_api_types-2024.4.23.22.17.13-py3-none-any.whl (99.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.23.22.17.13.tar.gz
Algorithm Hash digest
SHA256 659c0dc9fdd1c0bcf421804deb501479af1ad63fb3cff2cd884a06accd6adc5c
MD5 d8d1d7c0f481426a3d9f70a468d40604
BLAKE2b-256 8f74ca9059bc8e1be6db26b212829d115c33d34744a98711c7d07346cbabcc6e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.23.22.17.13-py3-none-any.whl
Algorithm Hash digest
SHA256 abb4542cb20ea901b94e117a53a34c38527efc1443adecb66f526528edff7fbd
MD5 b33518ced27f457b1b17894678fe4846
BLAKE2b-256 23e744570d0e4ed5d50dda2b574124a1ed24b6038cf719bbdadefd0da97bbcc7

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