pyastroapi.api.classic

Module Contents

Functions

mirrors(token)

Get a list of ADS classic mirror

user(token)

Get ADS classic registration email and mirror

signin(token, email, password, mirror)

Sign into ADS Classic account and link it to your main ADS account

pyastroapi.api.classic.mirrors(token: str)

Get a list of ADS classic mirror

https://ui.adsabs.harvard.edu/help/api/api-docs.html#get-/harbour/mirrors

Parameters:

token (str) – ADSABS token

Returns:

List of available mirrors

Return type:

list[str]

pyastroapi.api.classic.user(token: str)

Get ADS classic registration email and mirror

https://ui.adsabs.harvard.edu/help/api/api-docs.html#get-/harbour/user

Parameters:

token (str) – ADSABS token

Returns:

str: Email str: Classic mirror str: twopointoh_email

Return type:

Dict with

pyastroapi.api.classic.signin(token: str, email: str, password: str, mirror: str)

Sign into ADS Classic account and link it to your main ADS account

https://ui.adsabs.harvard.edu/help/api/api-docs.html#post-/harbour/auth/classic

Parameters:
  • token (str) – ADSABS token

  • email (str) – Classic email

  • password (str) – Classic password

  • mirror (str) – Classic mirror

Returns:

Email str: Classic mirror str: twopointoh_email

Return type:

str