export environment variables
export API_SUBSCRIPTION_ID="<subscription id>"
export API_TENANT="<tenant id>"
export API_CLIENT="<service principal id>"
export API_CLIENT_KEY="<service principal secret>"
dotnet test
The tests illustrate how the API can be consumed.