Read the statement by Michael Teeuw here.
Pollen Count
-
Hi! As a “allergic to Pollen” person I would like to have a display of Pollen levels in my city (Madrid, Spain) on the Magic Mirror.
I’ve been trying to find an API for this in Spain or Madrid but I don’t find any… I’ve seen UK and Germany have some websites that let you retrieved this data but not in Spain :(
The clearest place I’ve found this data is this url: http://www.eltiempo.es/madrid/polen/
So, how can I get this info if I only have an url?? Anyone?
Thx!
-
The closest I have found for an world spanning pollen information is this site: https://weather.com/forecast/allergy/l/SPXX0050:1:SP but it is quite dumb; it only tells allergy levels for “trees” or “grass” etc, but not which trees or grass types.
But what I have seen there is no site that offers a good API for getting the information. My guess is that we need to scrape the information from the HTML. I.e. return all HTML from a specific site and parse the information using regular expressions.
BR
-
Great! I’ll give it a try and let you know how it goes :)
-
I’ve found an API based on a Longitude Latitude, how far are you with this module? Maybe i can help.
-
I have not started this yet, as I have been sick with pollen…
However, when I investigated the size of a project like this, I saw that it should not be that complex to implement this as a plugin. I will start sometime after the summer I think.
I have created a first draft/concept of this, if you want to experiment. :)
You then need to implement the function `processResponse’, and maybe something more, IDK.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login