Skip to content

Location by Lat/Lon #9

@robwent

Description

@robwent

This is more of a feature request than an issue but I'm not sure if it's possible.

I want to get forecasts by coordinates rather than by a page url on the yr.no website. This is possible though the api by specifying lat, lon and an optional meters above sea level.

http://api.yr.no/weatherapi/locationforecast/1.9/documentation

I've looked through the code and it seems the class isn't using the api directly, it's using the standard site urls which return an xml eg: http://www.yr.no/place/United_Kingdom/England/East_Leake/forecast_hour_by_hour.xml

So I guess the questin really is, is it possible to add this or would the class basically need rewriting?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions