The keycloak base url
The client identifier for keycloak
The dcb service URL
The bib cluster id you want the real time information for
The user password
The keycloak secret
The user you want a token for
Run the script getRtac.sh as follows
./getRtac.sh -b "<Keycloak base URL" -c "<Client identifier>" -d "<DCB Service URL>" -i "Cluster id>" -p "<User password>" -s "<Keycloak secret>" -u "<User>"
If you have json output that looks like availability information then the script has successfully run, otherwise you will need to check the arguments you supplied were correct.
Operated as a Community Resource by the Open Library Foundation