summaryrefslogtreecommitdiffstats
blob: 4083848d3411689f6e281a35cea8d91e57b8dfe2 (plain)
1
2
3
4
5
6
require "sluift"

c = sluift.connect(os.getenv("SWIFT_CLIENTTEST_JID"), os.getenv("SWIFT_CLIENTTEST_PASS"))
v = c:get_version("swift.im")
print(v["name"], v["version"], v["os"])
c:disconnect()