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

Uploaded Source

Built Distribution

fgo_api_types-2023.11.23.5.19.54-py3-none-any.whl (96.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.11.23.5.19.54.tar.gz
Algorithm Hash digest
SHA256 aa42c083ff48a4accac80e6e63d5334b7f979353425f0b4ef2ab47a12ec13b2c
MD5 918cc67d8fdf511c010249cbb7bffd48
BLAKE2b-256 7b1e1187bf02fe9584feceef781c41d983f8a813ad93e639f8e379bfa7618a9a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2023.11.23.5.19.54-py3-none-any.whl
Algorithm Hash digest
SHA256 b928107e4ade319a7b603d67d335ca2955aace918d18b155925ee27749180654
MD5 e5eb24a57ffd9ed1c4634b1d82ae49bf
BLAKE2b-256 188e5f6b794abbaa15f90454c28723a157841356a534b7603dc3957254f98d34

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