https://github.com/aquaflamingo/price-my-spotify-library Skip to content Toggle navigation Sign up * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code + Explore + All features + Documentation + GitHub Skills + Blog * Solutions + For + Enterprise + Teams + Startups + Education + By Solution + CI/CD & Automation + DevOps + DevSecOps + Case Studies + Customer Stories + Resources * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles + Repositories + Topics + Trending + Collections * Pricing [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} aquaflamingo / price-my-spotify-library Public * Notifications * Fork 0 * Star 2 Price my Spotify library License MIT license 2 stars 0 forks Star Notifications * Code * Issues 1 * Pull requests 0 * Actions * Projects 0 * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Security * Insights aquaflamingo/price-my-spotify-library This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. main Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Cancel Create 4 branches 0 tags Code * Local * Codespaces * Clone HTTPS GitHub CLI [https://github.com/a] Use Git or checkout with SVN using the web URL. [gh repo clone aquafl] Work fast with our official CLI. Learn more. * Open with GitHub Desktop * Download ZIP Sign In Required Please sign in to use Codespaces. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @aquaflamingo aquaflamingo README ... d35a07d Mar 23, 2022 README d35a07d Git stats * 8 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time .gitignore Updates gitignore Mar 13, 2022 Gemfile Add Gemfile Mar 13, 2022 Gemfile.lock fixup! Add Gemfile Mar 13, 2022 LICENSE Initial commit Mar 13, 2022 README.md README Mar 23, 2022 app.rb Adds application Mar 13, 2022 main.rb Adds application Mar 13, 2022 spotify.rb Adds application Mar 13, 2022 View code Price My Spotify Library Usage Example: LICENESE README.md Price My Spotify Library Project Status: Active - The project has reached a stable, usable state and is being actively developed. Do you like streaming and purchasing music ? Ever wonder how much your entire Spotify library would cost for you to purchase? No? Well you still can ! Usage 1. Clone the repository 2. Create a Spotify API Key: https://developer.spotify.com/ documentation/web-api/ 3. Add your SPOTIFY_CLIENT_ID and SPOTIFY_CLIENT_SECRET to a .env file and source .env (alternatively you can just run the script with these variables set in the environment). # .env export SPOTIFY_CLIENT_ID=123 export SPOTIFY_CLIENT_SECRET=456 4. Run the script ruby -W0 main.rb --user your_username 5. Print! Example: Hello spotifyusername! Your Spotify library is composed of: 115 playlists 3053 tracks If you wanted to purchase your entire Spotify library, it would cost around: 3022.47 USD. +----------------------------------------------+--------------------+ | Playlist | Cost | +----------------------------------------------+--------------------+ | xxxxxxxxxxxxxxxxxxxxxxxxxx | 99.0 | | xxxxxxxxxxxxxxxxxxxxxxxxx | 99.0 | | xxxxxxxxxxxxxxxxxxxxxxxxxxx | 72.27 | | xxxxxxxxxxxxxxxxxxxxxxxxxxx | 10.89 | | xxxxxxxxxxxxxxxxxxxxxxxxxxx | 14.85 | | xxxxxxxxxxxxxxxxxxxxxxxxxxx | 79.2 | | xxxxxxxxxxxxxxxxxxxxxxxxxx | 78.21 | # etcetera.. LICENESE This repository is licensed under MIT Open Source About Price my Spotify library Resources Readme License MIT license Stars 2 stars Watchers 1 watching Forks 0 forks Releases No releases published Packages 0 No packages published Languages * Ruby 100.0% Footer (c) 2022 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.