Class: Crawlora::MetaculusGroup

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

Instance Method Summary collapse

Constructor Details

#initializeMetaculusGroup

Returns a new instance of MetaculusGroup.

Parameters:

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


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

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

Instance Method Details

#category_questionsObject

Parameters:

  • slug: ("artificial-intelligence", "computing-and-math", "cryptocurrencies", "economy-business", "elections", "environment-climate", "geopolitics", "health-pandemics", "law", "metaculus", "natural-sciences", "nuclear", "politics", "social-sciences", "space", "sports-entertainment", "technology")
  • limit: (Integer)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


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

def category_questions: (?slug: "artificial-intelligence" | "computing-and-math" | "cryptocurrencies" | "economy-business" | "elections" | "environment-climate" | "geopolitics" | "health-pandemics" | "law" | "metaculus" | "natural-sciences" | "nuclear" | "politics" | "social-sciences" | "space" | "sports-entertainment" | "technology", ?limit: Integer, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#comments_feedObject

Parameters:

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

Returns:

  • (Object)


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

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

#project_questionsObject

Parameters:

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

Returns:

  • (Object)


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

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

#questionObject

Parameters:

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

Returns:

  • (Object)


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

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

#question_forecast_historyObject

Parameters:

  • id: (String)
  • method: ("recency_weighted", "unweighted", "single_aggregation")
  • max_points: (Integer)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


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

def question_forecast_history: (?id: String, ?method: "recency_weighted" | "unweighted" | "single_aggregation", ?max_points: Integer, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#question_forecastsObject

Parameters:

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

Returns:

  • (Object)


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

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

#question_metadataObject

Parameters:

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

Returns:

  • (Object)


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

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

#question_optionsObject

Parameters:

  • id: (String)
  • method: ("recency_weighted", "unweighted", "single_aggregation")
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


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

def question_options: (?id: String, ?method: "recency_weighted" | "unweighted" | "single_aggregation", ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#questionsObject

Parameters:

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

Returns:

  • (Object)


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

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

#top_commentsObject

Parameters:

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

Returns:

  • (Object)


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

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

#tournament_questionsObject

Parameters:

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

Returns:

  • (Object)


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

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