Skip to main content

An API wrapper for Springer Nature

Project description

sprynger

Simple API wrapper for the Springer Nature APIs.

PyPI version Python versions Documentation Status Downloads License Maintainability

🏔️ 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 Metadata, OpenAccessJournal, OpenAccessBook, init

init()
article_metadata = Metadata('10.1007/s10288-023-00561-5')
article_metadata.records

[MetadataRecord(contentType='Article', identifier='doi:10.1007/s10288-023-00561-5', language='en', ...)]

journal_metadata = Metadata('1422-6952', start=5, max_results=10)
journal_metadata.facets

[MetadataFacets(facet='subject', value='Mathematical Methods in Physics', count='1075'), MetadataFacets(facet='subject', value='Physics', count='1075'), MetadataFacets(facet='subject', value='Fluid- and Aerodynamics', count='1062'), ...]

OpenAccess

journal = OpenAccessJournal('2198-6053', cache=True, refresh=False)
journal.journal_meta

JournalMeta(publisher_id='40747', doi=None, journal_title='Complex & Intelligent Systems', journal_abbrev_title='Complex Intell. Syst.', issn_print='2199-4536', ...)

journal.article_meta[1]

ArticleMeta(publisher_id='s40747-024-01487-z', manuscript='1487', doi='10.1007/s40747-024-01487-z')

journal.paragraphs[1]

[OpenAcessParagraph(paragraph_id='Par2', section_id='Sec1', section_title='Introduction', text='Facing the ..., OpenAcessParagraph(paragraph_id='Par3', section_id='Sec1', section_title='Introduction', text='In order ..., ...]

book = OpenAccessBook("978-3-031-63500-7", start=1, max_results=2, refresh=30)
book.paragraphs[1]

[OpenAcessParagraph(paragraph_id='Par2', section_id='Sec1', section_title='Introduction', text='The characterisation of ..., OpenAcessParagraph(paragraph_id='Par3', section_id='Sec1', section_title='Introduction', text='Establishing ...,...]

📖 Documentation

For a comprehensive guide, see the documentation in read the docs.

⚠️ 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


Download files

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

Source Distribution

sprynger-0.0.0a3.tar.gz (16.0 kB view hashes)

Uploaded Source

Built Distribution

sprynger-0.0.0a3-py3-none-any.whl (20.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page