{"id":22327450,"url":"https://github.com/rewindio/trello_tools","last_synced_at":"2025-03-26T06:23:07.699Z","repository":{"id":189770700,"uuid":"678977042","full_name":"rewindio/trello_tools","owner":"rewindio","description":"A collection of scripts to help manage your Trello account","archived":false,"fork":false,"pushed_at":"2024-09-26T15:10:11.000Z","size":41,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-01-31T07:45:44.733Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rewindio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-15T20:38:28.000Z","updated_at":"2024-09-26T15:10:13.000Z","dependencies_parsed_at":"2024-06-10T21:12:04.186Z","dependency_job_id":"d4bdfcee-629b-48ab-a818-735c679578b3","html_url":"https://github.com/rewindio/trello_tools","commit_stats":null,"previous_names":["rewindio/trello_tools"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rewindio%2Ftrello_tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rewindio%2Ftrello_tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rewindio%2Ftrello_tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rewindio%2Ftrello_tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rewindio","download_url":"https://codeload.github.com/rewindio/trello_tools/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245599575,"owners_count":20642126,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-04T03:09:28.739Z","updated_at":"2025-03-26T06:23:07.671Z","avatar_url":"https://github.com/rewindio.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Trello Tools\n\n\u003e NOT TECHNICAL ADVICE: Content made available on this page is intended solely for informational purposes only. It is not, and should not be taken, as professional technical advice by any user, who accepts full responsibility for its use. The content made available on this page is general in nature and without knowledge or reference to any users’ technical systems. No user should rely on, take or fail to take any action based on this content and, in all cases, should consult with their own technical advisors familiar with their technical systems before implementing any of the content made available here.\n\u003e\n\u003e THE CONTENT ON THIS PAGE IS PROVIDED ON AN AS-IS BASIS WITH NO REPRESENTATIONS OF COMPLETENESS, ACCURACY, USEFULNESS OR TIMELINESS, AND WITHOUT WARRANTIES OF ANY KIND WHATSOEVER, EXPRESS OR IMPLIED.\n\nThis is a collection of scripts for interacting with your Trello account. Here are the available scripts:\n\n- `add-user-to-boards` - Adds the authenticated user to all of the boards in the selected Trello workspace/organization. The user must already have access to the organization\n\n# Usage\n\n## Prerequisites\n\n### 1. Trello Auth Token\n\nBefore running this program, you will need to create a set of Trello credentials to be used. The credentials should be generated for the user that you want to add to the boards, so ensure you are logged in with that user when you complete these steps:\n\n1. Go to Power-up Admin page: https://trello.com/power-ups/admin\n1. Create a New Power-Up by clicking the \"New\" button in the top right of the Power-Up admin portal.\n1. Fill out the following fields and click \"Create\":\n    - Name (the first field) - this can be anything (i.e. \"Rewind Trello Script\")\n    - Workspace - choose your personal workspace\n    - Email - your email address\n    - Support contact - your email address\n    - Author - your name\n1. On the next page, click \"Generate a new API key\"\n1. Click \"Generate API key\" to confirm\n1. Copy down the \"API key\" field - you'll need this later\n1. Click on the \"Token\" hyperlink next to the API key field\n1. You will be prompted to accept permission to access your account. Confirm the account shown is the one you want added to the boards, and click \"Allow\"\n1. Copy down the token shown on the next screen - you'll need this later\n\n### 2. Install Python and `pipenv`\n\nBefore you can run this, you need to have Python installed on your computer. Please find instructions for your OS to install:\n\n- Windows: Install from the Microsoft store\n- macOS: https://www.python.org/downloads/macos/ (or use `brew`)\n- Linux: https://www.python.org/downloads/source/ (or use your distro's package manager)\n\nOnce Python has been installed, you will need to install `pipenv` to use this script. To do so, open your terminal (PowerShell if you're on Windows), and run this command:\n\n```commandline\npython3 -m pip install pipenv\n```\n\nAfter the installation is complete, run `python3 -m pipenv --version` to confirm it is working.\n\n### 3. Download and run the script\n\n1. Download this repository using a `git clone` or downloading the zip archive [here](https://github.com/rewindio/trello_tools/archive/refs/heads/main.zip)\n2. If you downloaded the zip, extract it after it downloads\n3. Open your terminal and navigate to the folder where the repository was cloned/extracted\n    - If you're using Windows, you can navigate to the folder in Windows Explorer, then click on the address bar at the top and enter `powershell`, then hit Enter. This will open a terminal window in the correct directory\n4. Run `python3 -m pipenv sync` to install the required dependencies\n4. Run `python3 -m pipenv run trello_tools \u003ctool_name\u003e` in the terminal to start the script, where `\u003ctool_name\u003e` is one of the following:\n    - `add-user-to-boards`\n\n# Development\n\nSee https://packaging.python.org/en/latest/tutorials/managing-dependencies/\n\nInstall `pipenv`:\n\n```commandline\npython3 -m install --user pipenv\n```\n\nInstall the dependencies:\n\n```commandline\npython3 -m pipenv sync\n```\n\nRunning the CLI:\n\n```commandline\npython3 -m pipenv run trello_tools add-user-to-boards\n```\n\nObtain the API KEY \u0026 token from https://docs.adaptavist.com/w4j/latest/quick-configuration-guide/add-sources/how-to-generate-trello-api-key-token\n\nRunning the tests:\n\n```commandline\npython3 -m pipenv run test\n```\n\nLinting the code:\n\n```commandline\npython3 -m pipenv run lint\n```\n\n# Security Updates\n\n```commandline\npipenv install\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frewindio%2Ftrello_tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frewindio%2Ftrello_tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frewindio%2Ftrello_tools/lists"}