mirror of
https://github.com/ldericher/fftcgtool
synced 2025-01-15 15:02:59 +00:00
23 lines
494 B
Python
Executable file
23 lines
494 B
Python
Executable file
#!/usr/bin/env python3
|
|
|
|
from fftcg.opus import Opus
|
|
|
|
|
|
def print_hi(name):
|
|
# supported params:
|
|
# [str] language, text,
|
|
# [array] type, element, cost, rarity, power, category_1, set
|
|
# [str] multicard="○"|"", ex_burst="○"|"", code, special="《S》"|""
|
|
# [int] exactmatch=0|1
|
|
params = {
|
|
"text": "",
|
|
"element": ["fire"],
|
|
"set": ["Opus XIV"],
|
|
}
|
|
|
|
opus = Opus(params)
|
|
print(opus)
|
|
|
|
|
|
if __name__ == '__main__':
|
|
print_hi('PyCharm')
|