Current phase: PocketTags - Stats for Pocket Tags
We use Pocket, we need stats for our Tags on Pocket.
As you could see in Gemfile, we use:
Thanks to alexchee, author of pocket-api. He advise me about pocket-ruby.
app.rb is based on demo-server.rb from pocket-ruby.
This gem provides methods to output stats about Pocket tags.
Classes to work with Pocket.
Use your consumer key in app.rb file
Pocket.configure do |config|
config.consumer_key = 'YOUR-CONSUMER_KEY'
end
ruby app.rb
open http://localhost:4567/oauth/connect
#authorize your Pocket app
open http://localhost:4567/tags
open http://localhost:4567/tags-cache
open http://localhost:4567/tags-cache-specific-terms
open http://localhost:4567/tags-cache-specific-terms-cache
Stats are printed to the console
# Try to process more saved items.
# Increment count parameter to 100, for instance.
# :count => 100
info = client.retrieve(:detailType => :complete, :count => 100)