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


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

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

Returns:

  • (Object)


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

def comments: (?id: String, ?sort: "confidence" | "top" | "new" | "controversial" | "old" | "qa", ?limit: Integer, ?depth: Integer, ?_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)


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

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

Returns:

  • (Object)


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

def post: (?id: String, ?_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)


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

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)


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

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)


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

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)


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

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)


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

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)


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

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)


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

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)


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

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