Busca nos artigos publicados
curl --request GET \
--url https://api.useweve.com/v1/help/searchimport requests
url = "https://api.useweve.com/v1/help/search"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.useweve.com/v1/help/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.useweve.com/v1/help/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.useweve.com/v1/help/search"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.useweve.com/v1/help/search")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.useweve.com/v1/help/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": [
{
"slug": "<string>",
"title": "<string>",
"snippet": "<string>",
"collection": {
"slug": "<string>",
"name": "<string>"
}
}
]
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}Central de ajuda
Buscar na central de ajuda
Busca por palavra nos artigos publicados, sem acento e pelo começo da palavra.
GET
/
v1
/
help
/
search
Busca nos artigos publicados
curl --request GET \
--url https://api.useweve.com/v1/help/searchimport requests
url = "https://api.useweve.com/v1/help/search"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.useweve.com/v1/help/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.useweve.com/v1/help/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.useweve.com/v1/help/search"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.useweve.com/v1/help/search")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.useweve.com/v1/help/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": [
{
"slug": "<string>",
"title": "<string>",
"snippet": "<string>",
"collection": {
"slug": "<string>",
"name": "<string>"
}
}
]
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}A última palavra vale como prefixo —
reemb já acha “reembolso” —, e a busca ignora acento e
plural. O trecho marca o que casou entre « e ».Query Parameters
O idioma da central. Sem ele, português. Os idiomas da central. Lista fechada: idioma novo precisa dos textos da interface na página pública antes do primeiro artigo.
Available options:
pt-BR, en, es Required string length:
1 - 200Response
Os artigos encontrados (a lista pode vir vazia)
Show child attributes
Show child attributes