Most known as an American chain of pet stores, PetSmart is a globally recognized brand dealing with the retail sale of pet products, services, and small pets. It has over 56000 employees and annual revenue over 7 billion dollars. Even though its headquarters are in Phoenix, Arizona, it has around 1600 locations in the U.S, Canada, and Puerto Rico.

Submitting the API request

This is sample CURL request you can use to test JustLikeAPI features.

Please make sure to replace:
- YOUR_API_KEY with the one you received from our support team
- PAGE_SPECIFIC_URL - with the endpoint of the method you're trying to invoke
- JSON payload - with the contents of your request (the sample payload for each request is given below)

curl -X POST https://api.justlikeapi.io/reviews/get -H 'authorization: Bearer YOUR_API_KEY' -H 'cache-control: no-cache' -H 'content-type: application/json' -d '{ "propertyUrl": "https://www.petsmart.com/dog/food/canned-food/purina-pro-plan-focus-small-breed-wet-dog-food-12-count-variety-pack-grain-free-53513.html"}'

Read operations

Get method will pull in reviews for platform of your choice. Reviews will be ordered by date and can include information from the code example bellow:

Request

{
"propertyUrl":""https://www.petsmart.com/dog/food/canned-food/purina-pro-plan-focus-small-breed-wet-dog-food-12-count-variety-pack-grain-free-53513.html",
"dateFrom": "2018-03-10", *
"reviewLimit" : "1" **
}

* "dateFrom" is optional

** "reviewLimit" is optional

Base URL : https://justlikeapi.io/reviews/get

Parameter content type: application/json

Response

{
"propertyName": "Purina Pro Plan Focus Small Breed Wet Dog Food 12 Count Variety Pack, Grain Free",
"location": "",
"ratingValue": "4.7",
"ratingCount": "54",
"reviews": [
{
"reviewId": "193359703",
"customer": {
"username": "Centennial grandma",
"location": "",
"level": "",
"authorUrl": "",
"verified": "",
"helpfulVotes": ""
},
"title": "Great addition",
"reviewUrl": "",
"rating": "5",
"text": "I use thIs to supplement my dog’s dry food. With a bit of the pate, she gobbled down her food. Much easier than using canned food.",
"reviewedOn": "2020-01-29",
"photos": [],
"repliedTo": false,
"externalSource": "",
"replies": [],
"followUpReviews": [],
"comments": [],
"selfReview": null,
"commentsCount": null,
"reviewerPhoto": null,
"language": ""
}

Petsmart_ReviewFull