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

Uploaded Source

Built Distribution

fgo_api_types-2024.7.13.1.38.34-py3-none-any.whl (102.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.7.13.1.38.34.tar.gz
Algorithm Hash digest
SHA256 709e438134d46b5e8ab0a15c8ad0926d383e80c382360b43b5f64d995402686d
MD5 01bf770bbfe71063da24d03832cab52f
BLAKE2b-256 b1ff3ca2fbd9378e26806ac9e95412f827c8ea2947e4f447871d0451af2d8d2e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.7.13.1.38.34-py3-none-any.whl
Algorithm Hash digest
SHA256 2295c13e7d97c5b9e8bd42ac35cc1a9f5227eac8299da41153c2b1322b789fb0
MD5 1e8ff7f71447c0e32cb8ec0157df3fd0
BLAKE2b-256 99594827d6284790b10602629478924b5c44a9834e8fe4528ab8b75641f25b94

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