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

Uploaded Source

Built Distribution

fgo_api_types-2024.10.19.11.6.32-py3-none-any.whl (107.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.10.19.11.6.32.tar.gz
Algorithm Hash digest
SHA256 eee1063b4dad2e7a642b2d5aa5d5d852ed49e09bcb36a4703981c56ba74a1662
MD5 d25ba7938957aa713abbb4c5762f266a
BLAKE2b-256 3524ecab5a0891630b78b71c78e278522765160d74e635219e08a731e6f2f217

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.10.19.11.6.32-py3-none-any.whl
Algorithm Hash digest
SHA256 82c2cc4ba96d457ef278bbf04fa67672b3e38ed672c346a8270e5e46c921c11d
MD5 77e3d1c8a97a72bb257c50816257d347
BLAKE2b-256 8b51dfa458cefd269bac09baee19927dfd020aced5d3f6b1a4375e828d7eaf53

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