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

Uploaded Source

Built Distribution

fgo_api_types-2024.4.26.5.20.19-py3-none-any.whl (100.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.26.5.20.19.tar.gz
Algorithm Hash digest
SHA256 bf60c1760cf1a6465cb28cb4e4048fd3d84467d88cee5f0f29f64e00477ba58a
MD5 a04a9351fbea891d383a2929e4d1a8e7
BLAKE2b-256 38cb6d42b279a6a79c5894afba1e6f702230bd1caa4c1a591ebd1a37f5425859

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.26.5.20.19-py3-none-any.whl
Algorithm Hash digest
SHA256 ad523b40dcb37e85b29b55e597af57f793338c5c304c4f100d30db2c7b8b649b
MD5 f4da2250ff9b61dd4e8900225b4fef08
BLAKE2b-256 e4a851627de8c34f66521ba6cddf96a829c482b2673f4bbde7739a6fca8be17a

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