1234567891011121314151617181920212223242526272829303132 |
- import requests
- import json
- from ak_scopus import get_scopus_list, get_scopus_data, get_scopus_refs
- from config import *
- #
- # Script to check all the afiliations of the authors
- #
- #url = "http://api.elsevier.com/content/search/scopus?query=AU-ID(%s)&field=dc:identifier&count=10" % micheleCaselle
- #resp = requests.get(url, headers={'Accept':'application/json',
- # 'X-ELS-APIKey': MY_API_KEY})
- results = get_scopus_list([micheleCaselle], '', 10)
- for pub in results:
- data = get_scopus_data(pub[0])
- print data
- # Todo: Implement filter to show Michele and its affiliation id !!!
- #results = resp.json()
- print results
|