Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Simple Ruby Client for Star Search - http://github.com/maddox/star-search

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 .document
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 VERSION
Octocat-spinner-32 star_searcher.gemspec
README.md

Star Searcher!

Star Searcher is just a simple Ruby client that lets you talk to your Star Search (This is an http://github.com/maddox/star-search).

Requirements

  • httparty (duh)

How Do I Do It?

Just like every other Ruby REST client

star_searcher = StarSearcher.new('stars.domain.com')

star_searcher.feed(3) => page 3 of JSON of stars

star_searcher.search('blue drink', 3) => page 3 of JSON of stars matching this query

star_searcher.by_author('maddox', 3) => page 3 of JSON of stars from maddox
Something went wrong with that request. Please try again.