An API wrapper for Springer Nature
Project description
Simple API wrapper for the Springer Nature APIs
🏔️ Overview Springer Nature
Springer Nature currently offers three APIs:
Springer Metadata API: Metadata of articles, journal articles and book chapters.
Springer Meta API: Advanced version offering versioned metadata.
Springer OpenAccess API: Metadata and, where available, full-text.
⬇️ Install
Download and install the package from PyPI:
pip install sprynger
🪧 Example Use
>>> from sprynger import Meta, OpenAccess, init
>>> init(api_key='your free api key from https://dev.springernature.com')
>>>
>>> # Get metadata of all chapters in the book with ISBN '978-3-031-63497-0'
>>> book_metadata = Metadata(isbn='978-3-031-63497-0', nr_results=3)
>>> for chapter in book_metadata:
>>> print(chapter.identifier)
>>> print(chapter.abstract)
'doi:10.1007/978-3-031-63498-7_20'
'Modern solvers for quantified Boolean formulas (QBFs) process formulas in prenex form, ...'
'doi:10.1007/978-3-031-63498-7_9'
'Given a finite consistent set of ground literals, we present an algorithm that generates ...'
'doi:10.1007/978-3-031-63498-7_3'
'The TPTP World is a well established infrastructure that supports research, development, ...'
>>> # Print the facets of the retrieved chapter's metadata
>>> book_metadata.facets
[MetadataFacets(facet='subject', value='Artificial Intelligence', count='27'),...]
>>>
>>> # Retrieve full-text of 'journal articles' with the keyword 'quantum computing' published before 2023
>>> results = OpenAccess('"quantum computing"', dateto='2022-12-30', type='Journal Article', nr_results=3)
>>> results.documents_found
4350
>>> for document in results:
>>> print(document.title)
>>> print(document.paragraphs[0].text)
'A neural network assisted'
'A versatile magnetometer must deliver a readable response when exposed to target fields ...'
'Experimental demonstration of classical analogous time-dependent superposition of states'
'One of the quantum theory concepts on which quantum information processing stands is superposition ...'
'A quantum-like cognitive approach to modeling human biased selection behavior'
'Cognitive biases of the human mind significantly influence the human decision-making process ...'
📖 Documentation
For a comprehensive guide, see the documentation in read the docs.
⭐️ Give the package a star
If the package helped you, give it a star!
⚠️ Disclaimer
This project is an independent API wrapper for the Springer Nature API. It is not affiliated with, endorsed, or maintained by Springer Nature. For official support, please refer to the Springers’s documentation. and support channels.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file sprynger-0.3.1.tar.gz
.
File metadata
- Download URL: sprynger-0.3.1.tar.gz
- Upload date:
- Size: 28.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dd5bbc28488c39e803bcfc6d892be12eaac493b6e521fcc51af6366a7cd8fe1 |
|
MD5 | 603a861c9fd17efe6de49e45f1f97eb8 |
|
BLAKE2b-256 | edfb2b0ae0bad7450e8f0747e4fb0c7b6a71f96ec2acd0d6901a32c89533b35a |
Provenance
The following attestation bundles were made for sprynger-0.3.1.tar.gz
:
Publisher:
python-publish.yml
on nils-herrmann/sprynger
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
sprynger-0.3.1.tar.gz
- Subject digest:
1dd5bbc28488c39e803bcfc6d892be12eaac493b6e521fcc51af6366a7cd8fe1
- Sigstore transparency entry: 148438455
- Sigstore integration time:
- Predicate type:
File details
Details for the file sprynger-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: sprynger-0.3.1-py3-none-any.whl
- Upload date:
- Size: 34.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4462800ed72ceed0e14c7f13fa5239d7394e0b8c2627054a23d9256b2187b525 |
|
MD5 | d579200c7998170333802fb0cffb5c6f |
|
BLAKE2b-256 | 5bfe6c307b483e3cc54681ab915488bffabe867fe81b978b818924183d41f29e |
Provenance
The following attestation bundles were made for sprynger-0.3.1-py3-none-any.whl
:
Publisher:
python-publish.yml
on nils-herrmann/sprynger
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
sprynger-0.3.1-py3-none-any.whl
- Subject digest:
4462800ed72ceed0e14c7f13fa5239d7394e0b8c2627054a23d9256b2187b525
- Sigstore transparency entry: 148438456
- Sigstore integration time:
- Predicate type: