Giter Site home page Giter Site logo

rodrigolaa / spotify-project Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 40.55 MB

Get daily top 50 musics in Spotify and use it to create analyses in Data Studio. :musical_note:

License: MIT License

Python 23.60% Jupyter Notebook 76.40%
lambda-functions looker-studio python

spotify-project's Introduction

Spotify Project

This project aims to create Looker Studio Dashboard with the top 50 tracks in the world. The data was retrived using a Python script that consumers the Spotify API and uses a Lambda Function to register the dta in a Google Sheets.

What I have learnend?

  • How to create a google api.
  • How to create a spotfy api.
  • How to develop a python script to retrive API information and parse through JSON object.
  • How to deploy ZIP file in AWS Lambda Function with AWS CLI.
  • How to Set a EventBridge cron job in AWS Lambda Function to run every day.
  • How to ccreate a free, online and analytical dashboard in Looker Studio.

1) Get Spotify Credentials in here

 Need To create an App, put a name and description for it, and you are good to go!

2) Get Google Sheets API - Google Cloud

 - First you need to create an account in Google Cloud
 - then, Create a Project
 - Create an Google Sheets API
 - Share the google sheets with the email generated with the Google Sheets API.
 - Save the credetials json file in the folder of the project.

For more details in how to configure the Google API watch this video: tutorial

image

3) Create Python Deployment Package (.zip) with all packages and code.

4) Upload the .ZIP file in a AWS Lambda Function with AWS CLI.

5) Set a Cron job with EventBridge alarm every day.

For more details, follow this Tutorial

image

Thanks!

spotify-project's People

Contributors

rodrigolaa avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.