Sha256: 2fb27ad57023af4791696e895db46c40189d8daf0d3e1473ece4cbe0a8b5bd39
Contents?: true
Size: 473 Bytes
Versions: 1
Compression:
Stored size: 473 Bytes
Contents
module Chronicle module Spotify class SavedTracksExtractor < Chronicle::Spotify::SpotifyExtractor register_connector do |r| r.source = :spotify r.type = :like r.strategy = :api r.description = 'liked tracks' end def extract @proxy.saved_tracks(after: @config.since, limit: @config.limit) do |item| yield build_extraction(data: item, meta: { agent: @agent }) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
chronicle-spotify-0.2.0 | lib/chronicle/spotify/liked_tracks_extractor.rb |