Class: Crawlora::BraveGroup

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

Instance Method Summary collapse

Constructor Details

#initializeBraveGroup

Returns a new instance of BraveGroup.

Parameters:

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


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

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

Instance Method Details

#imagesObject

Parameters:

  • q: (String)
  • offset: (Integer)
  • count: (Integer)
  • country: ("all", "ar", "at", "au", "be", "br", "ca", "ch", "cl", "cn", "de", "dk", "es", "fi", "fr", "gb", "gr", "hk", "id", "in", "it", "jp", "kr", "mx", "my", "nl", "no", "nz", "ph", "pl", "pt", "ru", "sa", "se", "sg", "tr", "tw", "us", "za")
  • lang: ("de-de", "en-ca", "en-gb", "en-in", "en-us", "fi-fi", "fr-ca", "fr-fr", "ja-jp", "pt-br", "sq-al", "sw-ke", "zh-tw")
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


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

def images: (?q: String, ?offset: Integer, ?count: Integer, ?country: "all" | "ar" | "at" | "au" | "be" | "br" | "ca" | "ch" | "cl" | "cn" | "de" | "dk" | "es" | "fi" | "fr" | "gb" | "gr" | "hk" | "id" | "in" | "it" | "jp" | "kr" | "mx" | "my" | "nl" | "no" | "nz" | "ph" | "pl" | "pt" | "ru" | "sa" | "se" | "sg" | "tr" | "tw" | "us" | "za", ?lang: "de-de" | "en-ca" | "en-gb" | "en-in" | "en-us" | "fi-fi" | "fr-ca" | "fr-fr" | "ja-jp" | "pt-br" | "sq-al" | "sw-ke" | "zh-tw", ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#newsObject

Parameters:

  • q: (String)
  • offset: (Integer)
  • count: (Integer)
  • country: ("all", "ar", "at", "au", "be", "br", "ca", "ch", "cl", "cn", "de", "dk", "es", "fi", "fr", "gb", "gr", "hk", "id", "in", "it", "jp", "kr", "mx", "my", "nl", "no", "nz", "ph", "pl", "pt", "ru", "sa", "se", "sg", "tr", "tw", "us", "za")
  • lang: ("de-de", "en-ca", "en-gb", "en-in", "en-us", "fi-fi", "fr-ca", "fr-fr", "ja-jp", "pt-br", "sq-al", "sw-ke", "zh-tw")
  • time_range: ("any", "day", "week", "month", "year", "custom")
  • date_from: (String)
  • date_to: (String)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


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

def news: (?q: String, ?offset: Integer, ?count: Integer, ?country: "all" | "ar" | "at" | "au" | "be" | "br" | "ca" | "ch" | "cl" | "cn" | "de" | "dk" | "es" | "fi" | "fr" | "gb" | "gr" | "hk" | "id" | "in" | "it" | "jp" | "kr" | "mx" | "my" | "nl" | "no" | "nz" | "ph" | "pl" | "pt" | "ru" | "sa" | "se" | "sg" | "tr" | "tw" | "us" | "za", ?lang: "de-de" | "en-ca" | "en-gb" | "en-in" | "en-us" | "fi-fi" | "fr-ca" | "fr-fr" | "ja-jp" | "pt-br" | "sq-al" | "sw-ke" | "zh-tw", ?time_range: "any" | "day" | "week" | "month" | "year" | "custom", ?date_from: String, ?date_to: String, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#searchObject

Parameters:

  • q: (String)
  • offset: (Integer)
  • country: ("all", "ar", "at", "au", "be", "br", "ca", "ch", "cl", "cn", "de", "dk", "es", "fi", "fr", "gb", "gr", "hk", "id", "in", "it", "jp", "kr", "mx", "my", "nl", "no", "nz", "ph", "pl", "pt", "ru", "sa", "se", "sg", "tr", "tw", "us", "za")
  • lang: ("de-de", "en-ca", "en-gb", "en-in", "en-us", "fi-fi", "fr-ca", "fr-fr", "ja-jp", "pt-br", "sq-al", "sw-ke", "zh-tw")
  • time_range: ("any", "day", "week", "month", "year", "custom")
  • date_from: (String)
  • date_to: (String)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


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

def search: (?q: String, ?offset: Integer, ?country: "all" | "ar" | "at" | "au" | "be" | "br" | "ca" | "ch" | "cl" | "cn" | "de" | "dk" | "es" | "fi" | "fr" | "gb" | "gr" | "hk" | "id" | "in" | "it" | "jp" | "kr" | "mx" | "my" | "nl" | "no" | "nz" | "ph" | "pl" | "pt" | "ru" | "sa" | "se" | "sg" | "tr" | "tw" | "us" | "za", ?lang: "de-de" | "en-ca" | "en-gb" | "en-in" | "en-us" | "fi-fi" | "fr-ca" | "fr-fr" | "ja-jp" | "pt-br" | "sq-al" | "sw-ke" | "zh-tw", ?time_range: "any" | "day" | "week" | "month" | "year" | "custom", ?date_from: String, ?date_to: String, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#suggestObject

Parameters:

  • q: (String)
  • count: (Integer)
  • country: ("all", "ar", "at", "au", "be", "br", "ca", "ch", "cl", "cn", "de", "dk", "es", "fi", "fr", "gb", "gr", "hk", "id", "in", "it", "jp", "kr", "mx", "my", "nl", "no", "nz", "ph", "pl", "pt", "ru", "sa", "se", "sg", "tr", "tw", "us", "za")
  • lang: ("de-de", "en-ca", "en-gb", "en-in", "en-us", "fi-fi", "fr-ca", "fr-fr", "ja-jp", "pt-br", "sq-al", "sw-ke", "zh-tw")
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


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

def suggest: (?q: String, ?count: Integer, ?country: "all" | "ar" | "at" | "au" | "be" | "br" | "ca" | "ch" | "cl" | "cn" | "de" | "dk" | "es" | "fi" | "fr" | "gb" | "gr" | "hk" | "id" | "in" | "it" | "jp" | "kr" | "mx" | "my" | "nl" | "no" | "nz" | "ph" | "pl" | "pt" | "ru" | "sa" | "se" | "sg" | "tr" | "tw" | "us" | "za", ?lang: "de-de" | "en-ca" | "en-gb" | "en-in" | "en-us" | "fi-fi" | "fr-ca" | "fr-fr" | "ja-jp" | "pt-br" | "sq-al" | "sw-ke" | "zh-tw", ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped

#videosObject

Parameters:

  • q: (String)
  • offset: (Integer)
  • count: (Integer)
  • country: ("all", "ar", "at", "au", "be", "br", "ca", "ch", "cl", "cn", "de", "dk", "es", "fi", "fr", "gb", "gr", "hk", "id", "in", "it", "jp", "kr", "mx", "my", "nl", "no", "nz", "ph", "pl", "pt", "ru", "sa", "se", "sg", "tr", "tw", "us", "za")
  • lang: ("de-de", "en-ca", "en-gb", "en-in", "en-us", "fi-fi", "fr-ca", "fr-fr", "ja-jp", "pt-br", "sq-al", "sw-ke", "zh-tw")
  • time_range: ("any", "day", "week", "month", "year", "custom")
  • date_from: (String)
  • date_to: (String)
  • _response_type: ("auto", "json", "text", "stream")
  • _timeout: (Float)
  • _headers: (Hash[String, String])
  • (Object)

Returns:

  • (Object)


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

def videos: (?q: String, ?offset: Integer, ?count: Integer, ?country: "all" | "ar" | "at" | "au" | "be" | "br" | "ca" | "ch" | "cl" | "cn" | "de" | "dk" | "es" | "fi" | "fr" | "gb" | "gr" | "hk" | "id" | "in" | "it" | "jp" | "kr" | "mx" | "my" | "nl" | "no" | "nz" | "ph" | "pl" | "pt" | "ru" | "sa" | "se" | "sg" | "tr" | "tw" | "us" | "za", ?lang: "de-de" | "en-ca" | "en-gb" | "en-in" | "en-us" | "fi-fi" | "fr-ca" | "fr-fr" | "ja-jp" | "pt-br" | "sq-al" | "sw-ke" | "zh-tw", ?time_range: "any" | "day" | "week" | "month" | "year" | "custom", ?date_from: String, ?date_to: String, ?_response_type: ("auto" | "json" | "text" | "stream"), ?_timeout: Float, ?_headers: Hash[String, String], **untyped) -> untyped