Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

# 1.3.0
* Upgrade api version to v2 [#144](https://github.com/singer-io/tap-pipedrive/pull/144)
* Replace /recent endpoints with respective /list endpoints to sync the historical data
* Update replication method to INCREMENTAL for some of the streams

# 1.2.4
* Fix the organizations schema [#142](https://github.com/singer-io/tap-pipedrive/pull/142)

Expand Down
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@ This is a [Singer](https://singer.io) tap that produces JSON-formatted data foll
This tap:
- Pulls raw data from Pipedrive's [REST API](https://developers.pipedrive.com/docs/api/v1/)
- Extracts the following resources from Pipedrive
- [Currencies](https://developers.pipedrive.com/docs/api/v1/#!/Currencies)
- [ActivityTypes](https://developers.pipedrive.com/docs/api/v1/#!/ActivityTypes)
- [Filters](https://developers.pipedrive.com/docs/api/v1/#!/Filters)
- [Stages](https://developers.pipedrive.com/docs/api/v1/#!/Stages)
- [Pipelines](https://developers.pipedrive.com/docs/api/v1/#!/Pipelines)
- [Currencies](https://developers.pipedrive.com/docs/api/v1/Currencies)
- [ActivityTypes](https://developers.pipedrive.com/docs/api/v1/ActivityTypes)
- [Filters](https://developers.pipedrive.com/docs/api/v1/Filters)
- [Stages](https://developers.pipedrive.com/docs/api/v1/Stages)
- [Pipelines](https://developers.pipedrive.com/docs/api/v1/Pipelines)
- [Goals](https://developers.pipedrive.com/docs/api/v1/#!/Goals)
- [Recent Notes](https://developers.pipedrive.com/docs/api/v1/#!/Recents)
- [Recent Users](https://developers.pipedrive.com/docs/api/v1/#!/Recents)
- [Recent Activities](https://developers.pipedrive.com/docs/api/v1/#!/Recents)
- [Recent Deals](https://developers.pipedrive.com/docs/api/v1/#!/Recents)
- [Recent Files](https://developers.pipedrive.com/docs/api/v1/#!/Recents)
- [Recent Organizations](https://developers.pipedrive.com/docs/api/v1/#!/Recents)
- [Recent Persons](https://developers.pipedrive.com/docs/api/v1/#!/Recents)
- [Recent Products](https://developers.pipedrive.com/docs/api/v1/#!/Recents)
- [Notes](https://developers.pipedrive.com/docs/api/v1/Notes)
- [Users](https://developers.pipedrive.com/docs/api/v1/Users)
- [Activities](https://developers.pipedrive.com/docs/api/v1/Activities)
- [Deals](https://developers.pipedrive.com/docs/api/v1/Deals)
- [Files](https://developers.pipedrive.com/docs/api/v1/Files)
- [Organizations](https://developers.pipedrive.com/docs/api/v1/Organizations)
- [Persons](https://developers.pipedrive.com/docs/api/v1/Persons)
- [Products](https://developers.pipedrive.com/docs/api/v1/Products)
- Outputs the schema for each resource
- Incrementally pulls data based on the input state

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
install_requires=[
"pendulum==2.1.2",
"requests==2.32.3",
"singer-python==5.12.1",
"singer-python==6.1.0",
],
entry_points="""
[console_scripts]
Expand Down
2 changes: 1 addition & 1 deletion tap_pipedrive/config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
BASE_URL = "https://api.pipedrive.com/v1"
BASE_URL = "https://api.pipedrive.com"

CONFIG_DEFAULTS = {
'user-agent': 'tap-pipedrive ([email protected])'
Expand Down
305 changes: 305 additions & 0 deletions tap_pipedrive/schemas/activities.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,305 @@
{
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"company_id": {
"type": [
"null",
"integer"
]
},
"user_id": {
"type": [
"null",
"integer"
]
},
"done": {
"type": [
"null",
"boolean"
]
},
"type": {
"type": [
"null",
"string"
]
},
"reference_type": {
"type": [
"null",
"string"
]
},
"reference_id": {
"type": [
"null",
"integer"
]
},
"due_date": {
"type": [
"null",
"string"
]
},
"due_time": {
"type": [
"null",
"string"
]
},
"duration": {
"type": [
"null",
"string"
]
},
"add_time": {
"type": [
"null",
"string"
],
"format": "date-time"
},
"marked_as_done_time": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"subject": {
"type": [
"null",
"string"
]
},
"deal_id": {
"type": [
"null",
"integer"
]
},
"org_id": {
"type": [
"null",
"integer"
]
},
"person_id": {
"type": [
"null",
"integer"
]
},
"is_deleted": {
"type": [
"null",
"boolean"
]
},
"update_time": {
"type": [
"null",
"string"
],
"format": "date-time"
},
"note": {
"type": [
"null",
"string"
]
},
"participants": {
"type": [
"null",
"array"
],
"items": {
"type": "object",
"properties": {
"person_id": {
"type": "integer"
},
"primary_flag": {
"type": "boolean"
}
}
}
},
"owner_id": {
"type": [
"null",
"integer"
]
},
"creator_user_id": {
"type": [
"null",
"integer"
]
},
"location": {
"type": [
"null",
"object"
],
"properties": {
"value": {
"type": [
"null",
"string"
]
},
"country": {
"type": [
"null",
"string"
]
},
"admin_area_level_1": {
"type": [
"null",
"string"
]
},
"admin_area_level_2": {
"type": [
"null",
"string"
]
},
"locality": {
"type": [
"null",
"string"
]
},
"sublocality": {
"type": [
"null",
"string"
]
},
"route": {
"type": [
"null",
"string"
]
},
"street_number": {
"type": [
"null",
"string"
]
},
"postal_code": {
"type": [
"null",
"string"
]
}
}
},
"attendees": {
"type": [
"null",
"array"
],
"items": {
"type": "object",
"properties": {
"email": {
"type": [
"null",
"string"
]
},
"name": {
"type": [
"null",
"string"
]
},
"status": {
"type": [
"null",
"string"
]
},
"is_organizer": {
"type": [
"null",
"boolean"
]
},
"person_id": {
"type": [
"null",
"integer"
]
},
"org_id": {
"type": [
"null",
"integer"
]
}
}
}
},
"busy": {
"type": [
"null",
"boolean"
]
},
"public_description": {
"type": [
"null",
"string"
]
},
"lead_id": {
"type": [
"null",
"string"
]
},
"project_id": {
"type": [
"null",
"string"
]
},
"priority": {
"type": [
"null",
"string"
]
},
"conference_meeting_client": {
"type": [
"null",
"string"
]
},
"conference_meeting_url": {
"type": [
"null",
"string"
]
},
"conference_meeting_id": {
"type": [
"null",
"string"
]
}
}
}
Loading