Yelp / yelp-api

Examples of code using our v2 API
http://yelp.com/developers
MIT License
580 stars 1.09k forks source link

No total number in JSON result #186

Closed francesco1119 closed 7 years ago

francesco1119 commented 7 years ago

On this page on your documentation I can see a JSON query can return the total of the business in the very first line.

total

Why I don't have the same with Postman? I use exactly the same query as in your example

mittonk commented 7 years ago

@francesco1119 : Postman (like most JSON tools) doesn't always list the parts of the response in the same order. Sometimes it lists total at the end:

      "phone": "+14153764747",
      "display_phone": "(415) 376-4747"
    }
  ],
  "total": 9
}

Could you look at the end of the output, and see if total is there?

mittonk commented 7 years ago

Also: this is a Fusion API (V3 API) question, so https://github.com/Yelp/yelp-fusion will be more helpful than https://github.com/Yelp/yelp-api (the old V2 API group).