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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.10.22.11.45.30.tar.gz
Algorithm Hash digest
SHA256 f5162486be37d6f56c44a1981c194f086a3d89a170ab6ca49221762df43c216d
MD5 1420dcfe031007b418ce64f43fa2350d
BLAKE2b-256 18e0bb4fb7f4a301b8aabd07da14accd20ea8c674fef339d465f08977151f4ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.10.22.11.45.30-py3-none-any.whl
Algorithm Hash digest
SHA256 0878ec1cbfaaded2052567394fcbcfda6808b72a329307cdfd87f456e0c7f25e
MD5 546403b60e0964cf0172990d8ef3d3af
BLAKE2b-256 4aa3c04ac6647e97156506b1ada70397f4e48d0e1fdede71dd834f69775fdc25

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