Skip to content

Project-Catalyst/ca-tool-backend

Repository files navigation

CA tool backend

This repo contains a utility to update the count of assessments received by proposals in Project Catalyst. These data are intended to be consumed by the CA tool.

Configuration

Install requirements with:

pip3 install -r requirements.txt

Copy options.json.template to options.json and set:

  • github_access_token the Github token used to push the updates to the json file. You have to create the token from Github Profile -> Settings -> Developer Settings -> Personal Access Token. The token needs the repo scopes and you need to have write access to the repository.
  • ideascale_api_token the API token used to fetch data from the Ideascale API.
  • ideascale_base_api_url the Ideascale API base url, like https://cardano.ideascale.com/a/rest
  • assess_funnel_stage_ids the ids of the funnel stages to query
  • assess_funnel_endpoint the endpoint for getAssessmentResults.

Usage

Launch the script with:

python3 update-assessments-count.py

Optionally set a cronjob to regularly update the file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages