QlikView and Spotify

EN: Some time ago, I decided to investigate my own habits on Spotify (2016) and I made this simple application using the (at time) new Qlik Rest Connector, and after analyzing a little I got bored and forgot it.
This year I started in a new company and my colleagues when discovered that I have many things said to me publish them… so I will review my old files and start to publish them![3]
So thank you Lorena[1] and Oscar[2] .

PT: Algum tempo atrás eu decidi ver meus dados no Spotify(2016) e fiz um aplicativo simples usando o Qlik Rest connector, que na época era recente. Depois de brincar um pouco, esqueci dele. Este ano comecei numa nova empresa e conversando com meus colegas eles ficaram interessados no que eu tinha e me falaram para publicar… Eu irei revisar minhas tralhas e irei postando elas aos poucos![3]

Então obrigado Lorena[1] e Oscar[2]!

Let’s talk about what is inside! Vamos ver o que temos aqui dentro?

App data model

So this data Model does not look good, but it is intentional, I did not want to change too much the data that was coming from Sportify API, so anyone can play along…. Here You can see that Playlists and Tracks have the main spot, and i think this are the most fun data!

O modelo de dados não é o melhor possível, porém é proposital, pois não queria mudar muito em relação ao que está na documentação do Spotify, para que todos possam brincar… Nessa parte acho que estão a cobertura e cereja do bolo na forma de tracks (faixas) e playlists.

Beyond this Data, there is the user data island, that contains all public data of an spotify user, and if you put your user you can test by yourself! Além desses dados, possuo uma ilha com os dados do usuário, se você colocar o seu usário poderá baixar seus dados!

User DATA

On the script, there is 2 tabs:No script temos 2 abas
A – Main (where the fun happens)Main – onde a mágica acontece
B – DataDic , just a translation matrix to navigationDataDic – uma matriz de tradução

On main there is 4 custom connects using rest API, unfortunately it not possible to change the order of load, you need to authenticate on my app on Spotify to be able to download the info about your user, playlists and then tracks. No secrets, just connect and see by yourself.

Na main existem 4 conexões “custom” que usan a rest API, infelizmente a ordem não pode ser alterada, primeiro você tem de conectar no meu app la no spotify (clientid), ai buscar dados de usuarios, playlists e então tracks. Bem claro e fácil de achar

Links:
1 – https://www.linkedin.com/in/lorena-gonzales-saar/
2 – https://www.linkedin.com/in/oscargarciabofill/
3- Git: https://github.com/arthurmoldom/QlikSpotify.git
4 -https://developer.spotify.com/documentation/web-api
5- http://qlik.com

Deixe um comentário