Skip to content

Scholarly-Projects/trello_export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trello_export

Tool for exporting archived Trello cards, categorized by label to help track activity for liaison reports and annual reviews. Andrew Weymouth, Fall 2024.

Step 1: Building Virtual Environment for Python Dependencies

python3 -m venv .venv

Step 2: Activate the Virtual Environment

On Mac

source .venv/bin/activate

On Windows

.venv\Scripts\activate

Step 3: Install Required Packages

pip install requests

Step 4: Locating Trello API Key, API Token, and Board ID

To use the script, you will need to locate your Trello API Key, API Token, and the Board ID for the board you wish to export archived cards from.

A. Get Your Trello API Key and API Token

B. Find Your Board ID

  • Open the Trello board in your web browser
  • Look at the URL. It should look something like this:
    https://trello.com/b/abcdef123456/my-board-name
    
  • The Board ID is the string of characters after /b/ and before the next /. In this example, the Board ID is abcdef123456.

C. Add API Credentials and Board ID to the Script

  • Open the script.py file in a text editor

  • Replace the placeholders for API_KEY, API_TOKEN, and BOARD_ID with your actual values:

    API_KEY = 'your_api_key_here'
    API_TOKEN = 'your_api_token_here'
    BOARD_ID = 'your_board_id_here'

Step 5: Run the Script

Once everything is set up, run the script:

python script.py

Step 6: Remove API information from script.py and add to .gitignore

To keep API information secure, remove this data before saving your script.py file and save it to the .gitignore file, which will preserve this information for future reference but only be accessible to you (as long as your repository is set to private).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages