tingbot / tingbot-python

🔩 Python APIs to write apps for Tingbot
Other
18 stars 9 forks source link

Add Network API functions #33

Closed WhistleMaster closed 8 years ago

WhistleMaster commented 8 years ago

Add Network API functions such as:

tingbot.is_connected() returns True if tingbot is connected to the Internet otherwise False. tingbot.get_ip_address(interface) returns the IP interface IP address if available otherwise None.

joerick commented 8 years ago

tingbot.hardware.get_ip_address will give an IP address or None if offline.