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

Uploaded Source

Built Distribution

fgo_api_types-2024.7.6.18.32.19-py3-none-any.whl (102.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.7.6.18.32.19.tar.gz
Algorithm Hash digest
SHA256 a9a72d1ef5c71724eb27593489447089d51facfacd7a471546f87c4f5d850ba8
MD5 c0d5097ae45c457f9ad330482a4826fd
BLAKE2b-256 65ae9f6e1599e805acd6fe2bc2f9996ba0bd13ca7b27d43071849eed7c8710e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.7.6.18.32.19-py3-none-any.whl
Algorithm Hash digest
SHA256 31bae85a5b70b2320ef8208ad9c69c60828e29f12c89c010ed9a33a10ec274dc
MD5 9d508b76a8bf5578076b2a65b1423a54
BLAKE2b-256 ef68c6f7df16378ea75a7c98c2c4fc32ea734f6f0b26546c34e65bba9c5b76ce

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