API

This chapter covers all API interfaces of the towbar module.

Towbar main class

class towbar.Towbar(username, password)

Class for interacting with the boxcar web service

notify_myself(message='', sender='towbar', source_url=None, icon_url=None, sound=None, callback=None)

method to send a notification to yourself

Arguments:
  • sender (string): sender of the message
  • message (string): message to send
  • sender: sender of this message
  • source_url: the source URL for the notification
  • icon_url: URL for the icon to use
  • sound: name of the sound to use
  • callback: JSONP callback
Returns:
  • response (requests response): response from the requests call

Project Versions

Table Of Contents

Previous topic

towbar: python API wrapper for boxcar.io

This Page