richard-better / pushbullet.py

A python client for http://pushbullet.com
MIT License
575 stars 110 forks source link

Method to map 'source_device_iden' and 'target_device_iden' to nickname #99

Closed woodyl closed 7 years ago

woodyl commented 7 years ago

When a push is received, the sending and receiving devices are indicated by 'source_device_iden' and 'target_device_iden'. As far as I can tell pushbullet.py does not provide a method to map these identifiers to a device nickname. This makes it difficult to determine the sender and receiver of pushes. I would like to have a method to cross-reference nickname and device_iden. Also, it would be useful to have a method to insert the source_device_iden and target_device_iden into the push directly when sending a push.

woodyl commented 7 years ago

After some more looking, I found that all of the needed 'iden's are in pb.devices, so this issue can be closed.