How do I get public channel title/description
Closed this issue · 3 comments
bazbt3 commented
I probably need help or clues to figure this out.
bazbt3 commented
After a call for help prior to the pnut hackathon, @hutattedonmyarm created a very helpful gist at: https://gist.github.com/hutattedonmyarm/534a3f87156454f1fb9605c6e093d196
Here's the code, missing only the authentication necessary to make it work:
import pnutpy
response, meta = pnutpy.api.subscribed_channels(include_raw=True)
print("Response\n")
for channel in response:
raw = channel.get('raw')
if raw is not None and len(raw) > 0:
print(raw[0].get('value').get('name'))```
bazbt3 commented
Implemented, though possibly buggy, in getchannel and getsubscribed.
bazbt3 commented
In v0.2.4.