• Stars
    star
    102
  • Rank 335,584 (Top 7 %)
  • Language
    Ruby
  • License
    MIT License
  • Created almost 12 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Ruby wrapper for the Pocket REST and Search APIs

pocket-ruby

Code Climate Gem Version

Ruby API for v3 of the Pocket API (formerly Read It Later)

Written by and previously maintained by @turadg.

Usage

Clone the repo and refer to demo-server.rb for examples on how to interact with the Pocket API.

git clone
cd pocket-ruby
bundle install
ruby demo-server.rb

Note: Changes to the demo-server.rb will require a restart to take effect (or you can use rerun).

Pocket-Ruby can be installed via the gem, gem install pocket-ruby

Or via bundler, gem 'pocket-ruby'

Pocket API Notes

Below are some aspects of the Pocket API that aren't covered in the official documentation, or that have been observed:

  • For very long articles, the maximum reported word_count is 65535, even if the article is longer.
  • If a count isn't specified, the Retreive call will return maximum of 5000 items.
  • The API response may contain a number of undocumented fields, including:
    • amp_url
    • domain_metadata
    • is_index
    • lang (ISO_639-1?)
    • listen_duration_estimate
    • sort_id
    • time_to_read
    • top_image_url
  • Every integer value is returned as a string, except for time_to_read, listen_duration_estimate and sort_id.
  • The time_to_read is in minutes, but listen_duration_estimate is in seconds.
  • If an article's status is "2" ('should be deleted') then most fields will not be present.

More Repositories

1

do_by

Automatically expiring TODO notes in Ruby
Ruby
265
star
2

rubymotion_generators

Old and no longer maintained
Ruby
76
star
3

rubymotion_app_template

Blank RubyMotion project with sensible defaults
Ruby
43
star
4

capybara-page-object

Ruby
32
star
5

RubyMotion-Social-Example

An example of using the iOS 6 Social.framework with RubyMotion
Ruby
23
star
6

techradar

techradar.io
Ruby
23
star
7

setup-rails

A re-usable GitHub Actions CI workflow for verifying Rails apps
19
star
8

itunes_csv

Export iTunes Library XML data to CSV
Ruby
13
star
9

cucumber_scaffold

Cucumber Scaffold
Ruby
12
star
10

motion-json-decoder

Treat JSON nodes as rich objects.
Ruby
10
star
11

hexagonal_rails_rspec_example

Ruby
9
star
12

ruby-kata-template

A blank Ruby project with MiniTest, for both new and experienced developers to quickly get up and running on a kata
Ruby
6
star
13

cuki

Pulls acceptance criteria from a Confluence wiki into Cucumber feature files to keep them in sync
Ruby
6
star
14

codeclimate-engine-rb

A simple way to create issues in the JSON format described in the Code Climate Engine specification
Ruby
6
star
15

setup-rails-example-app

Example app for https://github.com/andyw8/setup-rails
Ruby
5
star
16

depot

The Rails 3.2 version of the finished Depot application from the Agile Web Development With Rails book
Ruby
4
star
17

growing-rails-controllers

Example controller specs for the approach described in the book Growing Rails Applications in Practice.
Ruby
4
star
18

mocha_to_rspec

A set of RuboCop cops to help migrate from Mocha to rspec-mocks
Ruby
4
star
19

rubymotion_parse_example

Ruby
4
star
20

townhallapp

Rails clone of Google Moderator
Ruby
3
star
21

Parse.framework

Unofficial mirror of Parse.framework so that it can be used as a git submodule. May not be the latest release.
Objective-C
3
star
22

checklists

Basic CRUD example app written using Lucky framework (Crystal)
Crystal
3
star
23

WidgetMagic

Example project for GitHub talk
Ruby
2
star
24

dehumanize

A simple plugin to perform the reverse of the 'humanize' string method in Rails
Ruby
2
star
25

flipper-echo

Extensible event notifier for Flipper gem
Ruby
1
star
26

confreaks-rss

RSS for confreaks, because they don't do it.
Ruby
1
star
27

employee-report-kata

https://codingdojo.org/kata/Employee-Report/
Ruby
1
star
28

coffeescript_hello_world

Hello World in CoffeeScript
CoffeeScript
1
star
29

auto-page-objects

Ruby
1
star
30

project_euler_ruby

My solutions in Ruby to Project Euler problems
Ruby
1
star
31

sustainable-rails

1
star
32

googletastic

ActiveRecord-like ORM to the Google Data API
Ruby
1
star
33

node_hello_world

1
star
34

rlit-mob

Ruby
1
star
35

toronto-fire-api-data-scrape

1
star
36

andyw8.github.com-old

Blog
HTML
1
star
37

rmagick-heroku-demo

I thought getting RMagick running on Heroku might be tricky but it was actually very easy.
Ruby
1
star
38

bundle_info

Command-line tool to display information about all the gems in a project's Gemfile
Ruby
1
star
39

99-bottles-2022-03-13

Ruby
1
star
40

pragpub_magazine_downloader

Download back issues of the PragPub magazines
Ruby
1
star
41

jumpstart-setup-rails

Ruby
1
star
42

BlankProject

1
star
43

new_rails_3_app

An empty app configured with a bunch of common gems
Ruby
1
star