Skip to content

Commit

Permalink
fixing up ReadMe
Browse files Browse the repository at this point in the history
  • Loading branch information
TheComeUpCode committed Feb 13, 2020
1 parent 10755eb commit 31f02c4
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,40 @@
# SpotifyGeneratePlaylist
A simple script that take your liked videos on Youtube, and generates a Spotify playlist based on the song in your liked videos.

## Table of Contents
* [Technologies](#technologies)
* [Setup](#setup)
* [Youtube](#video)
* [ToDo](#ToDo)

## Technologies
* [Youtube Data API v3]
* [Spotify Web API]
* [Requests Library v 2.22.0]

## LocalSetup
1) Install All Dependencies
`pip3 install -r requirements.txt`

2) Collect You Spotify User ID and Oauth Token From Spotfiy and ddd it to secrets.py file
* To Collect your User ID, Log into Spotify then go here: [Account Overview] and its your **Username**, just like its displayed in the image below
![alt text](images/userid.png)
* To Collect your Oauth Token, Visit this url here: [Get Oauth] and click the **Get Token** button, just like its displayed in the image below
![alt text](images/spotify_token.png)

3) Enable Oauth For Youtube and add you client id into client_secrets.py file
Ok this part is tricky but its worth it! Just follow the guide here [Set Up Youtube Oauth]

4) Run the File
`python3 create_playlist.py`

## ToDo
* Unit Test File
* Add More Error Handling

[Youtube Data API v3]: <https://developers.google.com/youtube/v3>
[Spotify Web API]: <https://developer.spotify.com/documentation/web-api/>
[Requests Library v 2.22.0]: <https://requests.readthedocs.io/en/master/>
[Account Overview]: <https://www.spotify.com/us/account/overview/>
[Get Oauth]: <https://developer.spotify.com/console/post-playlists/>
[Set Up Youtube Oauth]: <https://developers.google.com/youtube/v3/getting-started/>
Binary file added images/spotify_token.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/userid.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 31f02c4

Please sign in to comment.