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

Uploaded Source

Built Distribution

fgo_api_types-2023.10.26.1.6.12-py3-none-any.whl (96.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.10.26.1.6.12.tar.gz
Algorithm Hash digest
SHA256 afc90ecacf7a1c44916779af1f1437fed1cc7cb32c86206dc2f16f52d36383e8
MD5 844658a97de56ce8512738b2d0009e21
BLAKE2b-256 7c97d38e2afad4f413b1bd2acc767b4c8735b6a07d5e3b24d3dae6f731eb6c5c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.10.26.1.6.12-py3-none-any.whl
Algorithm Hash digest
SHA256 a9286afff427a428faa034554b6f743fbd8399a5504c0271e1ca50b19a12b20d
MD5 54b825de44188fc8b6d9460cc1ec7787
BLAKE2b-256 78e10764ada38ce3f9e0d98793b02d4604df89aba694a624fdbd4171a3496820

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