Skip to main content

Insight into how a specific URL performs on a variety of social networks.

Project description

# socialanalytics

socialanalytics provides insight into how a specific URL performs on a variety of social networks.

## Installation

To install socialanalytics, simply:

`$ pip install socialanalytics`

## Documentation

#### Facebook

Grabs metrics from the Facebook Graph API for a URL

from socialanalytics import facebook

url = ''

fb_obj = facebook.getObject(url)
print fb_obj
#> {u'comment_count': 720, u'like_count': 2114, u'share_count': 114}

total = facebook.getTotalInteractions(url)
print total
#> 2948

shares = facebook.getShares(url)
print shares
#> 114

comments = facebook.getComments(url)
print comments
#> 720

likes = facebookgetLikes(url)
print likes
#> 2114

#### Pinterest

Grabs the number of Pins for a URL.

from socialanalytics import pinterest

url = ''
pins_count = pinterest.getPins(url)
print pins_count
#> 958634

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for socialanalytics, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size socialanalytics-0.2.0.tar.gz (2.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page