Skip to content

Commit

Permalink
Add comments about @mkb79 's discovery around [library state_token](m…
Browse files Browse the repository at this point in the history
  • Loading branch information
rmcrackan committed May 16, 2022
1 parent 4585e35 commit 2ad6df3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions AudibleApi/Api.Library.cs
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,12 @@ public async Task<JObject> GetLibraryAsync(string libraryOptions)
return await getLibraryAsync(libraryOptions);
}

//
// state token for library requests: https://github.com/mkb79/Audible/issues/93
// You will only get new items or removed items since the state-token was created.
// Removed items will be in the 'items' list with 'status' : 'Revoked'
//

// all strings passed here are assumed to be unconditionally valid
private async Task<JObject> getLibraryAsync(string parameters)
{
Expand Down

0 comments on commit 2ad6df3

Please sign in to comment.