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

Uploaded Source

Built Distribution

fgo_api_types-2024.4.12.15.7.13-py3-none-any.whl (99.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.12.15.7.13.tar.gz
Algorithm Hash digest
SHA256 890a9e599143b588665ec9f72d18ce55c7fc27f7280ef31f8e1ec1c4ed5faeaa
MD5 215936f043062e1caba8f5d85867ee33
BLAKE2b-256 e7627ade42ef9f137a648ff96cca4090706bc82532314be06806e44724ca234f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.12.15.7.13-py3-none-any.whl
Algorithm Hash digest
SHA256 b94b3cd7c7b1c43ebf4e84f02ac84cc6d927fbc98f9c5fa2c6990c6e36e42253
MD5 3e9f052a6c8862d34cc1de01342f4828
BLAKE2b-256 63624898b5954280739f80f12a86e411d3a938868745ac556eaaa6bf781d7ea2

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