Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New formats added to export list #83

Merged

Conversation

jonnybazookatone
Copy link
Collaborator

Noticed there was some new formats added to the export end point, so added them in the client.

Added them to the client as possible formats.
@coveralls
Copy link

coveralls commented Dec 1, 2016

Coverage Status

Coverage remained the same at 92.052% when pulling 6ccae32 on jonnybazookatone:feature/export-types-update into bd3dc5b on andycasey:master.

@vsudilov
Copy link
Collaborator

vsudilov commented Dec 1, 2016

Could you test those live with your personal api key just to make sure nothing breaks on either our end or ads?

@jonnybazookatone
Copy link
Collaborator Author

Yeah, I did, they're fine:

In [3]: import ads

In [4]: ads.ExportQuery(bibcodes='2017NewA...52..133P', format='mnras').execute()
Out[4]: '\\bibitem[\\protect\\citeauthoryear{Paunzen et al.}{2017}]{2017NewA...52..133P} Paunzen E., et al., 2017, NewA, 52, 133 \n\n\n'

In [5]: ads.ExportQuery(bibcodes='2017NewA...52..133P', format='soph').execute()
Out[5]: "\\bibitem[Paunzen \\emph{et al.}(2017)]{2017NewA...52..133P}Paunzen, E., Handler, G., Lendl, M., Baumann, B., Rab, C., Meingast, S., Rode-Paunzen, M., Netopil, M., Antoci, V., Zhu, L., Zejda, M., and Bo{\\v z}i{\\'c}, H.: 2017, {\\it New Astronomy} {\\bf 52}, 133. \n\n\n"

@vsudilov vsudilov merged commit c039d67 into andycasey:master Dec 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants