Module: Pandata

Defined in:
lib/pandata.rb,
lib/pandata/cli.rb,
lib/pandata/parser.rb,
lib/pandata/scraper.rb,
lib/pandata/version.rb,
lib/pandata/data_urls.rb,
lib/pandata/downloader.rb,
lib/pandata/argv_parser.rb,
lib/pandata/data_formatter.rb

Defined Under Namespace

Modules: Version Classes: ArgvParser, CLI, DataFormatter, Downloader, PandataError, Parser, Scraper

Constant Summary collapse

MAX_RESULTS =

Number of results to get from a feeds.pandora.com URL.

100_000
DATA_FEED_URLS =

URLs to Pandora’s data!

{
  user_search:          'http://www.pandora.com/content/connect?searchString=%{searchString}',
  liked_tracks:         'http://www.pandora.com/content/mobile/profile_likes_track.vm?likeStartIndex=%{nextLikeStartIndex}&thumbStartIndex=%{nextThumbStartIndex}&webname=%{webname}&pat=%{pat}',
  liked_artists:        'http://www.pandora.com/content/artistlikes?artistStartIndex=%{nextStartIndex}&webname=%{webname}',
  liked_stations:       'http://www.pandora.com/content/stationlikes?stationStartIndex=%{nextStartIndex}&webname=%{webname}',
  liked_albums:         'http://www.pandora.com/content/albumlikes?albumStartIndex=%{nextStartIndex}&webname=%{webname}',
  following:            'http://www.pandora.com/content/following?startIndex=%{nextStartIndex}&webname=%{webname}',
  followers:            'http://www.pandora.com/content/followers?startIndex=%{nextStartIndex}&webname=%{webname}'
}