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

Uploaded Source

Built Distribution

fgo_api_types-2024.10.23.4.7.51-py3-none-any.whl (107.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.10.23.4.7.51.tar.gz
Algorithm Hash digest
SHA256 7abe9bf4d6d8c77f4b5c60044aa79ed8101a094feba6fed883cbb3e902530fa3
MD5 e20cd9086c85fa77408666d5378516b9
BLAKE2b-256 9482bc57ceea8c55799299788df921abb21619d53777118e0e40539602350aee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.10.23.4.7.51-py3-none-any.whl
Algorithm Hash digest
SHA256 e8c787890a5d029c12e92ebf1db6fff773e00883580a3e2c4df8443faa52f568
MD5 2945ed3c3368d312cc39c6245d8d6066
BLAKE2b-256 aa03de52891a6e3b7b3be6955656c0f9e140d26c242276d1e42952ac406796e3

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