When I was finished with Serenum API, I started over with the website Serenum to show the data from the API with style.

I built the website with no JavaScript first, building for an example the bar charts with HTML and CSS by hand. After everything was done, I added 2 features with JavaScript: getting your current location 1 time with GPS and adding a map from Leaflet for choosing a place with it.

Thanks to this strategy, Serenum works perfectly with and without JavaScript.

The website are far from done, though. Both astronomical calculations and light theme are missing, more features with JavaScript will be added, and more.

  • @noc.social
    link
    fedilink
    arrow-up
    5
    ·
    2 years ago

    @airikr Seems very cool, I will probably use it if I ever make a program thay needs weather data!

  • Ravn
    link
    fedilink
    arrow-up
    4
    ·
    2 years ago

    This is really cool and useful! I’ll be using this! Thank you

      • airikrOP
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        2 years ago

        Sorry for a late reply.

        Yes, Serenum API uses OpenWeatherMap :) I have sent an email to OpenWeatherMap regarding their privacy policy, if they log anything when calling their API.

        And regarding the API at met.no. I didn’t knew YR was FOSS :O Really good! Will take a closer look into it!

        However, it is unclear if YR log anything from when using their API (source: https://hjelp.yr.no/hc/en-us/articles/360003337614-Privacy-policy). This applies to OWM as well. I’ll wait for their reply over email before I decide to switch or not.

        Many thanks for telling me this! :D

        Edit: After reviewing api.met.no’s locationforecast, I will email them to ask what they log when calling their API. If they say that they do not log anything, I might choose YR over OWM, no matter what OWM says.

          • airikrOP
            link
            fedilink
            arrow-up
            1
            ·
            2 years ago

            Sounds like met.no is a different services than YR. I did send them an rmail yesterday. We’ll see what they say, but I do really like their API. So I might make the switch even if they log something when calling their API.

  • Tiuku@sopuli.xyz
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    Pardon my ignorance, but how does this differ from using some weather API directly?

  • airikrOP
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    I will prepare to make the move to met.no while waiting for their reply to the same question. Hopefully, they will not log as much or better yet, nothing at all.

    Edit OpenWeatherMap have now replied to my email to them where I asked what they logged when calling their API. And they do log a lot! IP addresses, location, operating system, and more.

    • airikrOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      The new version of Serenum API are now done. Just need to make the change to serenum.org too. I have another project to finish first, though.