libspotify != their API. Libspotify is a long-deprecated client library that allowed local playback. If you are OK with running one of the official clients for actual playback you can use the API to build an alternative browsing/controller client.
With some caveats though as I mentioned in another comment. Their API for controlling playback doesn't work well with Sonos players for example.