After some investigation, I figured out that the BIRs mobile app use the https://webservice.bir.no/api/ API. To be able to use the API we will first have to login using POST https://webservice.bir.no/api/login with a body that contains the applikasjonsId and the oppdragsgiverId. ATM i'm not sure if the applikasjonsId is uniquely generated on each device or if this is a static ID that is hard coded in the application.
If the applikasjonsId is hardcoded or we can easily generate it, we could change the integration to call the API directly instead of scraping the website for the same information.
After some investigation, I figured out that the BIRs mobile app use the
https://webservice.bir.no/api/
API. To be able to use the API we will first have to login using POSThttps://webservice.bir.no/api/login
with a body that contains theapplikasjonsId
and theoppdragsgiverId
. ATM i'm not sure if theapplikasjonsId
is uniquely generated on each device or if this is a static ID that is hard coded in the application.If the
applikasjonsId
is hardcoded or we can easily generate it, we could change the integration to call the API directly instead of scraping the website for the same information.