This repository is aimed at fetching and exploring data using Sisense REST APIs. As of now, it is on very initial stage of exploring the API.
This script is designed to:
- Fetch a list of dashboards from Sisense.
- Fetch widgets data from a specific dashboard.
- Replace
API_URLandAPI_KEYin the script with a valid dashboard ID. - Run the script:
python test.py
This script fetches data from Sisense and prints all unique attributes present in the API's JSON response. It's useful for understanding the structure of data returned by the API.
- Replace
API_URLandAPI_KEYwith an actual dashboard ID. - Run the script:
python test_atts_list.py
-
Clone the Repository:
git clone https://github.com/yugInd8/sisense_datafetch.git cd sisense_datafetch -
Install Dependencies: Make sure you have Python installed and install the dependencies by running:
pip install requirements.txt
-
Set up Sisense API Key: Update the
API_KEYandAPI_URLvalues in the scripts with your actual Sisense API key and instance URL.
- Error Handling: The scripts will print status codes and response bodies for any failed API calls to help troubleshoot issues.
Feel free to fork the repository, open issues for bugs, or suggest improvements. The idea behind this repo is to explore the knowhows of using Sisense's APIs.
This project is licensed under the MIT License. See the LICENSE file for details.
Just copy and paste the above text directly into the `README.md` edit page!