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

Uploaded Source

Built Distribution

fgo_api_types-2024.4.27.19.23.4-py3-none-any.whl (101.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.27.19.23.4.tar.gz
Algorithm Hash digest
SHA256 ea338207aab60a163babe648e0590ecd625e7112b6b306d5a7b8deb69303593b
MD5 e022d62a07b8470acf47832e5bdfd1ad
BLAKE2b-256 b4f1639e9e5e69e741622bc834c6f691c0a3a7e996ae1725fba7bc4cf13df940

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.27.19.23.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3c815c4e76b6f06c7d749aeb97a3ec01334458b7d97ca0703756b82e971703ef
MD5 edfebda199f0131cb7a44d01b3a18cc2
BLAKE2b-256 55206a6bd8912bb035c6abd0ebd03946703ba586066ca064bdc62c357ae4f575

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