adds title to push
This commit is contained in:
		
							
								
								
									
										5
									
								
								main.py
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								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)
 | 
			
		||||
        
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user