From d59b600ef3c43d644b271111d9ce8983d8b4f5fe Mon Sep 17 00:00:00 2001 From: raphael Date: Mon, 3 Jan 2022 12:28:35 +0100 Subject: [PATCH] adds title to push --- main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 908d5ef..6add087 100644 --- a/main.py +++ b/main.py @@ -114,16 +114,17 @@ class Bump: print(self.encrypt(data)) - def push(self, data): + def push(self, title='', data=''): params = { 'sender': self.get_sender(), + 'title': title, 'data': self.encrypt(data) } return self.set_post("push", params) def firebase(self): params = { - 'token': "HIJKLMNOPQRSTUVWXYZ" + 'token': "dTm8S2bfTdKYQTjrxnwFFg:APA91bHGgM7IdRS5uxD0ljmwmP6cAec2icX0VBs69iRB2ApsohyOWzTzontO7cBkjNYbWV87zvxrXIs5jHkJ-8mSWa_-RiU2Y8-XEy3g-Fep3z6dhDeM3KazP58jDRgbdB5cVpDcIEWL" } return self.set_post("firebase", params)