Skip to content

hartogjr/trello_api_client

Repository files navigation

Trello API client

License information

This software is licensed under the BSD-3 license. See the file named LICENSE for details. The RestClient-cpp submodule which is used, has its own license. See restclient-cpp/LICENSE for details.

Introduction

I set up this project to delete all my archived Trello cards in one go, instead of having to delete every single card by hand. More information on why this is not possible in the Trello interface can be found in this Atlassian thread.

I want to be able to quickly and easily delete my archived cards because:

  • They contain private information

  • They clutter search results

Building the software

This application needs the following libraries, which you should install before building:

  • cURL

  • cURL++ (also called curlpp)

  • jsoncpp

For setting it up, clone this repo and also clone the submodules:

git clone https://github.com/hartogjr/trello_api_client trello_api_client
cd trello_api_client
git submodule update --recursive --init

Ensure your build environment is in order, meaning that you have:

  • A C++ compiler

  • CMake

  • GNU Make

  • Basic development libraries and header files

To actually build the program do this:

  1. Go to the bld subdirectory: cd bld

  2. Run CMake there: cmake -DCMAKE_BUILD_TYPE=Debug ..

  3. Install missing packages if necessary and then run cmake again

  4. When CMake finishes successfully, build the program: make

  5. The application is then located in bld/src and named tac (Trello Api Client)

  6. To run, execute tac, giving it the Trello API Token as parameter:
    tac <Trello API Token>

  7. This should delete all archived Trello cards you have

  8. You may have to run the command multiple times when you have a lot of cards

About

A Trello.com API client in C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published