Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.72 KB

README.md

File metadata and controls

30 lines (22 loc) · 1.72 KB

AltmetricAPIQuery

This is a bare-bones Python script that's intended to be used by researchers who are just learning how to query the Altmetric API, as well as those that want the freedom to tinker. You will have to tweak it to be able to locally save the data that's pulled from the API. It assumes you have a CSV file full of DOIs that you want to use to query the API.

There are Python packages already out there for querying the Altmetric API in Python, but for a variety of reasons you may want to use a simple script instead. (At least, that's what I wanted when I was first starting out so I could learn how everything works, so I thought I'd share my own script for others to use, too.)

Edits welcome.

I may not be able to provide technical support, so caveat emptor.

How to use

  1. Make sure Python 3 is installed on your machine
  2. Download the script to the directory where your CSV file lives
  3. Open your command line tool (Terminal on Mac), navigate to the directory where the script has been downloaded, then type python3.6 AltmetricAPIQuery_Basic.py to run the script
  4. Tweak the script to meet your needs, then run it again
  5. Rinse and repeat

Resources