-
Install the APK on your android device
-
Put the "easy_notify.py" in the folder where your program is located
-
Start the android App and click on "Show Token", You will need this later!
-
import the "easy_notify.py" package using :
python from easy_notify import send_message, token
-
Now use
python token("YOUR_TOKEN_HERE")
-
with your token
-
To send a simple message just use
python send_message(title="title", message="message")
-
Thats it!
vibrate=True|False
de/activate the vibration
vibration_pattern="-_--__-
Use a costum "Pattern", a "-" stands for 0.1 second vibration while a "_" stands for a pause of 0.1 seconds
server="costum server"
costum server is your costum server if you dont want to use the public server
Here is explained how to reach the server to build your own module/Application!
flash=True|False
is a WIP feature ;)
/gettoken
to receive a token from the Server
/write/[str:token]/[str:body]/[str:title]/[bool:vibrate]/[string:vibration_pattern]/[bool:flash]
NOTE: You need to pass the vibration-pattern like : "ab", this equals "-_"
/read[title|text]/[string:token]
To read the Title/Text from the server
/readinfo/[string:token]
to read more Information from the server
-
Add The Flash-light function
-
Add a group-Feature
-
Upload code to https://pypi.org/