Registry / http-client / rspotify

rspotify

JSON →
library0.16.1rscratesunverified

Spotify API wrapper.

# Cargo.toml [dependencies] rspotify = "0.16.1"
INSTALL
IMPORT
SIG · RSPOTIFY
R
rspotify
http-clientrustv0.16.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
✓ use rspotify::Client;

Create a Spotify API client.

use rspotify::Client; #[tokio::main] async fn main() { let client = Client::new(); println!("Spotify client created"); }
Debug
Known issues
gotchaRequires a tokio runtime for async operations.
fix
Use #[tokio::main] or manually create a tokio runtime.
affects: >=0.16.0
Upgrade
Version history
0.16.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
Resources
rspotify — cargo add rspotify · libregistry