AirVisual

FREEMIUM
Verified
Durch Api Dojo | Aktualisiert לפני חודש | Health and Fitness
Popularität

9.3 / 10

Latenz

3,729ms

Service Level

100%

Health Check

N/A

Zurück zu allen Diskussionen

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.

Nehmen Sie an der Diskussion teil - fügen Sie unten einen Kommentar hinzu:

Anmelden / Registrieren, um neue Kommentare zu veröffentlichen