Get data from any page you want to get data from.
Need to talk to someone? Contact us—we’d love to help.
Get data from any page you want to get data from.
Need to talk to someone? Contact us—we’d love to help.
We are still busy preparing this batch of data. Please come back in a few minutes.
Seems like this data source was never ran before...
Changes are only available only when you have ran at least a second time.
Nope... guess no Martians around... Maybe set the webhook URL before pressing this button again...
country | coverage | comments | origin_pattern | origin_url | createdAt | updatedAt | pingedAt |
---|---|---|---|---|---|---|---|
2. Bhutan | 1 city | Data was available (see the National Environment Commission) | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
1. Bangladesh | 1 city | Data available for Dhaka. Check country/ bangladesh/ | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
4. Cambodia | None | On-going, please check country/ cambodia/ | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
3. Brunei Darussalam | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
5. China | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
7. Indonesia | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
8. Japan | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
6. Hong Kong | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
9. Korea, Republic of | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
10. Kyrgyzstan | None | On-going | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
11. Laos | None | See this report from the UNEP | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
14. Mongolia | 1 city | Data is available only for the capital city (Ulaanbaatar) | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
13. Malaysia | Full | Only pre-calculated AQI is provided.No detailed Individual pollutant AQI (IAQI) i... | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
18. Singapore | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
20. Taiwan | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
19. Sri Lanka | None | No data is available despite information that monitoring is done in Colombo (see... | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
25. Georgia | 1 city | Data is being monitored by the NEA for Tbilisi | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
34. Pakistan | None | Investigations on-going with several universities and institutions | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
42. Brazil | 1 city | Data is available only for one city (Sao Palo) | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
50. Puerto Rico | 2 cities | 2 stations available (San Juan and Ponce) | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
56. Andorra | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
65. Estonia | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
73. Ireland | Full | The AQI is published, but data is only available intermittently | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
81. Netherlands | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
87. Slovakia | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
92. Ukraine | 1 City | On-going. Now validating the data for Kiev is available on a daily basis from the... | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
100. Liberia | None | No known data available. Read more | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
16. Nepal | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
23. Bahrain | 1 city | Data is available for Manama | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
32. Lebanon | 1 city | Data available for Beirut, but not published | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
40. Argentina | 1 city | Monitoring available for Buenos Aires - but not published | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
49. Peru | 1 city | Data is available for Lima | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
57. Austria | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
64. Denmark | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
71. Hungary | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
77. Luxembourg | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
83. Poland | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
89. Spain | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
102. Senegal | 1 city | Data available for Dakar, but not published | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
12. Macao | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
26. India | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
33. Oman | 1 city | Data was available for Sohar - but not anymore since Q3 2016 | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
41. Bolivia | Data is available only for one city | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
48. Panama | Data is monitored, but not available | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
54. United States | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
63. Czech Republic | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
72. Iceland | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
78. Macedonia | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
85. Romania | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
96. New Zealand | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
104. Tanzania | None | No known data available. Read more | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
17. Philippines | 1 city | Data for Metro Manilla is available | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
27. Iran, Islamic Republic of | Full | Full coverage since 2018 | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
35. Qatar | 1 city | Data for Doha is available, but not published | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
46. Guatemala | Full | Only Guatemala city is having PM reading | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
55. Albania | None | No clear information about real-time data available from selea.al or moe.gov.al | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
61. Croatia | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
69. Gibraltar | Full | The AQI is published, but data is only available intermittently | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
80. Montenegro | None | No real-time data from the CETI despite evendencies of Investments | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
84. Portugal | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
91. Switzerland | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
101. Morocco | None | Data is monitored but not published. Investigation on-going | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
105. Tunisia | None | No known data available. Read more | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
22. Viet Nam | 6 cities | Hanoi, HCMC, Da Nang, Nha Trang, Ha Long and Viet Tri | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
28. Israel | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
39. United Arab Emirates | 2 cities | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
44. Colombia | 1 city | Data is available only for the capital city (Bogota) | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
53. Canada | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
60. Bulgaria | Full | Full coverage since 2018 | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
67. France | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
74. Italy | Full | Most of the data is available on a daily basic, except from few stations with hou... | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
82. Norway | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
93. United Kingdom | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
98. Ghana | None | No known data available. Read more | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
21. Thailand | Full | Not all stations provide hourly data - some only have daily data | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
30. Kazakhstan | 1 city | Data is available for Astana | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
36. Russian Federation | 1 city | Data is available only for the capital city (Moscow) | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
47. Mexico | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
58. Belgium | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
66. Finland | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
76. Lithuania | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
88. Slovenia | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
97. Algeria | None | No known data available. Read more | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
15. Myanmar | None | No known data available | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
29. Jordan | 3 cities | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
37. Saudi Arabia | Full | Data is being monitored, but not published - as the data is not provided on a hou... | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
43. Chile | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
51. Salvador | 1 city | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
62. Cyprus | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
70. Greece | 1 City | Data available for Northen Greece from airlabs. For Athens, only daily data is av... | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
75. Kosovo | 1 City | Pristina monitoring operated by the US embassy | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
90. Sweden | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
94. Australia | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
103. South Africa | Full | Full coverage since 2018 | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
24. Egypt | None | No known data available. Read more | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
31. Kuwait | 1 city | Data is available for Kuwait City | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
38. Turkey | Full | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | |
45. Ecuador | 1 city | On-going, data is available for Capital city (Quito) | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
52. Venezuela | None | No known data available | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
59. Bosnia and Herzegovina | None | No known functionnal and real-time PM reporting (from fhmzbih.gov.ba) | http://aqicn.org/sources/ | http://aqicn.org/sources/ | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC | 2019-02-01 09:10:04 UTC |
Sample code snippets to quickly import data set into your application
For more information on how to automatically trigger an import please reference our WebHook API guide
Integrating with Java
import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.URL; import java.net.URLConnection; import java.util.Arrays; public class HelloWorld { public static void main(String[] args) { try { URL urlCSV = new URL( "https://cache.getdata.io/n23871_cd5d1bbab238818d86d96bcfb991b060eses/latest_all.csv" ); URLConnection urlConn = urlCSV.openConnection(); InputStreamReader inputCSV = new InputStreamReader( ((URLConnection) urlConn).getInputStream() ); BufferedReader br = new BufferedReader(inputCSV); String line; String[] fields; while ((line = br.readLine()) != null) { // Each row fields = line.split(","); System.out.println(Arrays.toString(fields)); } // clean up buffered reader br.close(); } catch (Exception e) { System.out.println(e.getMessage()); } } }
Integrating with NodeJs
const csv = require('csv-parser'); const https = require('https'); const fs = require('fs'); const file = fs.createWriteStream("temp_download.csv"); const request = https.get( "https://cache.getdata.io/n23871_cd5d1bbab238818d86d96bcfb991b060eses/latest_all.csv", function(response) { response.pipe(file); } ); file.on('finish', function() { file.close(); fs.createReadStream('temp_download.csv').pipe(csv()).on('data', (row) => { // Each row console.log(row); }).on('end', () => { console.log('CSV file successfully processed'); }); });
Integrating with PHP
$data = file_get_contents("https://cache.getdata.io/n23871_cd5d1bbab238818d86d96bcfb991b060eses/latest_all.csv"); $rows = explode("\n",$data); $s = array(); foreach($rows as $row) { # Each row var_dump( $row); }
Integrating with Python
import csv import urllib2 url = 'https://cache.getdata.io/n23871_cd5d1bbab238818d86d96bcfb991b060eses/latest_all.csv' response = urllib2.urlopen(url) cr = csv.reader(response) for row in cr: # Each row print row
Integrating with Ruby
require 'open-uri' require 'tempfile' require 'csv' temp_file = Tempfile.new( "getdata", :encoding => 'ascii-8bit') temp_file << open("https://cache.getdata.io/n23871_cd5d1bbab238818d86d96bcfb991b060eses/latest_all.csv").read temp_file.rewind CSV.foreach( open(uri), :headers => :first_row ).each do |row| # Each row puts row end
...
created on 2021-08-08
created on 2021-05-04