Method: RSpotify::Album.search
- Defined in:
- lib/rspotify/album.rb
.search(query, limit: 20, offset: 0, market: nil) ⇒ Array<Album>
Returns array of Album objects matching the query, ordered by popularity. It’s also possible to find the total number of search results for the query
70 71 72 |
# File 'lib/rspotify/album.rb', line 70 def self.search(query, limit: 20, offset: 0, market: nil) super(query, 'album', limit: limit, offset: offset, market: market) end |