Table of contents

On this page we have an example python script to:

  • Request a list with all endpoints

In this example, we used a windows PC where we installed Python

Install dependencies

pip3 install requests
pip3 install requests-hawk


Gather data from GRAPE

Gather API key

You need to create the API key if not already available.


Copy : Access Key ID (API_KEY)


Copy : Access Key Secret (API_SECRET)

Python script

Download the following python script: list_endpoints.py

python list_endpoints.py
usage: list_endpoints.py [-h] --api-key API_KEY --api-secret API_SECRET

Example:

N610/N670/N870 example
python list_endpoints.py --api-key xxxxxxxxxxxxxxxxxxxxxxxxxxx--api-secret  xxxxxxxxxxxxxxxxxxxxxxxxxxxxx