This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from __future__ import division, print_function | |
| """ | |
| This script takes in the URL to the JSON version of an ADS private library, and outputs a bibtex file suitable for importing into ORCiD | |
| """ | |
| import json | |
| import urllib2 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # src: https://gist.github.com/906716/82e170c4952a75fde3fdc1e5c5f008979e1a8364 | |
| import sampy | |
| import urlparse | |
| mtype_lu = {} | |
| mtype_lu['votable'] = {'mtype':'table.load.votable', | |
| 'params':['name','url','table-id']} | |
| mtype_lu['fits_table'] = {'mtype':'table.fits.votable' , | |
| 'params':['name','url','table-id']} |