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

Uploaded Source

Built Distribution

fgo_api_types-2024.7.7.20.10.46-py3-none-any.whl (102.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.7.7.20.10.46.tar.gz
Algorithm Hash digest
SHA256 594440cf38b0d61bee9ce8200b5cf1e754207d86fef14aed1f6126c38307fa5f
MD5 356462cfdf10455bf6892a15daf16193
BLAKE2b-256 a5c24f7563b6c5dc34c691d4b97e3209acb3923c7ac16c2c5ed07b8c623cecdf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.7.7.20.10.46-py3-none-any.whl
Algorithm Hash digest
SHA256 c6e4b6626a6f071fbf452867cfcfce268edce7275e2faacd0629cca1ce6c3503
MD5 85c52c8d9c1d4a925d512fc51a90b71c
BLAKE2b-256 eeca0c2450ecef02b37a5fc2e3701bd46d8eec13efa7d3ce0a10b46cd2e8da67

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