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

Uploaded Source

Built Distribution

fgo_api_types-2024.3.9.2.57.16-py3-none-any.whl (98.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.3.9.2.57.16.tar.gz
Algorithm Hash digest
SHA256 6606b1426c38e971ef738594afd2456ffe836133367fbf692c2552c8a1e7dc8b
MD5 3de5b6d1b2ee2b3195603337828c4a29
BLAKE2b-256 7a5600395ddf4308e6812a633b95e6446cd6dfce16dac00390aa014b624e0b1c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.3.9.2.57.16-py3-none-any.whl
Algorithm Hash digest
SHA256 70f1b2ffa0cd72b0840e2bd81342bc6f898d2297a607f08018c2e1d822a96e2c
MD5 d5525179e57b6739a46aa94f4fde4d90
BLAKE2b-256 bc59bbdfccd3eb05f3645d4d94beee62614c831b5cada341a65b9e1cef851a35

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