glstring
Two-letter country code, lowercase. Default 'us'.
https://api.sandbase.ai/v1/api/google-maps/reviewsGet Google Maps reviews for one place with sorting, filtering, and paging.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Get Google Maps reviews for one place with sorting, filtering, and paging.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/google-maps/reviews" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
glstringTwo-letter country code, lowercase. Default 'us'.
hlstringLanguage for review labels and place context. Default 'en'.
numintegerNumber of reviews: 1-100 on an unfiltered first request, 1-20 on filtered or continuation requests. Default 8.
querystringOnly reviews matching this free-text query. Cannot be combined with topic_id.
data_idstringHexadecimal Maps feature ID in the form '0x123:0x456'. Required unless place_id is supplied.
sort_bystringReview order. Default 'qualityScore'.
संभावित मान: qualityScore, newestFirst, ratingHigh, ratingLow
place_idstringGoogle place ID of the business. Required unless data_id is supplied.
topic_idstringOnly reviews under this topic from the topics group. Cannot be combined with query.
next_page_tokenstringContinuation token from pagination.next_page_token, passed back unchanged.
source_metadatabooleanInclude review-provider icon and scale metadata when available.
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Google Maps Reviewsयह API Google Maps | $0.00015 प्रति कॉल | असिंक्रोनस JSON |
Google Maps | $0.01 प्रति कॉल | JSON |
Google Maps | $0.00015 प्रति कॉल | असिंक्रोनस JSON |
Google Maps | $0.01 प्रति कॉल | JSON |
Google Maps | $0.00015 प्रति कॉल | JSON |
Google Maps | $0.01 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/google-maps/reviews पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.00015 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
कोई parameters आवश्यक नहीं हैं। वैकल्पिक: gl (string), hl (string), num (integer), query (string), data_id (string) और sort_by (qualityScore, newestFirst, ratingHigh, ratingLow में से एक) और 4 और। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON result। यह endpoint asynchronously चलता है, इसलिए response आपको बताता है कि तैयार result कैसे प्राप्त करना है।
नहीं। Google Maps Reviews SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Google Maps API access के लिए आवेदन करने की आवश्यकता नहीं है।