spotify-web-api-java/spotify-web-api-java — reverse-engineered prompt
Reverse engineered prompt
Build me a Java library that makes it easy for other Java apps to talk to the Spotify Web API without writing raw HTTP calls.
I want developers to be able to add it with Maven or Gradle, create a Spotify API client with their access token or app credentials, and then call clear Java methods for Spotify actions like fetching things, searching, and working with user based requests. Please include support for Spotify authorization flows, including client credentials, authorization code, refresh tokens, and PKCE where it makes sense.
Make the API feel simple and consistent, with request builder methods for optional settings like market, and let requests run both normally and asynchronously. Include examples that show how to authenticate and make basic requests, plus generated docs or Javadocs so people can understand the available methods.
Please keep in mind this is not for Android apps. Look up the current Spotify Web API docs online if you need to.
Want more depth? Deep Reverse