Skip to main content

aiocrossref

Asynchronous client for CrossRef API

Example

import asyncio

from aiocrossref import CrossrefClient

async def works(doi):
    client = CrossrefClient()
    return await client.works(doi)

response = asyncio.get_event_loop().run_until_complete(works('10.21100/compass.v11i2.812'))
assert(response == { 
  'DOI': '10.21100/compass.v11i2.812',
  'ISSN': ['2044-0081', '2044-0073'],
  'URL': 'http://dx.doi.org/10.21100/compass.v11i2.812',
  'abstract': '<jats:p>Abstract: Educational policy and provision is '
              'ever-changing; but how does pedagogy need to adapt to respond '
              'to transhumanism? This opinion piece discusses transhumanism, '
              'questions what it will mean to be posthuman, and considers the '
              'implications of this on the future of education.</jats:p>',
  'author': [ { 'affiliation': [],
                'family': 'Gibson',
                'given': 'Poppy Frances',
                'sequence': 'first'}],
  'container-title': ['Compass: Journal of Learning and Teaching'],
  'content-domain': {'crossmark-restriction': False, 'domain': []},
  'created': { 'date-parts': [[2018, 12, 17]],
               'date-time': '2018-12-17T09:42:26Z',
               'timestamp': 1545039746000},
  'deposited': { 'date-parts': [[2019, 6, 11]],
                 'date-time': '2019-06-11T10:29:57Z',
                 'timestamp': 1560248997000},
  'indexed': { 'date-parts': [[2020, 4, 14]],
               'date-time': '2020-04-14T14:52:16Z',
               'timestamp': 1586875936184},
  'is-referenced-by-count': 0,
  'issn-type': [ {'type': 'print', 'value': '2044-0073'},
                 {'type': 'electronic', 'value': '2044-0081'}],
  'issue': '2',
  'issued': {'date-parts': [[2018, 12, 10]]},
  'journal-issue': { 'issue': '2',
                     'published-online': {'date-parts': [[2018, 12, 10]]}},
  'link': [ { 'URL': 'https://journals.gre.ac.uk/index.php/compass/article/viewFile/812/pdf',
              'content-type': 'application/pdf',
              'content-version': 'vor',
              'intended-application': 'text-mining'},
            { 'URL': 'https://journals.gre.ac.uk/index.php/compass/article/viewFile/812/pdf',
              'content-type': 'unspecified',
              'content-version': 'vor',
              'intended-application': 'similarity-checking'}],
  'member': '8854',
  'original-title': [],
  'prefix': '10.21100',
  'published-online': {'date-parts': [[2018, 12, 10]]},
  'publisher': 'Educational Development Unit, University of Greenwich',
  'reference-count': 0,
  'references-count': 0,
  'relation': {},
  'score': 1.0,
  'short-container-title': ['Compass'],
  'short-title': [],
  'source': 'Crossref',
  'subtitle': [],
  'title': [ 'From Humanities to Metahumanities: Transhumanism and the Future '
             'of Education'],
  'type': 'journal-article',
  'volume': '11'})

Metadata

Release files for aiocrossref 0.3.0

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

Source distribution (sdist)

Source distribution for aiocrossref 0.3.0
File Size Uploaded
aiocrossref-0.3.0.tar.gz 5.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aiocrossref 0.3.0
File Interpreter ABI Platform
aiocrossref-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.8 kB

Release files / aiocrossref-0.3.0.tar.gz

Download URL aiocrossref-0.3.0.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4f448fbc76d0618a40c5cdbf643382d20139f46ac5038f3c4c4c9adae24b617f
BLAKE2b-256 checksum
How to use checksums
8e1314d39de24238583f01f4e2a220b94216f4ad1cd6ef133fce9ed6eae31ec6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.10

Release files / aiocrossref-0.3.0-py3-none-any.whl

Download URL aiocrossref-0.3.0-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eb56da506a3b710034bd6b31b25c9559e77f2f9f0911cc3e55625013166deb61
BLAKE2b-256 checksum
How to use checksums
0abdcf8e43f9445fe0756d535dc2fdecf907dd231dc8b08d8a8ec61edc52411f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.10

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.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