raul
e0a8c745d5
Due to a problem in the upstream goxml2json repo, I had to switch to a fork that allowed me to specify which children should be forcefully rendered as arrays, as some in some instances the AEMET's XML would contain completely individual values that are usually arrays, resulting in the JSON translator interpreting them as objects instead of arrays. The amount of effort I had to put into fixing this problem was mind-boggling. |
||
---|---|---|
cmd | ||
.gitignore | ||
.goreleaser.yaml | ||
LICENSE | ||
README.md | ||
go.mod | ||
go.sum | ||
main.go |
README.md
aemet
API Server that fetches spanish weather data from the AEMET formatted in XML and translates it to JSON, optionally allowing to render the obtained data in a web page.
Credits and thanks to riccardomanfrin for his fork of goxml2json, which allowed this entire project to work properly despite the AEMET's inconsistent XML formatting.