This project was created with Python Language
In the project directory, you can run:
This script creates a suggested playlist based into playback history in the Rokker-app. The new playlist is saved in the database.
It can be of two types:
- Playlist for a specific user:
main.py <user-sample@mail.com> - General Playlist that will be shown to all users:
main.py
This script consults the database and returns a csv file. With the an user playback history or all the playback-history of the application.
- Playback-history for a specific user:
history_downloader.py <user-sample@mail.com> - Playback-history for all users:
history_downloader.py
You can see the dashboards with Stats about user history playback and app-history:
- Stats for a user: https://datastudio.google.com/reporting/fd663400-4bc9-4269-b06e-6031b26447a7/page/I1hmB
- Stats for admin: https://datastudio.google.com/u/0/reporting/20f17f91-4115-40ff-b6e2-becd773dbbb4/page/2cnmB
This project runs about a virtual environment with these libraries:
- pandas:
pip install pandas - requests:
pip install requests - dns:
pip install dns - pymongo:
pip install pymongo
You can know more about this project in:
https://www.notion.so/Rokker-cc1801d5d871494caca6dc79bfe4594d