Sha256: 5e32184da973f110cd92437f5a932be3090db617432fccb371b18be075d44de8

Contents?: true

Size: 1.76 KB

Versions: 1

Compression:

Stored size: 1.76 KB

Contents

module Feedlr
  module Gateway
    # Streams API
    #
    # @see http://developer.feedly.com/v3/streams/
    module Streams
      # Get a list of entry ids for a specific stream
      #
      # @see http://developer.feedly.com/v3/streams/#get-a-list-of-entry-ids-for-a-specific-stream
      # @param stream_id [String]
      # @param options [Hash]
      # @option options [String] :count mber of entry ids to return.
      #  default is 20. max is 10,000
      # @option options [String] :ranked newest or oldest. default is newest
      # @option options [String] :unreadOnly boolean default value is false
      # @option options [String] :newerThan timestamp in ms
      # @option options [String] :continuation a continuation id is
      #  used to page through the entry ids
      # @return [Feedlr::Base]
      def stream_entries_ids(stream_id , options = {})
        build_object(:get , "/streams/#{CGI.escape(stream_id) }/ids" , options)
      end
      # Get the content of a stream
      #
      # @see http://developer.feedly.com/v3/streams/#get-the-content-of-a-stream
      # @param stream_id [String]
      # @param options [Hash]
      # @option options [String] :count mber of entry ids to return.
      #  default is 20. max is 10 , 000
      # @option options [String] :ranked newest or oldest. default is newest
      # @option options [String] :unreadOnly boolean default value is false
      # @option options [String] :newerThan timestamp in ms
      # @option options [String] :continuation a continuation id
      #  is used to page through the entry ids
      # @return [Feedlr::Base]
      def stream_entries_contents(stream_id , options = {})
        build_object(:get, "/streams/#{CGI.escape(stream_id)}/contents",
                     options)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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