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

Uploaded Source

Built Distribution

fgo_api_types-2024.8.14.10.18.59-py3-none-any.whl (105.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.14.10.18.59.tar.gz
Algorithm Hash digest
SHA256 2ba4a9ac702618fd4a8ede57e020ed20b6e2573070ebe2239bcb2f623c85aa65
MD5 bee3ca7201749977596974824f602d63
BLAKE2b-256 a3b04cfbe8f45432422a1421e590c920b72cc2126c66c8fecbee9fa73703af65

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.14.10.18.59-py3-none-any.whl
Algorithm Hash digest
SHA256 382eafcd4e08eeddc8f6aaaeb4abda948004bcb30e84b65ca7ed5b24df8bae62
MD5 d6dbd20be9ae32e9c093fd74a65dcd28
BLAKE2b-256 01b630d80c8daddf1bc7591de8cb11dd25a5d36956401286e7c570e7457214a8

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