Sha256: 3e229fd1c966ba016229a952de6874b3868771b872de60b4c0efafaf2e444e72

Contents?: true

Size: 1.21 KB

Versions: 1

Compression:

Stored size: 1.21 KB

Contents

module Feedlr
  module Gateway
    # Mixes API
    #
    # @see http://developer.feedly.com/v3/mixes/
    module Mixes
      # Get a mix of the most engaging content available in a stream
      #
      # @see http://developer.feedly.com/v3/mixes/#get-a-mix-of-the-most-engaging-content-available-in-a-stream
      # @param stream_id [String]
      # @param options [Hash]
      # @option options [String] :count number of entry ids to return.
      #  default is 3. max is 20
      # @option options [String] :unreadOnly boolean default value is false
      # @option options [String] :hours hour of the day
      # @option options [String] :newerThan timestamp in ms
      # @option options [String] :backfill if "hours" is provided,
      #  and there aren't enough articles to match the entry count requested,
      #  the server will look back in time to find more articles.
      #  Articles from the first n hours will be returned first
      # @option options [String] :locale preferred locale for results
      # @return [Feedlr::Base]
      def stream_most_engaging(stream_id , options = {})
        build_object(:get, '/mixes/contents',
                     { streamId: stream_id }.merge(options))
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
feedlr-0.1.0 lib/feedlr/gateway/mixes.rb