spotify / web-api-examples

Basic examples to authenticate and fetch data using the Spotify Web API
Apache License 2.0
1.98k stars 1.66k forks source link

Use axios instead of requests package (deprecated) #87

Open eebmagic opened 1 year ago

eebmagic commented 1 year ago

Switch from using requests library to axios for post and get calls (The requests library has been deprecated).

The axios package has been listed as an alternative by the requests developers.

Also addresses some deprecation warnings for creating Buffers (See nodejs page here).

Resolves this GitHub issue: