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

Uploaded Source

Built Distribution

fgo_api_types-2024.7.10.22.57.18-py3-none-any.whl (102.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.7.10.22.57.18.tar.gz
Algorithm Hash digest
SHA256 fc4582ed242b55e2825871168044e7e2dc6cd3b60c70df69d59b3390ac991d95
MD5 c39ede1bfdf94f8621965d08bdfab088
BLAKE2b-256 0178af4717ea61e084f769a60b83358d0f0e6e0e9932d33b6e6fb58bf02e49c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.7.10.22.57.18-py3-none-any.whl
Algorithm Hash digest
SHA256 d612a624342ff2ca085b5fe0996a9d7f51e7a2db7ccdd5830dbeec294a46a914
MD5 6a6cad8d5a90093e3506919a1c145396
BLAKE2b-256 8975eccf92e354f9918dea45bb9cd3dfb5c98263f79efd79378d5028103f98bc

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