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])


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

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)


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

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)


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

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)


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

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)


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

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)


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

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)


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

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