Giter Club home page Giter Club logo

export_importer's Introduction

Asana Export Importer

Setup

  1. Ensure Node.js v6 is installed.

  2. In the project directory run:

    npm install

Testing

npm test

Usage

The minimum required command line requirements are an API key, organization ID, and export data file:

asana_export_importer \
	--organization=20556533848969 \
	--api-key=5PUmeLPC.tJAE8kFo3vduEtXW9kSgw8x \
	example/export.json

You can also specify an importer, organization ID to import into, Asana API key and endpoint, and location to write the attachments list (defaults shown below):

asana_export_importer \
	--importer=asana_export \
	--organization=20556533848969 \
	--api-key=5PUmeLPC.tJAE8kFo3vduEtXW9kSgw8x \
	--api-endpoint=https://app.asana.com/api/1.0 \
	--attachments=db/attachments.json \
	example/export.json

Demo

Run the following to import an example Asana export into a sample organization (Asana user=[email protected] password=a5anab0t)

example/example.sh

Docker

A Dockerfile is provided that includes the Node.js dependency.

The following does the same thing as the demo script above:

docker build -t asana_export_importer .
docker run -t asana_export_importer

You can also use a volume to mount your own export file in the container:

docker run -t -v /path/to/export.json:/data/export.json asana_export_importer \
	bin/asana_export_importer --api-key=$ASANA_API_KEY --organization=$ASANA_ORGANIZATION /data/export.json

export_importer's People

Contributors

agnoster avatar alexdavies74 avatar markchua avatar richcollins avatar rjaquino avatar stevenfan avatar theospears avatar tlrobinson avatar

Watchers

 avatar  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.