Added example code

This commit is contained in:
Benjamyn Love 2018-11-11 20:37:11 +11:00
parent 261837112f
commit fd4431432f

View File

@ -4,7 +4,19 @@
Initialize the wrapper with the token you want to use Initialize the wrapper with the token you want to use
i.e: gotipy_usr = gotipy.gotipy("user token", "https://URL.TLD") ```
client = gotipy.clients("C3MgnR4b-iMj.fT","http://gotify.benjamyn.love:8080")
app = gotipy.messages("AJww.G_kdoV7Jzs","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> <h3><b>applications class</b></h3>
<table style="width:100%"> <table style="width:100%">