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

Uploaded Source

Built Distribution

fgo_api_types-2024.4.30.1.3.28-py3-none-any.whl (101.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.30.1.3.28.tar.gz
Algorithm Hash digest
SHA256 1b961351fba66dd34ba8dae07fe8efa6ebf11462dd616854df398d835e34e819
MD5 b6d96e63ab6ea614acbe9b3ab89d978e
BLAKE2b-256 36b75b39b026b9a4cc8935f3786516daa17718d3efdef3381c83279c03f330c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.30.1.3.28-py3-none-any.whl
Algorithm Hash digest
SHA256 9e643a5bf26331556bb3ee8f44b3c63e82e5051a203b0c6889c757d96d5246e9
MD5 b3dc17273e349a91ab19239aa40e5a71
BLAKE2b-256 ef935c4ce82b9c3f439d9c6f9d4e3ca6921c81b27b02f56842da63fadd33a6d1

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