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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.2.14.11.51.34.tar.gz
Algorithm Hash digest
SHA256 876877070978e44972000c8cf86ddbcd44e4155bbeafc6672e2db029c0daf5df
MD5 2e8887ff037dfeae4acccd861a208f25
BLAKE2b-256 d4a7de72956f784966043cd86545b2d7f954fbb7341dfdbddd58b8484d562565

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.2.14.11.51.34-py3-none-any.whl
Algorithm Hash digest
SHA256 c1d51ef13d2aafdabb3448a3ba013b6028a6a9172168b55024240e0e6012a45f
MD5 2ed150b1e025c7359cc2e26122a75db0
BLAKE2b-256 14f3d4f2d014fd147051801bc04c9b692e22fda6a617a7676d707a9900e0ad66

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