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


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

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)


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

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)


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

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)


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

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)


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

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)


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

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)


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

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)


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

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)


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

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)


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

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)


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

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)


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

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