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

Uploaded Source

Built Distribution

fgo_api_types-2024.10.16.8.52.37-py3-none-any.whl (106.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.10.16.8.52.37.tar.gz
Algorithm Hash digest
SHA256 22aa06a5d9e77173daa30d3330ee2025ac27957dba61c98617ef5ceddce1bd35
MD5 65b35c15781814b79ff984477e18ed93
BLAKE2b-256 a3a4ce60f7075888fa9dbfd710ef13044720e6ea8f60abec0e8e0139526e919a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.10.16.8.52.37-py3-none-any.whl
Algorithm Hash digest
SHA256 092f203da130d7a108976a042fad98758e5d7869bd6fabaa45a6a1d5e757342b
MD5 6c7ee3f0d412270895bc4284a7a3a2ac
BLAKE2b-256 00c67d38d2b11074eeef492eaf78b41179a0d1bf68e9c12028dd53ec1eb07faf

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