Push android notification through www.pushbullet.com

def push_to_android(api_key, device_id, payload, push_type):
    ''' Push android notification through www.pushbullet.com '''
    payload['type'] = push_type
    payload['device_id'] = device_id
    return requests.post('https://api.pushbullet.com/api/pushes',
                         data=payload,
                         auth=(api_key, ''))