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

Uploaded Source

Built Distribution

fgo_api_types-2024.10.4.4.55.24-py3-none-any.whl (106.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.10.4.4.55.24.tar.gz
Algorithm Hash digest
SHA256 847b5869ecb976c7bed114f71f92f982ff44f21cccb6d8844fe2d4ad86309cda
MD5 39841346a8fc51f38a67eed25bdfa41c
BLAKE2b-256 236f50bfc41b6ebeaf6873809eb0582cb8e58a46b380e73e63b9b1f73b452a9f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.10.4.4.55.24-py3-none-any.whl
Algorithm Hash digest
SHA256 2495ad855b64ed6c653ea2fdc7ce8dd941b5bc29560be8a1763d3ecac5e7a5ab
MD5 e8e2239c748cdbc5a5530896ddcfc8ff
BLAKE2b-256 f469717452335f40cf79777858ce9cf79dc4aafb110edc0591132fbe5fb9ccd0

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