wolffshots / hass-audiobookshelf

Adds sensors for an Audiobookshelf server to Home Assistant to show connection and active sessions
MIT License
35 stars 2 forks source link

What's the Access Token and where do i find it? #1

Closed freakadings closed 10 months ago

freakadings commented 10 months ago

Thank you for your integration!

But I've got a questeion: What's the Access Token and where do i find it? I assume it could be generated somewhere within audiobookshelf, but i can't find any option on v2.5.0 for this token, an api key or something similar.

Thanks in advance :)

TCoughlin02 commented 10 months ago

https://api.audiobookshelf.org/#introduction

freakadings commented 10 months ago

Thanks a lot, the API token is pretty hidden.

For the sake of completeness: ->Log in as admin ->Config Menu ->Users ->Click on the Admin user name -> Copy the token (Only the token of the root / admin account works)

wolffshots commented 10 months ago

I’ll add this to the readme quickly

wolffshots commented 10 months ago

Added to the README in https://github.com/wolffshots/hass-audiobookshelf/commit/5a49d9bf5be6d44166ab8fa2400579800dcb4bfa