Skip to content

Commit

Permalink
v.2.0.4 New endpoints, fields (#27)
Browse files Browse the repository at this point in the history
* v.2.0.4 New endpoints, fields

Added endpoints: `portfolios`, `sections`, `stories`, and `teams`. Add missing fields to other endpoints.
Includes changes from v.2.0.3 PR

* Teams tests

Update tests to include teams endpoint
  • Loading branch information
jeffhuth-bytecode authored Oct 5, 2020
1 parent 1e24295 commit 47a5265
Show file tree
Hide file tree
Showing 24 changed files with 2,445 additions and 251 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ catalog*.json
config*.json
state*.json
*/schemas/fixtures.json
singer-check-tap-data
.vscode

# ds store.
.DS_Store
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 2.0.4
* Added endpoints: `portfolios`, `sections`, `stories`, and `teams`. Add missing fields to other endpoints.

## 2.0.3
* Added `resource_subtype` field to tasks schema

## 2.0.2
* Added `custom_fields` to projects schema

Expand Down
19 changes: 12 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,18 @@ spec](https://github.com/singer-io/getting-started/blob/master/SPEC.md).

This tap:

- Pulls raw data from [Asana](https://asana.com/developers/)
- Pulls raw data from [Asana v.1.0 API](https://developers.asana.com/docs)
- Extracts the following resources:
- [Projects](https://asana.com/developers/api-reference/projects)
- [Tags](https://asana.com/developers/api-reference/tags)
- [Tasks](https://asana.com/developers/api-reference/tasks)
- [Users](https://asana.com/developers/api-reference/users)
- [Workspaces](https://asana.com/developers/api-reference/workspaces)
- [Portfolios](https://developers.asana.com/docs/portfolios) with [Portfolio Items](https://developers.asana.com/docs/get-portfolio-items)
- Only available for [Business and Enterprise Subscriptions](https://asana.com/pricing)
- [Projects](https://developers.asana.com/docs/projects)
- [Sections](https://developers.asana.com/docs/sections)
- [Stories](https://developers.asana.com/docs/stories)
- [Tags](https://developers.asana.com/docs/tags)
- [Tasks](https://developers.asana.com/docs/tasks)
- [Teams](https://developers.asana.com/docs/teams)
- [Users](https://developers.asana.com/docs/users)
- [Workspaces](https://developers.asana.com/docs/workspaces)
- Outputs the schema for each resource
- Incrementally pulls data based on the input state

Expand Down Expand Up @@ -41,7 +46,7 @@ $ pip install tap-asana
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](https://asana.com/developers/documentation/getting-started/auth#oauth).
The `client_id`, `client_secret`, `redirect_uri`, and `refresh_token` can be generated following these [Asana OAuth instructions](https://developers.asana.com/docs/oauth).

4. Run the Tap in Discovery Mode

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@

setup(
name="tap-asana",
version="2.0.2",
version="2.0.4",
description="Singer.io tap for extracting Asana data",
author="Stitch",
url="http://github.com/singer-io/tap-asana",
classifiers=["Programming Language :: Python :: 3 :: Only"],
py_modules=["tap_asana"],
install_requires=[
"asana==0.10.0",
"asana==0.10.2",
'singer-python==5.9.0'
],
extras_require={
Expand Down
Loading

0 comments on commit 47a5265

Please sign in to comment.