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

Uploaded Source

Built Distribution

fgo_api_types-2024.8.25.13.25.22-py3-none-any.whl (105.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.25.13.25.22.tar.gz
Algorithm Hash digest
SHA256 6b4e8fba6e36919f469bf0691feea58043dd8df1bb3574dab5984d31ef6b1ab7
MD5 4776fd42694e961bf844d250eeb6e29c
BLAKE2b-256 18138ae31c297716a7b9eb9b8d7d41dbef8ec611ba8a9d2bbafb3bd0b49567a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.25.13.25.22-py3-none-any.whl
Algorithm Hash digest
SHA256 70522d6ffe8642ed6d45897e4452d70442dedbb7c9bbac3186b409d0e5f8f11b
MD5 ab2eb1f18a931d66fee2f4e208946bd8
BLAKE2b-256 a33c89a7aa106ad8441e4f150420c4f98c94b5bdaf027249e92b09b665f91598

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