pyastroapi.api.export

Module Contents

Functions

ads(→ _exportType)

Get the ADS format

bibtexabs(→ _exportType)

Get the Bibtex + abstract export

bibtex(→ _exportType)

Get the bibtex

endnote(→ _exportType)

Get the Endnote format

medlars(→ _exportType)

Get the MEDLARS format

procite(→ _exportType)

Get the Procite format

refworks(→ _exportType)

Get the Refworks format

ris(→ _exportType)

Get the RIS format

aastex(→ _exportType)

Get the AASTeX format

icarus(→ _exportType)

Get the Icarus format

mnras(→ _exportType)

Get the MNRAS format

soph(→ _exportType)

Get the SoPh format

dcxml(→ _exportType)

Get the Dublin Core (DC) XML format

refxml(→ _exportType)

Get the REF-XML format

refabsxml(→ _exportType)

Get the REFABS XML format

rss(→ _exportType)

Get the RSS format

votable(→ _exportType)

Get the VOTables format

ieee(→ _exportType)

Get the IEEE format

csl(→ _exportType)

Export in the given style format

custom(→ _exportType)

Export in a custom format

pyastroapi.api.export.ads(token: str, bibcode: str | List[str]) _exportType

Get the ADS format

https://ui.adsabs.harvard.edu/help/api/api-docs.html#get-/export/ads/-bibcode-

Parameters:
  • token (str) – ADSABS token

  • bibcode (t.Union[str, t.List[str]]) – Either a single bibcode or a list of bibcodes

Returns:

Export data

Return type:

_exportType

pyastroapi.api.export.bibtexabs(token: str, bibcode: str | List[str]) _exportType

Get the Bibtex + abstract export

https://ui.adsabs.harvard.edu/help/api/api-docs.html#get-/export/bibtexabs/-bibcode-

Parameters:
  • token (str) – ADSABS token

  • bibcode (t.Union[str, t.List[str]]) – Either a single bibcode or a list of bibcodes

Returns:

Export data

Return type:

_exportType

pyastroapi.api.export.bibtex(token: str, bibcode: str | List[str]) _exportType

Get the bibtex

https://ui.adsabs.harvard.edu/help/api/api-docs.html#get-/export/bibtex/-bibcode-

Parameters:
  • token (str) – ADSABS token

  • bibcode (t.Union[str, t.List[str]]) – Either a single bibcode or a list of bibcodes

Returns:

Export data

Return type:

_exportType

pyastroapi.api.export.endnote(token: str, bibcode: str | List[str]) _exportType

Get the Endnote format

https://ui.adsabs.harvard.edu/help/api/api-docs.html#get-/export/endnote/-bibcode-

Parameters:
  • token (str) – ADSABS token

  • bibcode (t.Union[str, t.List[str]]) – Either a single bibcode or a list of bibcodes

Returns:

Export data

Return type:

_exportType

pyastroapi.api.export.medlars(token: str, bibcode: str | List[str]) _exportType

Get the MEDLARS format

https://ui.adsabs.harvard.edu/help/api/api-docs.html#get-/export/medlars/-bibcode-

Parameters:
  • token (str) – ADSABS token

  • bibcode (t.Union[str, t.List[str]]) – Either a single bibcode or a list of bibcodes

Returns:

Export data

Return type:

_exportType

pyastroapi.api.export.procite(token: str, bibcode: str | List[str]) _exportType

Get the Procite format

https://ui.adsabs.harvard.edu/help/api/api-docs.html#get-/export/procite/-bibcode-

Parameters:
  • token (str) – ADSABS token

  • bibcode (t.Union[str, t.List[str]]) – Either a single bibcode or a list of bibcodes

Returns:

Export data

Return type:

_exportType

pyastroapi.api.export.refworks(token: str, bibcode: str | List[str]) _exportType

Get the Refworks format

https://ui.adsabs.harvard.edu/help/api/api-docs.html#get-/export/refworks/-bibcode-

Parameters:
  • token (str) – ADSABS token

  • bibcode (t.Union[str, t.List[str]]) – Either a single bibcode or a list of bibcodes

Returns:

Export data

Return type:

_exportType

pyastroapi.api.export.ris(token: str, bibcode: str | List[str]) _exportType

Get the RIS format

https://ui.adsabs.harvard.edu/help/api/api-docs.html#get-/export/ris/-bibcode-

Parameters:
  • token (str) – ADSABS token

  • bibcode (t.Union[str, t.List[str]]) – Either a single bibcode or a list of bibcodes

Returns:

Export data

Return type:

_exportType

pyastroapi.api.export.aastex(token: str, bibcode: str | List[str]) _exportType

Get the AASTeX format

https://ui.adsabs.harvard.edu/help/api/api-docs.html#get-/export/aastex/-bibcode-

Parameters:
  • token (str) – ADSABS token

  • bibcode (t.Union[str, t.List[str]]) – Either a single bibcode or a list of bibcodes

Returns:

Export data

Return type:

_exportType

