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

Uploaded Source

Built Distribution

fgo_api_types-2024.8.2.6.34.30-py3-none-any.whl (103.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.2.6.34.30.tar.gz
Algorithm Hash digest
SHA256 8d8ae604789a72e397cf3a3e8be1e955b2432834edaed1ff56bfd49f30713e58
MD5 8c0ef73dd34cebfa9e8ef5dece5713c8
BLAKE2b-256 afe45337d3c45f87d26c953b4df8b2996d4d13f83669c2214a5d4c83162d0e53

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.2.6.34.30-py3-none-any.whl
Algorithm Hash digest
SHA256 9e591eaf3db98c647de957a5450c461da90acc6f7630d9d1f57aa945895f14c8
MD5 4d8b283968130a80826602464ea1bbc2
BLAKE2b-256 7cbeb089ac9831aec336b9629370ef959976d9171748262b6bc8d084dbb5b11c

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