Skip to content

Instantly share code, notes, and snippets.

@fabiobatalha
Created May 12, 2017 22:14
Show Gist options
  • Save fabiobatalha/398bc8258fbe191bd3812cd93fcf82a7 to your computer and use it in GitHub Desktop.
Save fabiobatalha/398bc8258fbe191bd3812cd93fcf82a7 to your computer and use it in GitHub Desktop.
from articlemeta.client import RestfulClient
"""
pip install articlemetaapi
Allowed formats:
xylose: default
xmlrsps
xmlwos
xmldoaj
xmlcrossref
xmlpubmed
"""
cl = RestfulClient()
for doc in cl.documents(collection=None, issn='0104-9313', fmt='xylose', from_date='2015-01-01', until_date=None, body=False):
print(doc.publisher_id, doc.document_type, doc.publication_date[:4], doc.original_title())
for journal in cl.journals(collection='scl'):
print(journal.scielo_issn, journal.title)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment