This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Python Altmetric API v1 wrapper

Project Description

pyAltmetric is a python wrapper for Altmetric API v1. It provides an API for downloading and reading citations both individually and in bulk.

Installation

pip install pyaltmetric

Usage

Fetching by individual citations by identifiers:

from pyaltmetric import Altmetric

a = Altmetric()

a.id("241939")
a.doi("10.1038/news.2011.490")
a.pmid("21148220")
a.rxiv("1108.2455")
a.ads("2012apphl.100y3104b")

a = Altmetric("api_key_goes_here")

Querying the Altmetric.com database:

a.citations("1w", page=1, nlmid="0410462")

Reading a citation:

>>> from pyaltmetric import Altmetric, Citation
>>>
>>> b = a.id("241939")
>>> c = Citation(b)
>>> print c.title
u'Rebuilding Global Fisheries'
>>>
>>> c   # provides a snapshot of a citation's coverage across platforms.
Altmetrics on: "Rebuilding Global Fisheries" with doi 10.1126/science.1173146
published in Science.

All Posts      14
Tweets          6
Facebook        1
Google+         0
Reddit          0
Blogs           2

>>>
  • Free software: BSD license
Release History

Release History

This version
History Node

0.2.0

History Node

0.1.2

History Node

0.1.1

History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyaltmetric-0.2.0.tar.gz (3.4 kB) Copy SHA256 Checksum SHA256 Source Sep 23, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting