AI Customer Review Generator API

API Endpoint Specifications

  • Endpoint Path: /api/3/customer-review-generator
  • Type of Data: JSON & 2/minute
  • Data Source: BUYFROMLO
  • Request Limit: 100,000 tokens/month (Approximate 73,000 English words)
  • Script & Integration: Code to integrate with cURL, JS, Python, Ruby, Php, Node.js, Java, .NET, Rust, Go, Typescript
AI Customer Review Generator API Endpoint Basic Info

API Endpoint Path

required

AI Customer Review Generator

api/3/customer-review-generator


Call Method

Required

POST

Type of Data Return

JSON

Output structured JSON data on AI customer review


Available API Arguments & Parameters

token

required

BUYFROMLO API token. Paid subscription API is available: /api/3/customer-review-generator, and accessible to on-site APP on /app/3/customer-review-generator as well

object_name

required

Enter a product name or company name

role

required

Input a role who leave the customer review, such as a housewife who bought a coffee kettle and so on

type

required

2 types of review writing: rewrite, create

quantity

required

Enter total number of customer reviews. Default value is 1, and max. value is 10

language

required

Submit the context content to increase the writing accuracy and content quality

context_materials

required

FALSE


apikey

Optional

For free trial users, please submit OpenAI api key necessarily

rewrite_materials

Optional

Upload a raw existing customer review content to rewrite based on your requirements

llmversion

Optional

Current avalable model are OpenAI GPT, Palm, Gemini, Llama & Claude


AI Customer Review Generator

api/3/customer-review-generator


Code Integration and Response

Python Code Sample


import requests

apiendpoint = "https://api.buyfromlo.com/api/3/customer-review-generator"

## Required Arguments & Parameters ##

token = "your buyfromlo token"
object_name = ""
role = ""
type = ""
quantity = ""

## Optional ##
apikey = ""
context_materials = ""
llmversion = ""

headers={"Authorization": "Bearer " + token}

## Call the api ##
response = requests.post(
    apiendpoint, 
    json={
            "object_name":object_name,
            "role":role,
            "type":type,
            "quantity": quantity,
            "apikey": apikey,
            "context_materials": context_materials,
            "llmversion": llmversion
        }, headers=headers
    )
print(response.status_code)
print(response.json())
                        

JSON Response Sample


{
    "content response",
    "token used"
}