Skip to main content

Pocket

Overview

The Pocket source connector only supports full refresh syncs

Output schema

A single output stream is available from this source:

Features

FeatureSupported?
Full Refresh SyncYes
Incremental SyncNo

Performance considerations

For more info on rate limiting, please refer to Pocket Docs > Rate Limits

Getting started

Requirements

  • Consumer Key
  • Access Token

Setup Guide

In order to obtain the Consumer Key and Access Token, please follow the official Pocket Authentication docs.

It's nevertheless, very recommended to follow this guide by James Mackenzie, which is summarized below:

  1. Create an App in the Pocket Developer Portal, give it Retrieve permissions and get your Consumer Key.
  2. Obtain a Request Token. To do so, you need to issue a POST request to get a temporary Request Token. You can execute the command below:
curl --insecure -X POST -H 'Content-Type: application/json' -H 'X-Accept: application/json' \
https://getpocket.com/v3/oauth/request -d '{"consumer_key":"REPLACE-ME","redirect_uri":"http://www.google.com"}'
  1. Visit the following website from your browser, and authorize the app: https://getpocket.com/auth/authorize?request_token=REPLACE-ME&redirect_uri=http://www.google.com
  2. Convert your Request Token Into a Pocket Access Token. To do so, you can execute the following command:
curl --insecure -X POST -H 'Content-Type: application/json' -H 'X-Accept: application/json' \
https://getpocket.com/v3/oauth/authorize -d '{"consumer_key":"REPLACE-ME","code":"REQUEST-TOKEN"}'

Reference

Config fields reference

Field
Type
Property name
string
consumer_key
string
access_token
string
state
boolean
favorite
string
tag
string
content_type
string
sort
string
detail_type
string
search
string
domain
string
since

Changelog

Expand to review
VersionDatePull RequestSubject
0.1.42024-06-0639298[autopull] Upgrade base image to v1.2.2
0.1.32024-04-1937228Upgrade to CDK 0.80.0 and manage dependencies with Poetry.
0.1.22024-04-1537228Base image migration: remove Dockerfile and use the python-connector-base image
0.1.12024-04-1237228schema descriptions
0.1.02022-10-3018655🎉 New Source: Pocket