Skip to main content

Web of Science Article Match Retrival Client

Project description

Web of Science API Client

https://img.shields.io/pypi/v/wosclient.svg https://img.shields.io/travis/iplweb/wosclient.svg Documentation Status Updates

Web of Science Article Match Retrival Client for Python 3.6 by IPLweb.

This product is not endorsed or connected with Clarivate Analytics in any way.

Features

  • query the Article Match Retrival API of Web of Science Core Collection,
  • internally uses requests to handle web traffic and generators to save memory, Click for handling of the command-line,
  • supports Python 3.6.

Example use

Please review the original README file at https://github.com/Clarivate-SAR/wos-amr . wosclient module, after installation, provides a command called lookup_ids which should behave in a similar way, as the lookup_ids.py example in original module in Clarivate-SAR repo. There are some minor improvements, though, like the outfile is stdout by default, you can pass username and password in the command line, check it out:

$ lookup_ids --help                                                                                                     (env: wosclient) 2 ↵
Usage: lookup_ids [OPTIONS] INFILE

Options:
--outfile PATH
--password TEXT  API password
--user TEXT      API username
--help           Show this message and exit.

$ # These are completely optional, you will be prompted:
# export WOS_USER=username
# export WOS_PASSWORD=Password

$ lookup_ids tests/example.csv
User [username]:
Password [password]:
id,ut,doi,pmid,times cited,source
# ... after a second
0,WOS:000276621200002,10.1016/j.bbr.2009.10.030,19883697,123,http://gateway.webofknowledge.com/gateway/Gateway.cgi?GWVersion=2&SrcApp=PARTNER_APP&SrcAuth=LinksAMR&KeyUT=WOS:000276621200002&DestLinkType=FullRecord&DestApp=ALL_WOS&UsrCustomerID=536ab1eb96204d8944f0b2ff5513dbea
1,WOS:000299789100009,10.1080/09602011.2011.621275,22011016,40,http://gateway.webofknowledge.com/gateway/Gateway.cgi?GWVersion=2&SrcApp=PARTNER_APP&SrcAuth=LinksAMR&KeyUT=WOS:000299789100009&DestLinkType=FullRecord&DestApp=ALL_WOS&UsrCustomerID=536ab1eb96204d8944f0b2ff5513dbea
2,WOS:000300816600006,10.1016/j.neuropsychologia.2011.12.011,22223077,25,http://gateway.webofknowledge.com/gateway/Gateway.cgi?GWVersion=2&SrcApp=PARTNER_APP&SrcAuth=LinksAMR&KeyUT=WOS:000300816600006&DestLinkType=FullRecord&DestApp=ALL_WOS&UsrCustomerID=536ab1eb96204d8944f0b2ff5513dbea

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.0 (2018-04-18)

  • First release on PyPI.

Project details


Download files

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

Source Distribution

wosclient-0.1.5.tar.gz (12.7 kB view hashes)

Uploaded source

Built Distribution

wosclient-0.1.5-py2.py3-none-any.whl (6.8 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page