https://github.com/lujun9972/pocket-api.el
Another pocket api which is rewriten from el-pocket.
https://github.com/lujun9972/pocket-api.el
Last synced: 5 months ago
JSON representation
Another pocket api which is rewriten from el-pocket.
- Host: GitHub
- URL: https://github.com/lujun9972/pocket-api.el
- Owner: lujun9972
- Created: 2016-05-22T14:06:07.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2018-04-03T01:10:00.000Z (over 8 years ago)
- Last Synced: 2025-04-04T03:26:40.660Z (over 1 year ago)
- Language: Emacs Lisp
- Homepage:
- Size: 8.79 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
#+TITLE: README
#+AUTHOR: DarkSun
#+CATEGORY: pocket-api.el
#+DATE: [2016-05-23 一 20:24]
#+OPTIONS: ^:{}
* what's pocket-api
Another pocket api which is rewriten from [[https://github.com/pterygota/el-pocket][el-pocket]].
* Why another pocket api
There is already a pocket api in elisp called [[https://github.com/pterygota/el-pocket][el-pocket]].
But it doesn't support emacs25 and the author seems disappeared over one year.
So I create this project.
* Usage
The usage is similar with [[https://github.com/pterygota/el-pocket][el-pocket]].
The first time using `pocket-api', you need to execute =pocket-api-authorize= twice.
1. The first time execute =pocket-api-authorize= you will be directed to the oauth/request page, where you can click on authorize. After authorizing, you may see an error page, but it doesn't matter.
2. And then, the second time execute =pocket-api-authorize= you will get the access token, and it will be saved to =~/.el-pocket-auth.json=
After those two steps done, you don't need to do the authorizing job any more, just use =(el-pocket-load-auht)= to reload the access token.
Usng =M-x el-pocket-add= to add URLs