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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.7.9.23.51.17.tar.gz
Algorithm Hash digest
SHA256 ddbd2601861e21fd2a3678ec567e0626471e7d2b5a06cc8a647f8394f95c65a9
MD5 601642252422155aef12e58e96811570
BLAKE2b-256 8de27ef18aaea3b6d9f2609792b70c81448eee3903cb42b76f3e710fb9cfa866

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.7.9.23.51.17-py3-none-any.whl
Algorithm Hash digest
SHA256 894522ca7e79e4cf629665ab0bfa3559b2db2a7efaaca6fe3cd04c6cfb2bd9ce
MD5 ffc1427ec17e5974d8d3b3a11a5e349b
BLAKE2b-256 08c74591b862ef7cbda37ff10b8aab295a5529709d207691ec9ce89d4faad728

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