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

Uploaded Source

Built Distribution

fgo_api_types-2024.1.28.3.54.8-py3-none-any.whl (98.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.1.28.3.54.8.tar.gz
Algorithm Hash digest
SHA256 73d4ab8ec2b6d32732a2fdea6860962dfecc7f72abb9fc2708ce149cd5ef0b3e
MD5 920d1890c5547ee5a09ac4621d2ccd8c
BLAKE2b-256 046d67a4416a4efc91afad4a63325a4dc54180ab0a151611ba1ed364f5515f0a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.1.28.3.54.8-py3-none-any.whl
Algorithm Hash digest
SHA256 59957072a05b25bb6c82746b213ae034cd4c51f7c63211f28ffc70df0c2af9b5
MD5 ba82dc0a1f3a3eccc305ade3003ddacb
BLAKE2b-256 fc94a0aeab84a42d81a3052c0fa9dbaa53f2e94d28fb0aa848bb2c8a028cad6b

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