Giter VIP home page Giter VIP logo

advai / youtubedatavisualization Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 439 KB

This project allows a user to log into their Google account with OAuth 2.0. From there, I use the Youtube Data API to fetch subscription and liked video data. Using ofxGrafica, this data was visualized as a bar graph with the video/channel category as the x-axis and the y-axis as the # of videos liked or # of channels subscribed.

Makefile 0.01% C++ 99.13% C 0.06% Python 0.81%

youtubedatavisualization's Introduction

Setup

  1. Download the repository. NOTE: do not use the ofxDatGui online. I have made changes to it for this specific project and it will not compile with any other version.
  2. Go to your addons folder in openframeworks and paste the folders inside this repository's addons folder
  3. add the ofxbraitsch folder in to the bin/data folder of your project and add the json.hpp file to your src directory
  4. replace the ofApp.h and ofApp.cpp that was generated with the respective files in this repository
  5. Add the python script and text files into your src folder. Inside the ofApp.h files, replace the path variable strings with the paths to these files in your project.
  6. Set the Python path variable. Go to Project -> Options -> C/C++ -> General -> Additional Include Directories and add the path to your Python include folder and the libs folder. Do the same thing in the Project -> Options -> Linker -> General -> Additional Library Directories
  7. Any machine attempting to access Google accounts and data needs to sign up its project and obtain their own API keys and credentials. Once you receive those, go into the client_secret.json and update it with your project specific API keys and credentials.

Features

Once you log into your Google account:

  • Compare how many views, likes, and topics your liked videos range from
  • Compare views, subscribers and categories of your subscriptions
  • Works with any Google account

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.