Skip to content

yugInd8/sisense_datafetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fetching data from Sisense APIs

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.

Scripts

1. test.py

This script is designed to:

  • Fetch a list of dashboards from Sisense.
  • Fetch widgets data from a specific dashboard.

How to Use:

  1. Replace API_URL and API_KEY in the script with a valid dashboard ID.
  2. Run the script:
    python test.py

2. test_atts_list.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.

How to Use:

  1. Replace API_URL and API_KEY with an actual dashboard ID.
  2. Run the script:
    python test_atts_list.py

Setup Instructions

  1. Clone the Repository:

    git clone https://github.com/yugInd8/sisense_datafetch.git
    cd sisense_datafetch
  2. Install Dependencies: Make sure you have Python installed and install the dependencies by running:

    pip install requirements.txt
  3. Set up Sisense API Key: Update the API_KEY and API_URL values in the scripts with your actual Sisense API key and instance URL.

Notes

  • Error Handling: The scripts will print status codes and response bodies for any failed API calls to help troubleshoot issues.

Contribution

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.

License

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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages