Git Product home page Git Product logo

video-game-analyse's Introduction

TP Big Data

This work able me to predict the game of the 2018 on PS4. Using Big Data methodologies.. Have Fun. https://github.com/antoineFrau/video-game-analyse

Requirements

Use command pip3 install to install thoses libraries

python==3.7 pip==3

tweepy==3.7.0

pytrends==4.4.0

textblob==0.15.2

matplotlib==3.0.2

numpy==1.15.4

pandas==0.23.4

You will need Twitter API account to use this project.

Change the line 9 to 12 in main.py.

consumer_key = "YOUR_KEY_HERE"
consumer_secret = "YOUR_KEY_HERE"
access_token = "YOUR_KEY_HERE"
access_token_secret = "YOUR_KEY_HERE"

Additionnal informations

Everything here has already been generated, if you want to regeneraet the data, you can run main.py, will get absolutly needed informations in the result.json like the keyword for search prupose of the game and the release date. Then it will generate all data in a specific folder for each game.

Finaly if you want to generate graphs you can run graphics.py.

Add a game

If you want to add a game or update one juste go to result.json and modyfy where it's write HERE :

"game_name_HERE": {
    "release_date": "YYYY-MM-DD HERE",
    "nb_tweets": 0,
    "keyword": "Game Name HERE",
    "sentiment": [],
    "trends": {
        "start_at": "YYYY-MM-DD HERE",
        "end_at": "YYYY-MM-DD HERE",
        "cities": {},
        "evolutions": {}
    }
}

And don't forget about the line 10 of graphics.py, add or modify the list of keys.

keys = ["game_name_HERE"]

Author

Antoine Frau - Master 1 Développement Full-Stack.

License

This project is licensed under the MIT License - see the LICENSE file for details

video-game-analyse's People

Contributors

antoinefrau 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.