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

Uploaded Source

Built Distribution

fgo_api_types-2024.4.20.2.41.4-py3-none-any.whl (99.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.20.2.41.4.tar.gz
Algorithm Hash digest
SHA256 3dbf6020a35f3161df7cbd63d8d4fd3916112a25fb7efd46e6f39cd85fd8f96f
MD5 4580b33b9dae6cb21bcb6a5414dea3b1
BLAKE2b-256 230154cc9e5382e0e96ed3658f0365b06152c5b229238266957d89b87e9256d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.4.20.2.41.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c82881cbe3b3df88af5f87cb55b0944ea0b678e5e0eb38458c039efcd03b9172
MD5 e7f5bc4c341169ce119407f20131e427
BLAKE2b-256 97cabaee58f0c292040064eef6d28f6ffb8f4e9c5d01ba21ec42cb253218aec8

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