Source code for wow.models.region
1"""Models for the Region API."""
2
3from wow.models._common import Document, Link
4
5__all__ = ["RegionIndex", "RegionInfo"]
6
7
[docs]
8class RegionIndex(Document):
9 """Every API region reachable from this host. Forever publishes one region per regional host."""
10
11 regions: tuple[Link, ...]
12
13
[docs]
14class RegionInfo(Document):
15 """A Battle.net API region."""
16
17 id: int
18 name: str
19 tag: str
20 patch_string: str