Class: Crawlora::RedditGroup

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

Instance Method Summary collapse

Constructor Details

#initializeRedditGroup

Returns a new instance of RedditGroup.

Parameters:

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


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

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

Instance Method Details

#commentsObject

Parameters:

  • id: (String)
  • sort: ("confidence", "top", "new", "controversial", "old", "qa")
  • limit: (Integer)
  • depth: (Integer)
  • with_scores: (Boolean)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


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

def comments: (?id: String, ?sort: "confidence" | "top" | "new" | "controversial" | "old" | "qa", ?limit: Integer, ?depth: Integer, ?with_scores: bool, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#domain_postsObject

Parameters:

  • domain: (String)
  • sort: ("hot", "new", "top", "rising")
  • time: ("hour", "day", "week", "month", "year", "all")
  • limit: (Integer)
  • after: (String)
  • with_scores: (Boolean)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


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

def domain_posts: (?domain: String, ?sort: "hot" | "new" | "top" | "rising", ?time: "hour" | "day" | "week" | "month" | "year" | "all", ?limit: Integer, ?after: String, ?with_scores: bool, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#postObject

Parameters:

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

Returns:

  • (Object)


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

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

#searchObject

Parameters:

  • q: (String)
  • subreddit: (String)
  • sort: ("relevance", "hot", "new", "top", "comments")
  • time: ("hour", "day", "week", "month", "year", "all")
  • limit: (Integer)
  • after: (String)
  • with_scores: (Boolean)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


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

def search: (?q: String, ?subreddit: String, ?sort: "relevance" | "hot" | "new" | "top" | "comments", ?time: "hour" | "day" | "week" | "month" | "year" | "all", ?limit: Integer, ?after: String, ?with_scores: bool, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#subreddit_aboutObject

Parameters:

  • subreddit: (String)
  • limit: (Integer)
  • with_scores: (Boolean)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


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

def subreddit_about: (?subreddit: String, ?limit: Integer, ?with_scores: bool, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#subreddit_commentsObject

Parameters:

  • subreddit: (String)
  • limit: (Integer)
  • after: (String)
  • with_scores: (Boolean)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


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

def subreddit_comments: (?subreddit: String, ?limit: Integer, ?after: String, ?with_scores: bool, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#subreddit_postsObject

Parameters:

  • subreddit: (String)
  • sort: ("hot", "new", "top", "rising")
  • time: ("hour", "day", "week", "month", "year", "all")
  • limit: (Integer)
  • after: (String)
  • with_scores: (Boolean)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


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

def subreddit_posts: (?subreddit: String, ?sort: "hot" | "new" | "top" | "rising", ?time: "hour" | "day" | "week" | "month" | "year" | "all", ?limit: Integer, ?after: String, ?with_scores: bool, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#subreddits_postsObject

Parameters:

  • subreddits: (String)
  • sort: ("hot", "new", "top", "rising")
  • time: ("hour", "day", "week", "month", "year", "all")
  • limit: (Integer)
  • after: (String)
  • with_scores: (Boolean)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


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

def subreddits_posts: (?subreddits: String, ?sort: "hot" | "new" | "top" | "rising", ?time: "hour" | "day" | "week" | "month" | "year" | "all", ?limit: Integer, ?after: String, ?with_scores: bool, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

Parameters:

  • sort: ("hot", "new", "rising", "top")
  • time: ("hour", "day", "week", "month", "year", "all")
  • limit: (Integer)
  • after: (String)
  • with_scores: (Boolean)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


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

def trends: (?sort: "hot" | "new" | "rising" | "top", ?time: "hour" | "day" | "week" | "month" | "year" | "all", ?limit: Integer, ?after: String, ?with_scores: bool, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#user_commentsObject

Parameters:

  • username: (String)
  • limit: (Integer)
  • after: (String)
  • with_scores: (Boolean)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


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

def user_comments: (?username: String, ?limit: Integer, ?after: String, ?with_scores: bool, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#user_postsObject

Parameters:

  • username: (String)
  • limit: (Integer)
  • after: (String)
  • with_scores: (Boolean)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


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

def user_posts: (?username: String, ?limit: Integer, ?after: String, ?with_scores: bool, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped