Metadata-Version: 2.1
Name: fgo-api-types
Version: 2022.9.21.3.1.55
Summary: Provide Pydantic types from FGO API
Home-page: https://api.atlasacademy.io
Author: squaresmile
Author-email: squaresmile@protonmail.com
Requires-Python: >=3.6,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Dist: orjson (>=3,<4)
Requires-Dist: pydantic (>=1,<2)
Project-URL: Repository, https://github.com/atlasacademy/fgo-game-data-api
Description-Content-Type: text/markdown

# 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
```
