Class: Crawlora::YahooNewsGroup

Inherits:
Object
  • Object
show all
Defined in:
sig/crawlora.rbs

Instance Method Summary collapse

Constructor Details

#initializeYahooNewsGroup

Returns a new instance of YahooNewsGroup.

Parameters:

  • (Client)
  • (Hash[String, String])


1995
# File 'sig/crawlora.rbs', line 1995

def initialize: (Client, Hash[String, String]) -> void

Instance Method Details

#articleObject

Parameters:

  • url: (String)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


1996
# File 'sig/crawlora.rbs', line 1996

def article: (?url: String, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#categoryObject

Parameters:

  • category: ("us", "world", "politics", "science", "weather-news", "originals")
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


1997
# File 'sig/crawlora.rbs', line 1997

def category: (?category: "us" | "world" | "politics" | "science" | "weather-news" | "originals", ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#comment_repliesObject

Parameters:

  • content_id: (String)
  • comment_id: (String)
  • sort: ("newest", "oldest")
  • cursor: (String)
  • count: (Integer)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


1999
# File 'sig/crawlora.rbs', line 1999

def comment_replies: (?content_id: String, ?comment_id: String, ?sort: "newest" | "oldest", ?cursor: String, ?count: Integer, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#commentsObject

Parameters:

  • content_id: (String)
  • sort: ("top", "popular", "newest", "oldest")
  • cursor: (String)
  • count: (Integer)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


1998
# File 'sig/crawlora.rbs', line 1998

def comments: (?content_id: String, ?sort: "top" | "popular" | "newest" | "oldest", ?cursor: String, ?count: Integer, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#homeObject

Parameters:

  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


2000
# File 'sig/crawlora.rbs', line 2000

def home: (?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#suggestObject

Parameters:

  • q: (String)
  • count: (Integer)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


2001
# File 'sig/crawlora.rbs', line 2001

def suggest: (?q: String, ?count: Integer, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped