First of all I'm pretty new to all this wiki stuff, so I'm sorry if these problems seem trivial.
I'm trying to add a changing value inside various pages, this value would update once a day (or be dynamic directly, as the update is not very frequent), and this process would require to get an id from a template from the page itself, get a response through an api, a bit of data extraction and finally adding it inside the page, on another template.
So far I tried to see how to do it with Javascript and with AutoWikiBrowser, but failed with both (with Javascript I was only able to get the response and extract the data, with AWB I can't even login or reach the page).
Do you have any suggestions on how to do something like this?
This is an example page, I'd need to get the id value from the infobox and put what I get from the api back inside it inside the "Badges Awarded" label.