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

Uploaded Source

Built Distribution

fgo_api_types-2024.9.20.9.10.54-py3-none-any.whl (106.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.9.20.9.10.54.tar.gz
Algorithm Hash digest
SHA256 a4ef3adcc753d58a7718e9e598ff2255c89ad0a14d1a05f9c79d1c77b32baa7f
MD5 cd95cccbc7f779244705c0c330e8d7ff
BLAKE2b-256 0dc02c5afc7c3f0c4b4f741dd9d2d3ab653cf73f4bd535ff2824eecbaae025a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.9.20.9.10.54-py3-none-any.whl
Algorithm Hash digest
SHA256 2ed6c9fbfa084e92b81cb3868c8b0551b957964148c6bb3407bc46e415144cd6
MD5 21096773f26f14fc84fc0426d029162d
BLAKE2b-256 a6208069e2621e9019c88b7b7a6ed60d68dffc341896ef0c035b793834cef155

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