Skip to content

Hackafe/trello-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trello-config

Contains as a json the configuration that is used by various project to retrieve information from Hackafe's trello boards.

Usage

Node

npm install --save hackafe-trello-config
var boardId = require('hackafe-trello-config').boardId

Remote

GET http://trello-config.hackafe.org/config.json

Specification

The package contains a single file config.json formatted as JSON, with embedded comments following the pattern: "-//field": "comment". This is to provide maximum compatibility with all the strict json parsers out there.

Helpful information

  • To get available events use https://api.trello.com/1/boards/[config.boardId]/cards/visible
  • To get label names use https://api.trello.com/1/boards/[config.boardId]/labels
  • To get card attachment use https://api.trello.com/1/cards/[cardId]/attachments/[attachmentId]

License

ISC. Copyright (c) Geno Rouspky.