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

Uploaded Source

Built Distribution

fgo_api_types-2024.8.4.15.3.44-py3-none-any.whl (104.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.4.15.3.44.tar.gz
Algorithm Hash digest
SHA256 0ced63012666dedd6fb1ac4eb3320f04c4ccc77fc7e44969f3451dc8cf42dab4
MD5 968f2737236550a8e3de544348499b95
BLAKE2b-256 7ce8b4cef755552fa3b427d50d2a5d923b5ec73b074ab6422a6b5cf84c27b65d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.4.15.3.44-py3-none-any.whl
Algorithm Hash digest
SHA256 bd17f5770f7d698a5ccf8ce8afa0087d436da8926eeddd5a8c42848b5f900ac8
MD5 590ad4ee40e4a84d5941a03397fd6191
BLAKE2b-256 b744f8d2cbff77f292ae23b07f8ff402ddbcd6e84585bd20a370e93c5bc8e0cd

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