GithubHelp home page GithubHelp logo

trello-api-scraper's Introduction

trello-api-scraper

Uses the Trello API to get board and card data in json format.

This script gets the number of cards for a particular Trello board and uses CURL requests to pull data using the Trello API. See:

https://stateful.com/blog/trello-api-examples

Tested under Ubuntu 20.04.

Installation

  1. Clone this repo to your local machine.

  2. Install Python Poetry

  3. Install script dependancies with:

sudo poetry install
  1. To automate this script with a CRON job, it's advised to store your Trello API creds in a secure folder e.g. /root/trello_credentials containing the following variables:
TRELLO_API_KEY=xxxxxxxxxxxx
TRELLO_API_TOKEN=xxxxxxxxxxxx
TRELLO_BOARD_ID=xxxxxxxxxxxx

Your Trello board id can be found by putting .json at end of the Trello board URL in your browser e.g.

https://trello.com/b/xxxxxxxx/your-board-name.json

Usage

Run this script as root/sudo user so the script can pull in the trello_credentials correctly. e.g.

sudo poetry run python get_trello_cards.py

trello-api-scraper's People

Contributors

jstucken avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.