socialanalytics provides insight into how a specific URL performs on a variety of social networks.
## Installation
To install socialanalytics, simply:
`$ pip install socialanalytics`
## Documentation
Grabs metrics from the Facebook Graph API for a URL
```python
from socialanalytics import facebook
url = 'http://espn.go.com/nfl/playoffs/2013/story/_/id/10395131/super-bowl-xlviii-seattle-seahawks-michael-bennett-doug-baldwin-talk-win'
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
```
Grabs the number of Pins for a URL.
```python
from socialanalytics import pinterest
url = 'http://allrecipes.com/recipe/crispy-edamame/detail.aspx'
pins_count = pinterest.getPins(url)
print pins_count
#> 958634
```
Metadata
Release files for socialanalytics 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| socialanalytics-0.2.1.tar.gz | 2.2 kB | Without provenance | Details |
Security for socialanalytics 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release files / socialanalytics-0.2.1.tar.gz
How to use checksums
d25b8fccceb1fffb6a45c412fc7e651e5dc2207aa0851d4f5edff784efacdfa0How to use checksums
59603467faf97df40860f083f148c58ebd5e85615a43956d4970146dee6fa6e1What is trusted publishing?