aboutsummaryrefslogtreecommitdiff
path: root/examples/sen.py
blob: 3713c5bbcb0ba68a864df206479cae68e7990f78 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import senpy_club

print("SENPY_CLUB_API_BASE_URL:", senpy_club.SENPY_CLUB_API_BASE_URL)
print("SENPY_CLUB_API_CURRENT_VERSION:", senpy_club.SENPY_CLUB_API_CURRENT_VERSION)
print("SENPY_CLUB_API_URL:", senpy_club.SENPY_CLUB_API_URL)

random: senpy_club.Random = senpy_club.Random()
print("Random.image:", random.language)
print("Random.image:", random.image)

print("languages:", senpy_club.languages())
print("language(\"C\"):", senpy_club.language("C"))