Sha256: 97970898c1529630bc5e0e71d710ef1183f35298463186d9eb642770a3a75fc7

Contents?: true

Size: 508 Bytes

Versions: 2

Compression:

Stored size: 508 Bytes

Contents

require 'itunes_api/requests/base'
require 'itunes_api/requests/lookup'
require 'itunes_api/requests/search'
require 'itunes_api/music/album'
require 'itunes_api/music/artist'
require 'itunes_api/music/artist_search'

# Interface to the Itunes Api
module ItunesApi
  BASE_URL = 'https://itunes.apple.com'.freeze
  COUNTRY_CODE = 'GB'.freeze
  LIMIT = 200

  def self.artist_ids(name)
    Requests::Search.artist_ids(name)
  end

  def self.artist_search(name)
    Music::ArtistSearch.artists(name)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
itunes_api-0.3.1 lib/itunes_api.rb
itunes_api-0.3 lib/itunes_api.rb