Compare commits

...

3 Commits

Author SHA1 Message Date
b47099eca6 Update README.md 2018-11-11 20:48:36 +11:00
fd4431432f Added example code 2018-11-11 20:37:11 +11:00
261837112f Merge branch 'refactor' into 'master'
Refactor

See merge request benjamyn/gotipy!1
2018-11-11 20:32:09 +11:00

View File

@ -4,7 +4,19 @@
Initialize the wrapper with the token you want to use
i.e: gotipy_usr = gotipy.gotipy("user token", "https://URL.TLD")
```
client = gotipy.clients("CLIENT_TOEKN","http://gotify.benjamyn.love:8080")
app = gotipy.messages("APP_TOKEN","http://gotify.benjamyn.love:8080")
clientList = client.getClients()
title = "Example"
msg = "This is an example :)"
response = app.sendMessage(title, msg)
...
```
<h3><b>applications class</b></h3>
<table style="width:100%">