pyastroapi.api.export.icarus(token: str, bibcode: str | List[str]) _exportType

Get the Icarus format

https://ui.adsabs.harvard.edu/help/api/api-docs.html#get-/export/icarus/-bibcode-

Parameters:
  • token (str) – ADSABS token

  • bibcode (t.Union[str, t.List[str]]) – Either a single bibcode or a list of bibcodes

Returns:

Export data

Return type:

_exportType

pyastroapi.api.export.mnras(token: str, bibcode: str | List[str]) _exportType

Get the MNRAS format

https://ui.adsabs.harvard.edu/help/api/api-docs.html#get-/export/mnras/-bibcode-

Parameters:
  • token (str) – ADSABS token

  • bibcode (t.Union[str, t.List[str]]) – Either a single bibcode or a list of bibcodes

Returns:

Export data

Return type:

_exportType

pyastroapi.api.export.soph(token: str, bibcode: str | List[str]) _exportType

Get the SoPh format

https://ui.adsabs.harvard.edu/help/api/api-docs.html#get-/export/soph/-bibcode-

Parameters:
  • token (str) – ADSABS token

  • bibcode (t.Union[str, t.List[str]]) – Either a single bibcode or a list of bibcodes

Returns:

Export data

Return type:

_exportType

pyastroapi.api.export.dcxml(token: str, bibcode: str | List[str]) _exportType

Get the Dublin Core (DC) XML format

https://ui.adsabs.harvard.edu/help/api/api-docs.html#get-/export/dcxml/-bibcode-

Parameters:
  • token (str) – ADSABS token

  • bibcode (t.Union[str, t.List[str]]) – Either a single bibcode or a list of bibcodes

Returns:

Export data

Return type:

_exportType

pyastroapi.api.export.refxml(token: str, bibcode: str | List[str]) _exportType

Get the REF-XML format

https://ui.adsabs.harvard.edu/help/api/api-docs.html#get-/export/refxml/-bibcode-

Parameters:
  • token (str) – ADSABS token

  • bibcode (t.Union[str, t.List[str]]) – Either a single bibcode or a list of bibcodes

Returns:

Export data

Return type:

_exportType

pyastroapi.api.export.refabsxml(token: str, bibcode: str | List[str]) _exportType

Get the REFABS XML format

https://ui.adsabs.harvard.edu/help/api/api-docs.html#get-/export/refabsxml/-bibcode-

Parameters:
  • token (str) – ADSABS token

  • bibcode (t.Union[str, t.List[str]]) – Either a single bibcode or a list of bibcodes

Returns:

Export data

Return type:

_exportType

pyastroapi.api.export.rss(token: str, bibcode: str | List[str]) _exportType

Get the RSS format

https://ui.adsabs.harvard.edu/help/api/api-docs.html#get-/export/rss/-bibcode-

Parameters:
  • token (str) – ADSABS token

  • bibcode (t.Union[str, t.List[str]]) – Either a single bibcode or a list of bibcodes

Returns:

Export data

Return type:

_exportType

pyastroapi.api.export.votable(token: str, bibcode: str | List[str]) _exportType

Get the VOTables format

https://ui.adsabs.harvard.edu/help/api/api-docs.html#get-/export/votable/-bibcode-

Parameters:
  • token (str) – ADSABS token

  • bibcode (t.Union[str, t.List[str]]) – Either a single bibcode or a list of bibcodes

Returns:

Export data

Return type:

_exportType

pyastroapi.api.export.ieee(token: str, bibcode: str | List[str]) _exportType

Get the IEEE format

https://ui.adsabs.harvard.edu/help/api/api-docs.html#get-/export/ieee/-bibcode-

Parameters:
  • token (str) – ADSABS token

  • bibcode (t.Union[str, t.List[str]]) – Either a single bibcode or a list of bibcodes

Returns:

Export data

Return type:

_exportType

pyastroapi.api.export.csl(token: str, bibcodes: str | List[str], style: str = 'aastex', format: str = 'latex', journal: str = 'aastex') _exportType

Export in the given style format

https://ui.adsabs.harvard.edu/help/api/api-docs.html#post-/export/csl

Parameters:
  • token (str) – ADSABS token

  • bibcode (t.Union[str, t.List[str]]) – Either a single bibcode or a list of bibcodes

  • style (str) – Journal style to use must be one of aastex┃icarus┃mnras┃soph┃aspc┃apsj┃aasj┃ieee

  • format (str) – Output format must be one of unicode|html|latex

  • journal (str) – Format of journal name must be one of aastex|abbev|full

Returns:

Export data

Return type:

_exportType

pyastroapi.api.export.custom(token: str, bibcodes: str | List[str], format: str) _exportType

Export in a custom format

https://ui.adsabs.harvard.edu/help/api/api-docs.html#post-/export/custom

Parameters:
  • token (str) – ADSABS token

  • bibcode (t.Union[str, t.List[str]]) – Either a single bibcode or a list of bibcodes

  • format (str) – Format code to use

Returns:

Export data

Return type:

_exportType