Expand SMHI view to include weather (sunny, rainy, etc) #408

Closed
opened 2026-04-17 10:29:54 +00:00 by a24vinla · 5 comments
Collaborator

Not sure if the SMHI API includes this, but probably has some information about rain at least

Not sure if the SMHI API includes this, but probably has some information about rain at least
a24vinla changed title from Expand SMHI view to include weather (sunny, rainy) to Expand SMHI view to include weather (sunny, rainy, etc) 2026-04-17 12:36:48 +00:00
Collaborator

Reopening this issue due to the API not having any documentation in its Wiki page. I was hoping @b23albst could look at it since he was the one expanding on it. The TimeEdit API documentation could be worth giving a look at as a guide.

Reopening this issue due to the API not having any documentation in its [Wiki page](https://git.webug.se/Andras/BoundlessFlowCampus2K/wiki/API-SMHI). I was hoping @b23albst could look at it since he was the one expanding on it. The [TimeEdit API documentation](https://git.webug.se/Andras/BoundlessFlowCampus2K/wiki/API-TimeEdit) could be worth giving a look at as a guide.
a24timsv reopened this issue 2026-04-27 15:39:28 +00:00
Collaborator

I wrote some to the wiki page, but as the data received differs quite a lot from timeedit, I took a different approach with the wiki page. Is it ok? Or should I change it to, like, include more examples?

I wrote some to the wiki page, but as the data received differs quite a lot from timeedit, I took a different approach with the wiki page. Is it ok? Or should I change it to, like, include more examples?
Collaborator

Some things:

  • The images are not displaying anything. I don't think you can directly upload to the Wiki, you need to post it in an issue and link to it.
  • I don't know if the images contain JSON data or whatever, but if it is code, you can just use a code block. Example from the TimeEdit page:
{"columnheaders":["Lokal","Kursbenämning","Grupp","Program","Lärare","Undervisning/aktivitet, Tentamenstyp","Kommentar"],"info":{"reservationlimit":1000,"reservationcount":64},"reservations":[

Otherwise it looks fine.

Some things: - The images are not displaying anything. I don't think you can directly upload to the Wiki, you need to post it in an issue and link to it. - I don't know if the images contain JSON data or whatever, but if it is code, you can just use a code block. Example from the TimeEdit page: ```JSON {"columnheaders":["Lokal","Kursbenämning","Grupp","Program","Lärare","Undervisning/aktivitet, Tentamenstyp","Kommentar"],"info":{"reservationlimit":1000,"reservationcount":64},"reservations":[ ``` Otherwise it looks fine.
Collaborator

It is just JSON data, but in this case I think images makes the structure 10x more readable than just the code.

I'll add the images here and link to them.

image

image

It is just JSON data, but in this case I think images makes the structure 10x more readable than just the code. I'll add the images here and link to them. ![image](/attachments/2de1d57d-f09b-49c6-b8ae-442fbeeee0cb) ![image](/attachments/086aaab4-f3f4-4b42-a2b0-ba4a7dea3955)
Collaborator

As the wiki is uppdated we will close this issue

As the [wiki](https://git.webug.se/Andras/BoundlessFlowCampus2K/wiki/API-SMHI) is uppdated we will close this issue
Sign in to join this conversation.
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Andras/BoundlessFlowCampus2K#408
No description provided.