An API wrapper for Springer Nature
Project description
sprynger
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
Note: sprynger currently supports the Metadata and OpenAccess API
🪧 Example
Metadata
from sprynger import DocumentMetadata, Metadata, init
init()
article = DocumentMetadata('10.1007/s10660-023-09761-x')
article.metadata
MetadataRecord(contentType='Article', identifier='doi:10.1007/s10660-023-09761-x', language='en', ...)
book_metadata = Metadata('978-3-030-43582-0')
for record in book_metadata:
print(record)
MetadataRecord(contentType='Chapter', title='Explanations of Machine Learning', abstract='There is an unavoidable tension...',...
MetadataRecord(contentType='Chapter', title='From Holmes to AlphaGo', abstract='Holmes’s enduring interest was in the...',...
...
OpenAccess
from sprynger import OpenAccessArticle, OpenAccessChapter, OpenAccessJournal, OpenAccessBook
article = OpenAccessArticle('10.1007/s10288-023-00561-5')
article.paragraphs[0]
OpenAcessParagraph(paragraph_id='Par2', ..., text='Continuing the first part of this paper, in which we provided a brief survey of the state of the art in multiple criteria decision aiding (MCDA)...')
journal = OpenAccessJournal('2198-6053')
for article in journal:
print(article.metadata)
ArticleMeta(article_type='correction', language='en', publisher_id='s40747-0...
ArticleMeta(article_type='research-article', language='en', publisher_id='s40...
...
book = OpenAccessBook("978-3-031-63500-7", start=1, max_results=2, refresh=30)
for chapter in book:
print(chapter.metadata)
ChapterMeta(doi='10.1007/978-3-031-63501-4_13', chapter='13')
ChapterMeta(doi='10.1007/978-3-031-63501-4_18', chapter='18')
📖 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
Hashes for sprynger-0.0.0a5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e3317f8bc0be1a28198ad091f5841eaebf2628979a46a4af4bb9c356d6269f9 |
|
MD5 | cba7cd3726278dc7bb0298debb92eded |
|
BLAKE2b-256 | f631de69d09c55f88b3886d6b720147f264a2bfb7c63ee3b14680d43064c1af5 |