Skip to content

EricM5/IntelliPrice.Api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IntelliPrice.Api

The first completely free Google Shopping API for 26.8 million worldwide developers.

BaseURL: https://intelli-price.herokuapp.com/

Get All Products

Returns 60+ products from Google Shopping for given search term, specified in parameter. Returns list of products in ascending order by total price with shipping cost factored in.

  • URL

    /getall/{searchterm}

  • Method:

    GET

  • URL Params

    Required:

    searchterm=[string]

  • Data Params

    None

  • Success Response:

    • Code: 200
      Content:
      [
        {
          "Title": "string",
          "Price": "string",
          "Shipping": "string",
          "TotalPrice": "string",
          "Seller": "string",
          "url": "https://producturlfoundhere.com"
        },
        {
          "Title": "string",
          "Price": "string",
          "Shipping": "string",
          "TotalPrice": "string",
          "Seller": "string",
          "url": "https://producturlfoundhere.com"
        },
      ]
  • Error Response:

    • Code: 404 NOT FOUND
      Content:
      []
      
  • Sample Call:

      import requests
    
      querysearchterm = "San+Jose+Sharks+Jersey"
      response = requests.get("https://intelli-price.herokuapp.com/getall/" + querysearchterm)
    
      print(response)
    
      listofproducts = response.json()
    
      lowestpricedproduct = listofproducts[0]
      highestpricedproduct = listofproducts[-1]

Get Lowest Priced Product(s)

Returns Lowest priced products. If {num} param is not specified, then request will only return the lowest priced product. If specified, then it will return {num} of the lowest products, in the form of a list.

  • URL

    /getlowest/{searchterm}/{num}

  • Method:

    GET

  • URL Params

    Required:

    searchterm=[string]

    Optional:

    num=[int]

  • Data Params

    None

  • Success Response:

    • Code: 200
      Content:
        {
          "Title": "string",
          "Price": "string",
          "Shipping": "string",
          "TotalPrice": "string",
          "Seller": "string",
          "url": "https://producturlfoundhere.com"
        }
  • Error Response:

    • Code: 404 NOT FOUND
      Content:
      []
      
  • Sample Call:

      import requests
    
      querysearchterm = "office+chair"
      number = 5
      response = requests.get("https://intelli-price.herokuapp.com/getlowest/" + querysearchterm + "/" + str(number))
    
      print(response)
    
      listofproducts = response.json()

Get Highest Priced Product(s)

Returns highest priced products. If {num} param is not specified, then request will only return the highest priced product. If specified, then it will return {num} of the highest products, in the form of a list.

  • URL

    /gethighest/{searchterm}/{num}

  • Method:

    GET

  • URL Params

    Required:

    searchterm=[string]

    Optional:

    num=[int]

  • Data Params

    None

  • Success Response:

    • Code: 200
      Content:
        {
          "Title": "string",
          "Price": "string",
          "Shipping": "string",
          "TotalPrice": "string",
          "Seller": "string",
          "url": "https://producturlfoundhere.com"
        }
  • Error Response:

    • Code: 404 NOT FOUND
      Content:
      []
      
  • Sample Call:

      import requests
    
      querysearchterm = "cool+tshirts"
      number = 5
      response = requests.get("https://intelli-price.herokuapp.com/getlowest/" + querysearchterm + "/" + str(number))
    
      print(response)
    
      listofproducts = response.json()

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published