factor-io / connector-trello

Factor.io Connector for Trello

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test Coverage Dependency Status Build Status Gem Version

Trello Connector for Factor.io

The Factor.io Trello connector gem is used to run actions in Trello through your Factor.io workflow. It was built with the factor-connector-api and ruby-trello gems.

##Installation

Add this to your Gemfile in your connector.

gem 'factor-connector-trello', '~> 0.0.4'

And the following to your init.rb file:

require 'factor/connector/trello_boards'
require 'factor/connector/trello_lists'
require 'factor/connector/trello_cards'
require 'factor/connector/trello_members'

Refer to the setup documentation to integrate it fully with your workflow.

##Authentication

First, you must generate an application key which will be listed as key.

Afterwards, replace your application key and other particulars in the link below. Your desired expiration date can be set to an amount of days or to never. Then, enter your customized link into a browser and it will create your authentication token.

https://trello.com/1/authorize?key=substitutewithyourapplicationkey&name=My+Application&expiration=1day&response_type=token&scope=read,write

##Configuration

Setup your workflows: To use the connector in your workflow when you run factor s you must setup your credentials.yml and connectors.yml files.

##Functionality

[example]

Further examples are provided in the Actions and Listeners wiki.

##Testing

Using a command line to test locally, you must set up three environmental variables:

$ export TRELLO_API_KEY=<api_key>
$ export TRELLO_AUTH_TOKEN=<auth_token>
$ export TRELLO_MEMBER_ID=<username>

Next, you can bundle and run the tests:

$ bundle exec rake

##Contributing

Documentation, feature requests, code, tests, and bug reports are welcomed. Click here for more information.

About

Factor.io Connector for Trello


Languages

Language:Ruby 100.0%