Skip to content
This repository has been archived by the owner on Oct 22, 2020. It is now read-only.

3rror/storective

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Climate Build Status

Storective

Ruby wrapper for the Apple Search API. It makes easy searching for movies, podcasts, music, music videos, audio books, short films, tv shows, softwares and ebooks on the iTunes Store, App Store, iBook Store and Mac App Store by term or by id.

Installation

Currently not available outside Github, at least until we have a beta.

Add this line to your application's Gemfile:

gem 'storective'

And then execute:

$ bundle

Or install it yourself as:

$ gem install storective

Usage

If you want to search for a generic term, it's so easy:

s = Storective.new
s.search_for('your favorite song')

But also if you want to set any option:

s = Storective.new
s.limit(1).country('IT').search_for('your favorite song')

you can also initialize the instance with your options:

s = Storective.new limit: 1, country: 'IT'
s.search_for('your favorite song')

See Apple website for the complete options list

ToDo

  • Implement search by ID
  • Code documentation

Contributing

  1. Fork it ( https://github.com/buglite/storective/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Legal notes

Apple, iTunes Store, App Store, iBookstore and Mac App Store are trademarks of Apple Inc.

About

Ruby wrapper for the Apple Search API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages