promise based pocket api client. Inspired by https://github.com/tobiaswright/pocket-api and https://github.com/vicchi/node-getpocket/blob/master/getpocket.js
npm install --save @mkusaka/pocket-api-client
;/*get request tokenyou may have to authorize app using oauth2. steps are below.1. make server at locahost (example are at main.go, `go run main.go` up server at ``)2. make code and execute as below.*/const client = "your consumer_key";client/*3. then, url shown at console log like follow. so access and add permisson to application.open following url and accept application with running local server (go run main.go makes good for use). This must operate at least once.// I think this sequence are very troublesome (this troublesome comes from low understanding of me.. ). I should add some adequate redirect process, then it makes easier.*//*get access tokenyou can get access token using reuquest token and consumer_key exist. steps are below1. get consumer_key and request token (like above).2. set client and request*/const client = "your consumer_key"requestToken: "your request token";/*get articlesyou can article using access_key and consumer_key exist. steps are below1. get consumer_key and access key (like above).2. set client and request*/const client = "your consumer_key"accessToken: "your request token";client;
- [Linux From Scratch]()- [Fixing the Gemfile not found (Bundler::GemfileNotFound) error]()...
- seamless process like follow will be implemented (maybe).
const client = "your consumer_key"client;