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


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

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)


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

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)


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

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)


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

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)


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

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)


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

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)


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

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)


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

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)


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

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)


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

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)


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

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)


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

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