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


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

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)
  • include_metrics: (Boolean)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


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

def comments: (?id: String, ?sort: "confidence" | "top" | "new" | "controversial" | "old" | "qa", ?limit: Integer, ?depth: Integer, ?include_metrics: 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)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


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

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

#postObject

Parameters:

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

Returns:

  • (Object)


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

def post: (?id: String, ?include_metrics: 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)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


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

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

#subreddit_aboutObject

Parameters:

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

Returns:

  • (Object)


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

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

#subreddit_commentsObject

Parameters:

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

Returns:

  • (Object)


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

def subreddit_comments: (?subreddit: String, ?limit: Integer, ?after: String, ?_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)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


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

def subreddit_posts: (?subreddit: String, ?sort: "hot" | "new" | "top" | "rising", ?time: "hour" | "day" | "week" | "month" | "year" | "all", ?limit: Integer, ?after: String, ?_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)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


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

def subreddits_posts: (?subreddits: String, ?sort: "hot" | "new" | "top" | "rising", ?time: "hour" | "day" | "week" | "month" | "year" | "all", ?limit: Integer, ?after: String, ?_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)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


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

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

#user_commentsObject

Parameters:

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

Returns:

  • (Object)


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

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

#user_postsObject

Parameters:

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

Returns:

  • (Object)


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

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