Python SDK for Analyzr API
Project description
Python SDK for the Analyzr API
Overview
This Python client will give you access to the G2M Analyzer API from any machine. See files in the examples
folder
for examples showing how to use the client. Note that a client_id
should always be provided when querying the API; it is used for reporting purposes. For more info please see https://analyzr.ai.
Installing the client in production mode:
Getting the client set up will require the following:
- Install the latest version of the client on your local machine:
pip install analyzr-sdk-python
If it simply needs to be updated, use:
pip install analyzr-sdk-python --upgrade
-
Get an API username and password from your Analyzr admin (you may need SSO credentials from your local admin instead).
-
Make sure your IP is on the access list; the API will only accept calls from a valid IP on the access list. If you are on a client network, contact your G2M admin to update firewall rules.
-
To confirm you are able to connect to the API, make sure the
g2mclient
folder is your Python path and check the API version as follows from a Python session:
>>> from analyzrclient import Analyzer
>>> analyzer = Analyzer(host="<your host>")
>>> analyzer.login()
Login successful
>>> Analyzer().version()
{'status': 200, 'response': {'version': 'x.x.xxx', 'tenant': <your tenant name>, 'copyright': '2022 (c) Go2Market Insights LLC. All rights reserved.'}}
- For additional help and documentation see https://support.analyzr.ai.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for analyzr-sdk-python-1.2.38.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3f2b2cc2a482ea0ed1da6b6da1a2d12774b19ef1cfd563c7b3aa3106b7ed010 |
|
MD5 | abf8374db66e965493a9a63bb418ca67 |
|
BLAKE2b-256 | 7a98ee24b77ded115e8f85762b07d42a2ae9e741236fcd582ab364fae23fbc86 |
Hashes for analyzr_sdk_python-1.2.38-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 045f1ba0e604f1c4506ab7839674e6dc4ce697f71c5cfb5b0c589dc593f8b814 |
|
MD5 | bb5a08df2960c5d8aedb847bec9b6afa |
|
BLAKE2b-256 | 10e60ea63f83b988a44b110fb02c57e65c2562dfcfb3cef8fc3a17d6baf5136c |