Skip to content
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

Using REST APIs from module.py #58

Open
MAkcanca opened this issue Oct 22, 2022 · 0 comments
Open

Using REST APIs from module.py #58

MAkcanca opened this issue Oct 22, 2022 · 0 comments

Comments

@MAkcanca
Copy link
Contributor

I'm developing some new modules for the Pineapple MK7, and I want to use some of the APIs from the python backend itself. However system does not include the requests library and it's really cumbersome to use urllib.requests.
Another problem, authentication. Even if we use the urllib.requests, there is no authentication so I can't access any of the APIs.
Specific API I was interested is pineap/handshakes.

I believe it is fundamental that backend is able to query some information from the pineapple service.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant