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

Uploaded Source

Built Distribution

fgo_api_types-2024.6.23.20.47.53-py3-none-any.whl (101.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.6.23.20.47.53.tar.gz
Algorithm Hash digest
SHA256 bd1468a59376eba4a6eb8fe58b53c2214c2c324e39ba195101d999fa41954fae
MD5 5ee603c39f888cf0bf14bb53609e3b0d
BLAKE2b-256 a755e0bf423bf80d1f33f3574a583b92671a6f4a1868e3a5feb1b469881be3ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.6.23.20.47.53-py3-none-any.whl
Algorithm Hash digest
SHA256 87e98fa579d9184992da40fe11c42f67d5aa9e6622d8ce0a881373eff6a99c8a
MD5 a7cf4367b9bd39cbbfc8d032ca2dfea2
BLAKE2b-256 d3c34d24bb32c1ab8211841413ff86f099cfd9b56667846c3da9958ef0caec12

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