Sample code to use the NetApp Active IQ API.
Requirements:
- Python 3 and the imported libraries used in the script.
- Create the serials.txt and refresh-token.txt files as documented in the script comments.
Other helpful links...
Active IQ API documentation. This link includes the API catalog, along with code samples for each API call in the catalog when you have "Code" selected at the top of the page (instead of "Experiment"). This is also where you can generate your first refresh-token.
Active IQ API usage overview, which includes a good description of how to best use the link I just described above:
https://docs.netapp.com/us-en/active-iq/concept_overview_API_service.html