Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
From Trigger Happy, this connector provides an access to your Pocket account to add/get notes
Python HTML

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
th_pocket
.gitignore
.travis.yml
LICENSE
MANIFEST.in
README.rst
requirements.txt
setup.py

README.rst

Travis Status Latest version Supported Python versions License

Pocket Connector

From Trigger Happy, this connector provides an access to your Pocket account to add/get notes

Requirements :

Installation:

to get the project, from your virtualenv, do :

pip install django-th-pocket

then do

python manage.py makemigrations th_pocket
python manage.py migrate

to startup the database

Parameters :

As usual you will setup the database parameters.

Important parts are the settings of the available services :

Settings.py

INSTALLED_APPS

add the module th_rss to INSTALLED_APPS

INSTALLED_APPS = (
    'th_pocket',
)
TH_SERVICES

TH_SERVICES is a list of the services used by Trigger Happy

TH_SERVICES = (
    'th_pocket.my_pocket.ServicePocket',
)
TH_POCKET

TH_POCKET is the settings you will need to be able to add/read data in/from Pocket.

To be able to use Pocket :

http://foxmask.info/public/trigger_happy/pocket_account_settings.png
  • then copy the "consumer key" of your application to the settings.py
TH_POCKET = {
    'consumer_key': 'abcdefghijklmnopqrstuvwxyz',
}

Setting up : Administration

Once the module is installed, go to the admin panel and activate the service Pocket.

http://foxmask.info/public/trigger_happy/th_admin_pocket_activated.png

Once they are activated....

http://foxmask.info/public/trigger_happy/admin_service_list.png

... User can use them

Something went wrong with that request. Please try again.