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

Uploaded Source

Built Distribution

fgo_api_types-2024.7.7.10.24.43-py3-none-any.whl (102.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.7.7.10.24.43.tar.gz
Algorithm Hash digest
SHA256 3a79ad01f4abd5e18712d0c96c9691ba1f7c90d23edf25120a8e9a4b753b5778
MD5 1f80f4c979599d7354379e2d82ce3270
BLAKE2b-256 fc5a1f3c377b39ee490fcdd687210a0f1625d7e9db77fb3bd79341d2e0e609ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.7.7.10.24.43-py3-none-any.whl
Algorithm Hash digest
SHA256 fa6a3683e970578bc742f085df7d601d72d83f243c033e2286d95c828cd239d5
MD5 145c794a4cf41f959cfecb0c5edb9a3b
BLAKE2b-256 3a99346661d840be77b306aa0d5fa97fa9ca5717558ed352a5269f4b7593ef92

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