Community Discussions
Python SDK and examples
19 hours ago by Matthew Lange
A few questions/comments about the Python SDK and examples:
- Can you please use a modern request framework that's being maintained? The requests library has been feature-frozen for years and doesn't even support more modern HTTP versions like 2 or even 3. Perhaps httpx or niquests?
- The examples in the SDK documentation (https://armis-python-sdk.readthedocs.io/en/latest/) make reference to methods that aren't available in the version (0.4.0) released on pypi. This looks like a problem of documentation being out of sync with the underlying library. Can you please normalize and fix this?
- The examples on the developer portal (dev.armis.com) are basic and assume you've already gone through the motions of fetching a bearer token. I suggest this is called out more explicitly in the guides -- e.g. the current custom properties use-case just has a placeholder for the bearer token. I'd like to see some code/pseudocode above that says get your bearer token first and then put the token into this header.
