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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.7.10.23.4.31.tar.gz
Algorithm Hash digest
SHA256 152a1faad5ea7632fe43f92a3015e5e60ee05bcc473c8495014f1b0d0d7db1ae
MD5 5b9e180f32ac0e77f7375672fd9ad577
BLAKE2b-256 f3b5bae13130db5da6bc2be6fb30806f6486c782488fef93767c08e55a59a6bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.7.10.23.4.31-py3-none-any.whl
Algorithm Hash digest
SHA256 c14b66a50200abaab6f798b305315777e09a38d0fae810b8e9af7b11708b59a7
MD5 df25ae8e95007574606b0856a4e517a1
BLAKE2b-256 879709148083403525483a4bccfdf47d2ff4f26c2ffe759b4447df48697ab1f2

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