-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8b6ac93
commit fdbbedb
Showing
3 changed files
with
19 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
package main | ||
|
||
import ( | ||
"billboard-scraper/auth" | ||
authorizeUser "billboard-scraper/auth" | ||
"billboard-scraper/playlist-builder" | ||
"billboard-scraper/scraper" | ||
) | ||
|
||
func main() { | ||
// Get list of songs with songName + FIRST artist name | ||
songList := scraper.GetSongList() | ||
songList, weekOf := scraper.GetSongList() | ||
|
||
// Authorize user for Spotify | ||
client, ctx := authorizeUser.AuthUser() | ||
|
||
// Build and create playlist on user's account | ||
playlist.BuildPlaylist(client, ctx, songList) | ||
playlist.BuildPlaylist(client, ctx, songList, weekOf) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters