-
Notifications
You must be signed in to change notification settings - Fork 10
Updated to fix json stream bug in latest Pineapple Firmware. Updated … #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
…README to better reflect how to use library.
…to methods. Need to rewrite pineapple module next
</pre> | ||
Returns a dict. The pool is on the key "ssidPool" separated by newlines. To get a quick list, do the following: | ||
<pre> | ||
ssids = p['ssidPool'].split('\n') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't p['ssidPool'] return a list instead of a '\n'-joined string?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea probably but that's what's returned from the API raw. I've been using logging.getPineapLog() instead because it comes back structured with clients in json. I'll be publishing some more stuff and rewriting a bunch more of this library in my own repo as I get to it. I have to modify this PR most likely, as it wasn't backwards compatible with older firmware. The pineapple.api in mine is now but before submitting more PRs, I wanted to rewrite a few more things.
…some detail about what they do
…README to better reflect how to use library. This issue occured when trying to use the library against firmware 2.3.2. Was a simple fix.