Using rspotify with spotify.com

Rust integration

Install
cargo add rspotify
Quick start
use rspotify::Client;

let client = Client::new("YOUR_ACCESS_TOKEN");
Get Current User's Profile
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.spotify.com/v1/me
Get Several Shows
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.spotify.com/v1/shows
Get Several Albums
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.spotify.com/v1/albums
SDK on GitHub 📄 API Docs
SDK
rspotify
Rust
API
spotify.com
spotify.com
At a glance
Language Rust
Endpoints88
Base URLhttps://api.spotify.com/v1