-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzzz.py
More file actions
28 lines (23 loc) · 954 Bytes
/
zzz.py
File metadata and controls
28 lines (23 loc) · 954 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
from __future__ import annotations
from typing import TYPE_CHECKING
from hoyogame import HoYoGame
if TYPE_CHECKING:
from logging import Logger
class ZZZ(HoYoGame):
def __init__(
self,
logger: Logger | None = None,
) -> None:
url_dict = {
"gamesradar": "https://www.gamesradar.com/games/action-rpg/zenless-zone-zero-codes/",
"game8": "https://game8.co/games/Zenless-Zone-Zero/archives/435683",
"pcgamer": "https://www.pcgamer.com/games/action/zenless-zone-zero-codes/",
"eurogamer": "https://www.eurogamer.net/zenless-zone-zero-codes-how-to-redeem",
"fandom": "https://zenless-zone-zero.fandom.com/wiki/Redemption_Code",
}
super().__init__(
name="ZZZ",
url_dict=url_dict,
base_url="https://public-operation-nap.hoyoverse.com/common/apicdkey/api/webExchangeCdkey?",
logger=logger,
)