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

Uploaded Source

Built Distribution

fgo_api_types-2024.1.18.0.1.42-py3-none-any.whl (97.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.1.18.0.1.42.tar.gz
Algorithm Hash digest
SHA256 3341fc1993636774175898ec36f8c2298e66fe3231f0d1bd9a26be20d488602b
MD5 6c203065082093da93a135776c495083
BLAKE2b-256 3b5f3fb570e9dc8290a2a8ecbef8b2c1091c22755e2207f96475c90e1a690852

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fgo_api_types-2024.1.18.0.1.42-py3-none-any.whl
Algorithm Hash digest
SHA256 566bff55c0b030c75f3cb2772c105f229b076de0ebbd1236a7e72526c303e6b9
MD5 b8576f8cc2fc6aa6354f3ac7c96fbd5a
BLAKE2b-256 31f80a67aa9e43a15a32336c662261d608613966b9633fb9439328f590eade25

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