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

Uploaded Source

Built Distribution

fgo_api_types-2024.8.8.22.57.40-py3-none-any.whl (104.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.8.22.57.40.tar.gz
Algorithm Hash digest
SHA256 f5980dd81141f9d2ee56d1ece9382ebaf4636f37c7cd22db2641049efc605d53
MD5 1cf4650fe4adcedb96dfcd0fdf244dd6
BLAKE2b-256 6ea51824001ec800fa089bd2a17619f5353ba988bb5c506177110c0881a5d60a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.8.8.22.57.40-py3-none-any.whl
Algorithm Hash digest
SHA256 56e34b8faab0c185b47f2cb2bfaf294a21427fb40b6fe88d1fd38d31bb64883d
MD5 3d19039dbcc4648bd0b044037d47dcd3
BLAKE2b-256 2a61c686a3789b8754eaeb604f717feb581834b0d7303ecd052575aca3d59729

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