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

Uploaded Source

Built Distribution

fgo_api_types-2024.9.11.9.40.48-py3-none-any.whl (106.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.9.11.9.40.48.tar.gz
Algorithm Hash digest
SHA256 98055f79db1e36313f6e929dcd95f7217ec53d8792207eedacca8697ec41a69a
MD5 f6354d0bc9324ad8272ba0e5b9b77690
BLAKE2b-256 a23d819a58105476dd23f573521de07fdd19811ef2366311e68580ffdb368da8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.9.11.9.40.48-py3-none-any.whl
Algorithm Hash digest
SHA256 72e27d4d59a069116365526751e2f2aae675c29cddb9a3713c3be566cbe94e40
MD5 f26267fdebe60681ba264e84682c41b2
BLAKE2b-256 d06d19a8b5e4604750d4d88111a620d39bac0fdaf7356174f9ab1e231e0d41fe

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