{"repo":"FrostBreker/spotify-private-api","free":true,"listed":false,"github":"https://github.com/FrostBreker/spotify-private-api","clone":"git clone https://github.com/FrostBreker/spotify-private-api.git","description":"This package provides a simple way to interact with Spotify's private API. It includes methods to fetch track information and play count.","language":"Go","stars":14,"topics":["api","golang","scraper","spotify"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Spotify Private API Go Package A Go package for accessing Spotify data by scraping public pages. No authentication or API tokens required. Features - 🎵 Track Information - Track name, duration, album, artists, and cover art - 🎤 Artist Profiles - Artist stats, biography, followers, and monthly listeners - 💿 Album Details - Album info with track listings and artwork - 🔓 No Authentication - Works without any API tokens or OAuth - 🌐 Browser-Like Requests - Uses TLS fingerprinting to mimic real browsers - ⚡ Context Support - All operations support cancellation and timeouts - 🧪 Fully Testable - Mock support for comprehensive unit testing - 🛡️ Type-Safe Errors - Custom error types for precise error handling Installation Requirements: Go 1.24 or higher Quick Start Usage Examples Track Information Artist Information Album Information Configuration Options API Reference Client Methods Method Parameters Description Returns --------------- ----------------- ------------------------ ------------------ FetchTrack() ctx , trackID Get track information TrackResponse FetchArtist() ctx , artistID Get artist profile ArtistResponse FetchAlbum() ctx , albumID Get album details AlbumResponse Configuration Options Option Description ---------------------- ---------------------------------- WithDebug(bool) Enable/disable debug logging WithHTTPDoer(Doer) Use custom HTTP doer (for testing) WithLogger( slog.Logger) Use custom structured logger Error Handling Error Types Error Type Description --","default_branch":null,"files":null,"tree":[],"storefront":"/r/FrostBreker","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/FrostBreker/spotify-private-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}