Giter Site home page Giter Site logo

imclab / personality-insights-twitter-python Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chrismoulton/personality-insights-twitter-python

0.0 1.0 0.0 95 KB

A simple python example that calls the twitter API to fetch a user's timeline and then calls Watson Personality Insights to estimate their personality traits.

Python 100.00%

personality-insights-twitter-python's Introduction

IBM Watson Personality Insights Twitter Python Sample

This sample shows how to get Twitter data using the Twitter REST API (via the python-twitter client library) and submit it to the Personality Insights Service.

For non-twitter samples and more details on how to setup your Personality Insights service in bluemix see the official Watson Developer Cloud samples.

Setup

This sample was developed on Python 2.6.6 with the python-twitter and requests libraries, installed via pip.

Configuring your Twitter and Personality Insights Credentials

To configure the sample, copy config.py.example to config.py and edit config.py to fill in your Twitter and Personality Insights Credentials. Instructions are provided in the config.py.example file.

Running the sample

Provide a twitter handle/screen name WITHOUT the leading @ sign. Example:

python twitteranalyzer.py jschoudt

personality-insights-twitter-python's People

Contributors

germanattanasio avatar jschoudt avatar

Watchers

 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.