Hi,
I receive my bed tomorrow, and wanted to get a jump on things.... Unfortunately, not a Python guy ... PHP, Perl, Bash... etc.
$ python
Python 2.7.13 (default, Jun 5 2017, 21:35:35)
[GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
from sleepyq import Sleepyq
from pprint import pprint
client = Sleepyq('me@example.com','abcd123')
client.login()
True
pprint(client.sleepers())
[<sleepyq.Sleeper object at 0x102be6ed0>,
<sleepyq.Sleeper object at 0x102be6d90>,
<sleepyq.Sleeper object at 0x102be61d0>]
pprint(client.beds())
[<sleepyq.Bed object at 0x102be6d90>]
pprint(client.bed_family_status())
[<sleepyq.FamilyStatus object at 0x102be6e10>]
I thought the object of pprint was to make it look nice... Where'd I go wrong?
Hi,
I receive my bed tomorrow, and wanted to get a jump on things.... Unfortunately, not a Python guy ... PHP, Perl, Bash... etc.
$ python
Python 2.7.13 (default, Jun 5 2017, 21:35:35)
[GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
I thought the object of pprint was to make it look nice... Where'd I go wrong?