aboutsummaryrefslogtreecommitdiff
path: root/examples/sen.py
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-03-23 01:01:33 -0700
committerFuwn <[email protected]>2022-03-23 01:01:33 -0700
commit4462f6f8cd4d307f4ae180ed0a180628f3ba762f (patch)
treefc7b80f76de66967a9f2365debf9a644dea98cf5 /examples/sen.py
downloadarchived-sen-py-4462f6f8cd4d307f4ae180ed0a180628f3ba762f.tar.xz
archived-sen-py-4462f6f8cd4d307f4ae180ed0a180628f3ba762f.zip
feat: 0.1.0 :star:
Diffstat (limited to 'examples/sen.py')
-rw-r--r--examples/sen.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/sen.py b/examples/sen.py
new file mode 100644
index 0000000..6276ad6
--- /dev/null
+++ b/examples/sen.py
@@ -0,0 +1,12 @@
+import sen_py
+
+print("SENPY_CLUB_API_BASE_URL:", sen_py.SENPY_CLUB_API_BASE_URL)
+print("SENPY_CLUB_API_CURRENT_VERSION:", sen_py.SENPY_CLUB_API_CURRENT_VERSION)
+print("SENPY_CLUB_API_URL:", sen_py.SENPY_CLUB_API_URL)
+
+random: sen_py.Random = sen_py.Random()
+print("Random.image:", random.language)
+print("Random.image:", random.image)
+
+print("languages:", sen_py.languages())
+print("language(\"C\"):", sen_py.language("C"))