1
0
mirror of synced 2025-12-26 14:02:10 -05:00
Files
airbyte/docs/integrations/sources/pocket.md
Xabier Lahuerta Vazquez 45ad415a83 🎉 New Source: Pocket [low-code CDK] (#18655)
* Pocket Source Connector initial implementation

* Update changelog with PR id

* Style fixes & bootstrap.md

* Delete abnormal_state.json

* Update setup.py

* Update invalid_config.json

* Delete sample_state.json

* Update retrieve.json

* Update acceptance.py

* Rename Pocket Extractor test

* Add `schema_loader` as a workaround to prevent `EmptySchemaLoader`

* auto-bump connector version

Co-authored-by: Vincent Koc <koconder@users.noreply.github.com>
Co-authored-by: Vincent Koc <koconder@gmail.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-11-10 12:38:42 -05:00

2.3 KiB

Pocket

Overview

The Pocket source connector only supports full refresh syncs

Output schema

A single output stream is available from this source:

Features

Feature Supported?
Full Refresh Sync Yes
Incremental Sync No

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"}'

Changelog

Version Date Pull Request Subject
0.1.0 2022-10-30 18655 🎉 New Source: Pocket