AirVisual

FREEMIUM
Verified
Door Api Dojo | Bijgewerkt एक महीने पहले | Health and Fitness
Populariteit

9.3 / 10

Latency

3,749ms

Serviceniveau

100%

Health Check

N/A

Terug naar alle discussies

Location specificity

Rapid account: Tordevries
tordevries
एक वर्ष पहले

Hello. Thank you for this API. I am playing around with it and trying to figure out the location specificity for the location value “q”.

For example: suppose I wanted results for Portland, OR (Oregon). I can submit “Portland” to the API and get 10 results for several cities named Portland, including the one in Oregon. But, I can’t figure out how to submit the specific value for just Portland, OR. For example, if I try anything like these…

Portland, OR
Portland, Oregon
Portland OR
Portland Oregon
Oregon Portland
etc.

…I get a successful response from the API, but it includes zero cities.

Can you clarify the formatting for the location value in order to more directly target specific locations?

Thank you.

Rapid account: Apidojo
apidojo Commented 10 महीने पहले

Then, you should have a look at https://docs.rapidapi.com/docs/basics-creating-a-project to get started.

Rapid account: Rishabh 391
Rishabh391 Commented 10 महीने पहले

i tried to extract data from this api but t get 401 error how may i resolve it

Rapid account: Tordevries
tordevries Commented एक वर्ष पहले

OK, thank you for that clarification!

Rapid account: Apidojo
apidojo Commented एक वर्ष पहले

Hello,

This API reproduces PUBLIC data and features of airvisual.com. The endpoint is mapped to the search bar on top of the site, the hint is “Your country, city, or location” https://prnt.sc/BQ5J7UAFKlKd We do not design the system of AirVisual to answer your specific question at work, you may try what term or phrase that you are familar with. The result should be as same as each other https://prnt.sc/l_ltae_Ux-Ik

Regards.

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen