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

Uploaded Source

Built Distribution

fgo_api_types-2024.8.15.2.18.43-py3-none-any.whl (105.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.15.2.18.43.tar.gz
Algorithm Hash digest
SHA256 59aa1d8bf99fadddb5af94ea93b7b88eb41ffda398e6b467dc61ece5cbcd0fe1
MD5 7f918756c5acc563b9e144f86edd8b11
BLAKE2b-256 af6d62f647bb18706d3810b355d727aab5a51179d0c99167a2d99b308c41c235

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.15.2.18.43-py3-none-any.whl
Algorithm Hash digest
SHA256 eb51eafadfcb60d676df22e1b572837e26cca8e86e52552c30ff966589795d0f
MD5 a7ca4265997b9ad31b98348f220e28fb
BLAKE2b-256 7e35796434938876594e3323653c98aa146ff9504792d4e6989b8df0f82974c0

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