AirVisual

FREEMIUM
Verified
(Ким) Api Dojo | Оновлено il y a un mois | Health and Fitness
Популярність

9.3 / 10

Затримки

3,821ms

Рівень обслуговування

99%

Health Check

N/A

Повернутися до всіх обговорень

Location specificity

Rapid account: Tordevries
tordevries
il y a un an

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 il y a 10 mois

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 il y a 10 mois

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

Rapid account: Tordevries
tordevries Commented il y a un an

OK, thank you for that clarification!

Rapid account: Apidojo
apidojo Commented il y a un an

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.

Приєднуйтесь до обговорення — додайте повідомлення нижче:

Вхід / Реєстрація, щоб публікувати нові повідомлення