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

Uploaded Source

Built Distribution

fgo_api_types-2024.6.7.2.16.3-py3-none-any.whl (101.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.6.7.2.16.3.tar.gz
Algorithm Hash digest
SHA256 5d5be86c1f9a4e691fdfb9748c3b241f15ba530b2bdec2c1ddfbccd2b9391fdf
MD5 ad227714aa61643dac34685f302f62c8
BLAKE2b-256 a2afdeeaab537707e1ada0628615293d9b1fe15db7b70471c2c490a721ae8cfb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.6.7.2.16.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4b785aea6bfe9f5f5c8a9ff249cd65c7052b0b6cfbc1ed5b05af51651009e00e
MD5 bd58626621c496f9ea71665eaf7dbf41
BLAKE2b-256 f04a7b8313a1433c3732274c0063e1dae9f795e7a7b515fefb39a626e20cd1d6

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