spotify-web-api-node icon indicating copy to clipboard operation
spotify-web-api-node copied to clipboard

Status of the Project?

Open Xiphe opened this issue 3 years ago • 9 comments

Hey @thelinmichael huge thanks for this project, It helped me (and 18k other projects) interact nicely with spotify API!

I wonder what the status is since the last commit/release is nearly 2 years old and Issues+PRs are piling up.

Is there anything we can do to support?

Xiphe avatar Nov 07 '22 10:11 Xiphe

ref: https://community.spotify.com/t5/Spotify-for-Developers/spotify-web-api-node-seems-abandoned/m-p/5454468#M6976

Xiphe avatar Nov 07 '22 11:11 Xiphe

@Xiphe I am wondering the same thing . . . I see some things being added via PRs that I would love to have access to!

kyds3k avatar Jan 03 '23 09:01 kyds3k

This looks interesting: https://community.spotify.com/t5/Spotify-for-Developers/OpenApi-Swagger-description-for-the-Web-API/td-p/5196705

Xiphe avatar Jan 09 '23 11:01 Xiphe

Ended up replacing this library with a manually generated client from Spotifys Open API spec using oazapfts

oazapfts --optimistic https://developer.spotify.com/_data/documentation/web-api/reference/open-api-schema.yml ./spotify.api.ts

Unfortunately, the auth flows are not part of that spec so I'll need to do that "by hand" but I can live with that as long as I have up to date methods & response types

Xiphe avatar Jan 11 '23 13:01 Xiphe

@Xiphe awesome! could you create a repo for this?

jpcastberg avatar Jan 21 '23 22:01 jpcastberg

@jpcastberg What would you hope to find in that repo?

Xiphe avatar Jan 23 '23 07:01 Xiphe

@Xiphe I ended up using the spotipy python library to do my project, was mainly looking for easy auth flow handling. If you're going to be adding better auth support in your openapi node library, it may be useful to others.

jpcastberg avatar Jan 23 '23 09:01 jpcastberg

The problem is spotify auth goes over a differen API which is not part of their OAS spec. So there's nothing oazapfts (or similar generators) can do about it.

Xiphe avatar Jan 23 '23 09:01 Xiphe

There is a new TS SDK for the web API now: https://github.com/spotify/spotify-web-api-ts-sdk

haayhappen avatar Oct 07 '23 18:10 haayhappen