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

Uploaded Source

Built Distribution

fgo_api_types-2024.4.27.5.45.9-py3-none-any.whl (101.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.27.5.45.9.tar.gz
Algorithm Hash digest
SHA256 7e01ba132fbf09c0f414266259f7af6718d12b1dcdb53e8979ca9289bfb55e43
MD5 b3eddd8fb8486c2051227d35e6eb1d8f
BLAKE2b-256 c724f2f3bfb59a63a817400e0bc2cc6bcd1762243afb1799e4f1f77b373325a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.27.5.45.9-py3-none-any.whl
Algorithm Hash digest
SHA256 d6da8aa15e96503d9aa3697ae8df2bfc161d05c1e00c8fe92920022a796d6a25
MD5 e40df953d30e7b4422b886cee68476f5
BLAKE2b-256 9213d5fbe50301cb4a5ab2c9fe8ba66f349e407766e9b29b335e712776af2d97

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