Skip to main content

Description

travis readthedocs license version downloads stars

Web of Science (previously Web of Knowledge) is an online subscription-based scientific citation indexing service maintained by Clarivate.

wos is a python SOAP Client (both API and command-line tool) to query the WOS database in order to get XML data from a query using the WWS access.

Installation

The package has been uploaded to PyPI, so you can install the package using pip:

pip install wos

Documentation

This README and the documentation for the classes and methods can be accessed on ReadTheDocs.

Usage

You can use the wos command to query the Web of Science API. If you want to access data that needs to be accessed using the premium API, you also have to authenticate using your username and password.

usage: wos [-h] [–close] [-l] [-u USER] [-p PASSWORD] [-s SID]

{query,doi,connect} …

Query the Web of Science.

positional arguments:
{query,doi,connect} sub-command help

query query the Web of Science. doi get the WOS ID from the DOI. connect connect and get an SID.

optional arguments:
-h, --help

show this help message and exit

--close

Close session.

--proxy PROXY

HTTP proxy

--timeout TIMEOUT

API timeout

-l, --lite

Wos Lite

-v, --verbose

Verbose

authentication:

API credentials for premium access.

-u USER, –user USER -p PASSWORD, –password PASSWORD -s SID, –sid SID

You can use the WOS Lite API using the --lite parameter (for each query).

You can also authenticate using the session id (SID). In fact the sessions are not closed by the command line utility. Example:

$ wos --user JohnDoe --password 12345 connect
Authenticated using SID: ABCDEFGHIJKLM

$ wos --sid ABCDEFGHIJKLM query 'AU=Knuth Donald' -c1
Authenticated using SID: ABCDEFGHIJKLM
<?xml version="1.0" ?>
<records>
    <REC r_id_disclaimer="ResearcherID data provided by Clarivate Analytics">
        <UID>WOS:000287850200007</UID>
        <static_data>
            <summary>
                <EWUID>
                    <WUID coll_id="WOS"/>
                    <edition value="WOS.SCI"/>
                </EWUID>
                <pub_info coverdate="MAR 2011" has_abstract="N" issue="1"
                          pubmonth="MAR" pubtype="Journal" pubyear="2011"
                          sortdate="2011-03-01" vol="33">
                    <page begin="33" end="45" page_count="13">33-45</page>
                </pub_info>
                <titles count="6">
                    <title type="source">MATHEMATICAL INTELLIGENCER</title>
....

$ wos --sid ABCDEFGHIJKLM doi '10.1007/s00283-010-9170-7'
10.1007/s00283-010-9170-7

Check the user_query documentation to understand how to create query strings.

Example

Obviously you can also use the python client programmatically:

from wos import WosClient
import wos.utils

with WosClient('JohnDoe', '12345') as client:
    print(wos.utils.query(client, 'AU=Knuth Donald'))

APIs

In wos 0.1.11+, the WosClient class can access the following APIs.

[FAQ] I cannot connect …

I am not affiliated with Clarivate. The library leverages the Web of Science WWS API (Web Services Premium or Lite), which is a paid service offered by Clarivate. This means that your institution has to pay for the Web of Science Core Collection access. The simple registration to Web of Knowledge / Web of Science does not entitle you to access the WWS API service.

So if you receive errors like No matches returned for Username or No matches returned for IP, these errors are thrown directly by the WWS API server. This means that the library is correctly communicating with the server, but you do not have access to the Web Services API. I do understand that you can access the WOS website from your network, but the website access and the API access (used in this project) are two separated products, and the website access does not imply the API access, since Clarivate bills them separately. This project does not scrape the website (which would violate the terms of usage) but invokes the WWS APIs offered by Clarivate. Thus there is nothing this project can do to help you.

If you think this is an error and you should be entitled to access the services, please contact Clarivate support first and verify if you have the WWS access. Please open an issue ONLY when you have (1) verified with Clarivate support that you have WWS access; (2) verified that you are connected from the correct network.

Disclaimer

All product names, trademarks, and registered trademarks are the property of their respective owners. All company, product, and service names used in this document are for identification purposes only. The use of these names, trademarks, and brands do not constitute an endorsement or recommendation by the companies.

Metadata

Release files for wos 0.2.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wos 0.2.7
File Size Uploaded
wos-0.2.7.tar.gz 11.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wos 0.2.7
File Interpreter ABI Platform
wos-0.2.7-py2-none-any.whl Python 2 none any Details

Total release size: 22.4 kB

Release files / wos-0.2.7.tar.gz

Download URL wos-0.2.7.tar.gz
Size 11.4 kB
Tags Source
SHA-256 checksum
How to use checksums
942ee0fc526e959af7702a96dfecd97dce7f4f1301de58da60b63707020f99aa
BLAKE2b-256 checksum
How to use checksums
08536baa4a11e538ca7a3300d1102d583a34115ff1ebd10ce7ea72266824b4c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/2.7

Release files / wos-0.2.7-py2-none-any.whl

Download URL wos-0.2.7-py2-none-any.whl
Size 11.0 kB
Tags Python 2
SHA-256 checksum
How to use checksums
6177301abd54f254be3fc71d5a8208e27a2e90a38ddd313b4ec93b2080f7e28f
BLAKE2b-256 checksum
How to use checksums
f9bc15eae14294c77a6f9ec54327c9a4cd99dc59bb44cfa0530fd47fddb94128
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/2.7

Release history Release notifications | RSS feed

This release

0.2.7 This release

2 release files

0.2.6

1 release file

0.2.5

1 release file

0.2.4

1 release file

0.2.3

1 release file

0.2.2

1 release file

0.1.15

1 release file

0.1.14

1 release file

0.1.11

1 release file

0.1.10

1 release file

0.1.9

1 release file

0.1.8

1 release file

0.1.7

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page