serpapi / public-roadmap

Public Roadmap for SerpApi, LLC (https://serpapi.com)
57 stars 6 forks source link

[New API] Add support for g2.com: product info and reviews #357

Open jgable opened 2 years ago

jgable commented 2 years ago

We are interested in support for getting g2.com product results and reviews.

Search is available from the home page or g2.com/search

Screen Shot 2022-10-04 at 9 21 05 AM

Product details (https://www.g2.com/products/notion/reviews#details)

www g2 com_products_notion_reviews_page=2

Product reviews (https://www.g2.com/products/notion/reviews#reviews)

Screen Shot 2022-10-04 at 9 25 44 AM
dimitryzub commented 2 years ago

@jgable Thank you for adding a new API request ๐Ÿ‘

  1. Do you want to have support for reviews only, OR product info AND reviews? In the issue title you mentioned only "reviews" while issue body contains both product info and reviews.
  2. Could you tell me if the following JSON output would satisfy your needs?

Note that below is just an example to understand your request better๐Ÿ™‚

Product info (what data are the most you were looking for?):

{
  "title": "Notion",
  "thumbnail": "URL",
  "rating": 4.5,
  "reviews": 948,
  "discussions": 12,
  "discussions_link": "URL",
  "claimed": true,
  "description": "description",
  "features": "features",
  "website": "URL",
  "languages_supported": [
    "english",
    "spanish",
    "japanese"
  ],
  "seller_details": [
    {
      "detail_1": "1",
      "detail_2": "2",
      "detail_3": "3"
    }
  ],
  "overview_by": "user",
  "pricing": {},
  "videos": {},
  "screenshots": {},
  "top_industries_represented": {},
  "users_rating_overview": {},
  "app_comparisons": {},
  "top_alternatives": {}
}

users_rating_overview:

image

Reviews (what data are the most you were looking for?):

{
  "name": {},
  "job_title": {},
  "business_size": {},
  "thumbnail": {},
  "badges": {},
  "rating": {},
  "date": {},
  "review": [
    {
      "short_quote": {},
      "comment": [
        {
          "question": {},
          "answer": {}
        }
      ]
    }
  ]
}

Thank you๐Ÿฑโ€๐Ÿ

jgable commented 2 years ago

HI @dimitryzub ๐Ÿ‘‹

We are interested in both product information and the individual reviews. We don't mind if they are available via different API endpoints.

The product info response looks good as a start. One thing we would add is the categories for the product:

Screen Shot 2022-10-11 at 10 37 47 AM

The review response also looks good. We're particularly interested in the raw text for the question/answer part.