- Board generator is a script for generating board's link for your custom data.
- Currently, our board requires a specific queryString variable
configswith custom groups' and trainees' data. - The main purpose of the script is to automate the process of creating json from your data, uploading json data to jsonbin, and shorten the board's link!
You are required to insert two files, and one optional parameters.
data/groups.txtdata/trainees.csv
groups file must contain the full links of the sheets you want to add.
trainees file must contain two columns with names (first row) and handles (second row) for each trainee using csv format.
If you want to automate the process even further, you can add two keys inside .env file
In order to do this process you have to install python-dotenv using the following command(s)
sudo apt install python3-pip
pip install python-dotenvCreate your .env file and add the following keys
jsonbin_api_keyto upload the json data.cuttly_api_keyto shorten the final link with your custom slashtag.jsonbin_bin_idto update the json data (optional).
if you leave jsonbin_bin_id empty, the script will create a new bin for you.
You can get your jsonbin api key from jsonbin api dashboard after logging in.
You can get your cuttly api key from cuttly dashboard after logging in and click generate token.
The output will be in one or two files
board.jsoncontains the json datalinks.txtcontains all links (if api keys are applied)
In this version we added the ability to:
- update the jsonbin bin with the new data.
- Asks first to create shorten Link or not.
Including slashtag feature by using cuttly api instead of bitly.
First release using jsonbin and bitly for link shorten.
