Skip to content

datamill-co/tap-asana

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tap-asana

This is a Singer tap that produces JSON-formatted data following the Singer spec.

This tap:

  • Pulls raw data from Asana
  • Extracts the following resources:
  • Outputs the schema for each resource
  • Incrementally pulls data based on the input state

Quick Start

  1. Install
$ pip install tap-asana
  1. Create the config file

    Create a JSON file called config.json. Its contents should look like:

{
  "client_id": "111",
  "client_secret": "xxx",
  "redirect_uri": "urn:ietf:wg:oauth:2.0:oob",
  "refresh_token": "yyy",
  "start_date" : "2018-02-22T02:06:58.147Z"
}

The start_date specifies the date at which the tap will begin pulling data (for those resources that support this).

The client_id, client_secret, redirect_uri, and refresh_token can be generated following these Asana instructions.

  1. Run the Tap in Discovery Mode

    tap-asana -c config.json -d

    See the Singer docs on discovery mode here.

  2. Run the Tap in Sync Mode

    tap-asana -c config.json --catalog catalog-file.json

Development

First, clone this repo. Then, in the directory:

$ mkvirtualenv -p python3 tap-asana
$ make dev

Copyright © 2019 Stitch

About

Singer.io tap for extracting Asana data

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%