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

Uploaded Source

Built Distribution

fgo_api_types-2024.6.19.9.34.4-py3-none-any.whl (101.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.6.19.9.34.4.tar.gz
Algorithm Hash digest
SHA256 47e885ce93c6051773c44ff8d18e26cc728dafe5111f9184f036d4d1712f4b1f
MD5 aa415824fb637ef423d23c0f26b273af
BLAKE2b-256 d6b694be7c1d44c21e0319f460fd67fe3c53375c52c6c291dd0c0d7c46dd03a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.6.19.9.34.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2e45d2f4c04de8b3ec6334921f6fd4fac94a97b3883d7284db5c6d6d3e1cac2d
MD5 22bd2597db3b0571f6f1c5606d91f5de
BLAKE2b-256 9c5f722ca3ba6d4ca1f7823056d7b7f1493b54bba74425735a01c1a01f9deced

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