It would be helpful if someone with Advantage titles that are not shared with the consortium could post the JSON here. There is a tool in the support-scripts directory to query Overdrive: overdrive-api-checker.pl. the syntax is:
The account ID and basic token are in library settings. The title ID for the specific title is in the Marc 037 subfield a. The collection token can be found by querying the library collection API:
It would be helpful if someone with Advantage titles that are not shared with the consortium could post the JSON here. There is a tool in the support-scripts directory to query Overdrive: overdrive- api-checker. pl. the syntax is:
./overdrive- api-checker. pl --account {account ID} --verbose --token {basic token} --endpoint https:/ /api.overdrive. com/v2/ collections/{collection token}/ products/ {titleID} /availability
The account ID and basic token are in library settings. The title ID for the specific title is in the Marc 037 subfield a. The collection token can be found by querying the library collection API:
./overdrive- api-checker. pl --account {account ID} --verbose --token {basic token} --endpoint https:/ /api.overdrive. com/v1/ libraries/{account ID}
It would be helpful to see the V1 JSON as well:
./overdrive- api-checker. pl --account {account ID} --verbose --token {basic token} --endpoint https:/ /api.overdrive. com/v1/ collections/{collection code}/products/ {titleID} /availability
Here is the JSON for a shared Advantage title:
{
"copiesAva ilable" : 1,
"copiesOwn ed": 1,
"shared" : true
"copiesAva ilable" : 1,
"copiesOwn ed": 1, tyType" : "Normal", lable": 2,
"accounts": [
{
"id": 63,
},
{
"id": -1
}
],
"availabili
"available": true,
"copiesAvai
"copiesOwned": 2,
Library 63 owns a copy that is shared and the consortium (id -1) also owns a copy.