cURL
curl --request POST \
--url https://py-api.hobbo.ai/features/url-to-review \
--header 'Content-Type: application/json' \
--data '
{
"query": "https://www.feedspace.io/"
}
'import requests
url = "https://py-api.hobbo.ai/features/url-to-review"
payload = { "query": "https://www.feedspace.io/" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({query: 'https://www.feedspace.io/'})
};
fetch('https://py-api.hobbo.ai/features/url-to-review', 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://py-api.hobbo.ai/features/url-to-review",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'query' => 'https://www.feedspace.io/'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://py-api.hobbo.ai/features/url-to-review"
payload := strings.NewReader("{\n \"query\": \"https://www.feedspace.io/\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://py-api.hobbo.ai/features/url-to-review")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"https://www.feedspace.io/\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://py-api.hobbo.ai/features/url-to-review")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"query\": \"https://www.feedspace.io/\"\n}"
response = http.request(request)
puts response.read_body{
"review_text": "<string>",
"review_title": "<string>",
"author_company": "<string>",
"author_name": "<string>",
"author_details": "<string>",
"author_position": "<string>",
"author_profile_image_url": "<string>",
"review_date": "<string>",
"review_rating": 123,
"review_url": "<string>",
"review_media": [
"<unknown>"
]
}{
"error": "<string>"
}Generative AI API
Url to Review
Extract reviews from a domain website.
POST
/
features
/
url-to-review
cURL
curl --request POST \
--url https://py-api.hobbo.ai/features/url-to-review \
--header 'Content-Type: application/json' \
--data '
{
"query": "https://www.feedspace.io/"
}
'import requests
url = "https://py-api.hobbo.ai/features/url-to-review"
payload = { "query": "https://www.feedspace.io/" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({query: 'https://www.feedspace.io/'})
};
fetch('https://py-api.hobbo.ai/features/url-to-review', 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://py-api.hobbo.ai/features/url-to-review",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'query' => 'https://www.feedspace.io/'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://py-api.hobbo.ai/features/url-to-review"
payload := strings.NewReader("{\n \"query\": \"https://www.feedspace.io/\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://py-api.hobbo.ai/features/url-to-review")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"https://www.feedspace.io/\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://py-api.hobbo.ai/features/url-to-review")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"query\": \"https://www.feedspace.io/\"\n}"
response = http.request(request)
puts response.read_body{
"review_text": "<string>",
"review_title": "<string>",
"author_company": "<string>",
"author_name": "<string>",
"author_details": "<string>",
"author_position": "<string>",
"author_profile_image_url": "<string>",
"review_date": "<string>",
"review_rating": 123,
"review_url": "<string>",
"review_media": [
"<unknown>"
]
}{
"error": "<string>"
}Body
application/json
Domain review extraction parameters
URL of the domain to extract information from
Response
Review extracted successfully
Text of the review
Title of the review
Company of the review author
Name of the review author
Details about the review author
Position or title of the review author
URL to the author's profile image
Date when the review was posted
Rating given in the review
URL to the original review
URL and type of the media
⌘I