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

Uploaded Source

Built Distribution

fgo_api_types-2024.7.19.12.59.36-py3-none-any.whl (102.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.7.19.12.59.36.tar.gz
Algorithm Hash digest
SHA256 f9416496bb79635af80396d9e0d9c9fd462bcd1201482ae5fc0fcaa075484ae7
MD5 8ee59eea4ad0a72f7af0648b90f39c9c
BLAKE2b-256 d353e02cbe6ba0c6ae83247eb33fac77e030edf79acf37a28479979cdcf5938e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.7.19.12.59.36-py3-none-any.whl
Algorithm Hash digest
SHA256 def898f4c4bb72eb4aa3a43157ba437b5e8116f257560c007d4ae8d2bacb9de1
MD5 f4d6a241356caff2be2c0ecef039478b
BLAKE2b-256 a8ac137ac781fc3a68fd62bf5b6731e03dbd5e438b7014d9b3e16e5680786e1f

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