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

Uploaded Source

Built Distribution

fgo_api_types-2024.7.5.20.44.7-py3-none-any.whl (102.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.7.5.20.44.7.tar.gz
Algorithm Hash digest
SHA256 0c9376a584815c2f206c4812946eb98e57c746145912ed3e57959800974ff9f7
MD5 dff5c81ca7b0108fe53af566c93f8768
BLAKE2b-256 13cb0bb485a8349e168194d2fb315755fe269e130fce77a696c1d431b8d247b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.7.5.20.44.7-py3-none-any.whl
Algorithm Hash digest
SHA256 0719db3e072ee1ea0034343bd9cdcc54137b390d905118130e3ed76e441434a9
MD5 9e7d780d96d4ba6282946e826cbca9ab
BLAKE2b-256 e1c9c0bf04efae945780c5d67c6bf91e1f6ccf8beebcfc7a7a3619bc07e58257

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