AirVisual

ÜCRETSİZ PREMIUM
Verified
Taraf Api Dojo | Güncelleyen 1ヶ月前 | Health and Fitness
Popülerlik

9.3 / 10

Gecikme

3,749ms

Hizmet Düzeyi

100%

Health Check

N/A

Tüm Tartışmalara Dön

Location specificity

Rapid account: Tordevries
tordevries
1年前

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 1年前

OK, thank you for that clarification!

Rapid account: Apidojo
apidojo Commented 1年前

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.

Aşağıya yorum ekleyerek tartışmaya katılın:

Yeni yorumlar göndermek için giriş yapın / kaydolun