shell command to get bibtex entry from arxiv number [closed]












0















I am currently using the following curl command to get bibliographic information for a scientific article from its digital object identifier (DOI) number:



curl -LH "Accept: text/bibliography; style=bibtex" http://dx.doi.org/10.1901/jaba.1974.7-497a


I would like to be able to do something similar for arxiv articles, i.e. send the articles arxiv number to some web service and get bibliographic information back. How would I go about doing this?



I am looking for a solution in bash, zsh, or python.










share|improve this question















closed as off-topic by tripleee, AdrianHHH, Paul Roub, Pearly Spencer, Makyen Nov 15 '18 at 17:34


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – tripleee, AdrianHHH, Paul Roub, Pearly Spencer, Makyen

If this question can be reworded to fit the rules in the help center, please edit the question.

















  • That looks like a Bash command, are you looking for Python solutions or did you just put the wrong tag?

    – tripleee
    Nov 15 '18 at 11:29











  • Did you visit arxiv.org/help/api/index and look for bibliography support?

    – tripleee
    Nov 15 '18 at 11:31











  • @tripleee I'm looking for command line shell (bash, zsh) or a python solution.

    – sieste
    Nov 15 '18 at 12:07











  • kitchingroup.cheme.cmu.edu/blog/2015/03/09/…

    – kvantour
    Nov 15 '18 at 12:50
















0















I am currently using the following curl command to get bibliographic information for a scientific article from its digital object identifier (DOI) number:



curl -LH "Accept: text/bibliography; style=bibtex" http://dx.doi.org/10.1901/jaba.1974.7-497a


I would like to be able to do something similar for arxiv articles, i.e. send the articles arxiv number to some web service and get bibliographic information back. How would I go about doing this?



I am looking for a solution in bash, zsh, or python.










share|improve this question















closed as off-topic by tripleee, AdrianHHH, Paul Roub, Pearly Spencer, Makyen Nov 15 '18 at 17:34


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – tripleee, AdrianHHH, Paul Roub, Pearly Spencer, Makyen

If this question can be reworded to fit the rules in the help center, please edit the question.

















  • That looks like a Bash command, are you looking for Python solutions or did you just put the wrong tag?

    – tripleee
    Nov 15 '18 at 11:29











  • Did you visit arxiv.org/help/api/index and look for bibliography support?

    – tripleee
    Nov 15 '18 at 11:31











  • @tripleee I'm looking for command line shell (bash, zsh) or a python solution.

    – sieste
    Nov 15 '18 at 12:07











  • kitchingroup.cheme.cmu.edu/blog/2015/03/09/…

    – kvantour
    Nov 15 '18 at 12:50














0












0








0


1






I am currently using the following curl command to get bibliographic information for a scientific article from its digital object identifier (DOI) number:



curl -LH "Accept: text/bibliography; style=bibtex" http://dx.doi.org/10.1901/jaba.1974.7-497a


I would like to be able to do something similar for arxiv articles, i.e. send the articles arxiv number to some web service and get bibliographic information back. How would I go about doing this?



I am looking for a solution in bash, zsh, or python.










share|improve this question
















I am currently using the following curl command to get bibliographic information for a scientific article from its digital object identifier (DOI) number:



curl -LH "Accept: text/bibliography; style=bibtex" http://dx.doi.org/10.1901/jaba.1974.7-497a


I would like to be able to do something similar for arxiv articles, i.e. send the articles arxiv number to some web service and get bibliographic information back. How would I go about doing this?



I am looking for a solution in bash, zsh, or python.







python bash command-line bibtex






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 16 '18 at 12:29







sieste

















asked Nov 15 '18 at 11:22









siestesieste

4,16011534




4,16011534




closed as off-topic by tripleee, AdrianHHH, Paul Roub, Pearly Spencer, Makyen Nov 15 '18 at 17:34


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – tripleee, AdrianHHH, Paul Roub, Pearly Spencer, Makyen

If this question can be reworded to fit the rules in the help center, please edit the question.







closed as off-topic by tripleee, AdrianHHH, Paul Roub, Pearly Spencer, Makyen Nov 15 '18 at 17:34


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – tripleee, AdrianHHH, Paul Roub, Pearly Spencer, Makyen

If this question can be reworded to fit the rules in the help center, please edit the question.













  • That looks like a Bash command, are you looking for Python solutions or did you just put the wrong tag?

    – tripleee
    Nov 15 '18 at 11:29











  • Did you visit arxiv.org/help/api/index and look for bibliography support?

    – tripleee
    Nov 15 '18 at 11:31











  • @tripleee I'm looking for command line shell (bash, zsh) or a python solution.

    – sieste
    Nov 15 '18 at 12:07











  • kitchingroup.cheme.cmu.edu/blog/2015/03/09/…

    – kvantour
    Nov 15 '18 at 12:50



















  • That looks like a Bash command, are you looking for Python solutions or did you just put the wrong tag?

    – tripleee
    Nov 15 '18 at 11:29











  • Did you visit arxiv.org/help/api/index and look for bibliography support?

    – tripleee
    Nov 15 '18 at 11:31











  • @tripleee I'm looking for command line shell (bash, zsh) or a python solution.

    – sieste
    Nov 15 '18 at 12:07











  • kitchingroup.cheme.cmu.edu/blog/2015/03/09/…

    – kvantour
    Nov 15 '18 at 12:50

















That looks like a Bash command, are you looking for Python solutions or did you just put the wrong tag?

– tripleee
Nov 15 '18 at 11:29





That looks like a Bash command, are you looking for Python solutions or did you just put the wrong tag?

– tripleee
Nov 15 '18 at 11:29













Did you visit arxiv.org/help/api/index and look for bibliography support?

– tripleee
Nov 15 '18 at 11:31





Did you visit arxiv.org/help/api/index and look for bibliography support?

– tripleee
Nov 15 '18 at 11:31













@tripleee I'm looking for command line shell (bash, zsh) or a python solution.

– sieste
Nov 15 '18 at 12:07





@tripleee I'm looking for command line shell (bash, zsh) or a python solution.

– sieste
Nov 15 '18 at 12:07













kitchingroup.cheme.cmu.edu/blog/2015/03/09/…

– kvantour
Nov 15 '18 at 12:50





kitchingroup.cheme.cmu.edu/blog/2015/03/09/…

– kvantour
Nov 15 '18 at 12:50












1 Answer
1






active

oldest

votes


















1














original answer from sebastian-busch:




I've written a python script that returns the corresponding bib-entry
from an arxiv ID, you can find it on
http://www.thamnos.de/misc/look-up-bibliographical-information-from-an-arxiv-id/.
If you save it e.g. as arxiv2bib.py, you can call it as
arxiv2bib.py 1234.5678 or as
arxiv2bib.py http://arxiv.org/abs/1234.5678.






Someone also made a PHP script that can do it.



PHP to automatically create BibTeX entry from arXiv



From answer in how-to-cite-an-article-from-arxiv-using-bibtex






share|improve this answer
































    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    original answer from sebastian-busch:




    I've written a python script that returns the corresponding bib-entry
    from an arxiv ID, you can find it on
    http://www.thamnos.de/misc/look-up-bibliographical-information-from-an-arxiv-id/.
    If you save it e.g. as arxiv2bib.py, you can call it as
    arxiv2bib.py 1234.5678 or as
    arxiv2bib.py http://arxiv.org/abs/1234.5678.






    Someone also made a PHP script that can do it.



    PHP to automatically create BibTeX entry from arXiv



    From answer in how-to-cite-an-article-from-arxiv-using-bibtex






    share|improve this answer






























      1














      original answer from sebastian-busch:




      I've written a python script that returns the corresponding bib-entry
      from an arxiv ID, you can find it on
      http://www.thamnos.de/misc/look-up-bibliographical-information-from-an-arxiv-id/.
      If you save it e.g. as arxiv2bib.py, you can call it as
      arxiv2bib.py 1234.5678 or as
      arxiv2bib.py http://arxiv.org/abs/1234.5678.






      Someone also made a PHP script that can do it.



      PHP to automatically create BibTeX entry from arXiv



      From answer in how-to-cite-an-article-from-arxiv-using-bibtex






      share|improve this answer




























        1












        1








        1







        original answer from sebastian-busch:




        I've written a python script that returns the corresponding bib-entry
        from an arxiv ID, you can find it on
        http://www.thamnos.de/misc/look-up-bibliographical-information-from-an-arxiv-id/.
        If you save it e.g. as arxiv2bib.py, you can call it as
        arxiv2bib.py 1234.5678 or as
        arxiv2bib.py http://arxiv.org/abs/1234.5678.






        Someone also made a PHP script that can do it.



        PHP to automatically create BibTeX entry from arXiv



        From answer in how-to-cite-an-article-from-arxiv-using-bibtex






        share|improve this answer















        original answer from sebastian-busch:




        I've written a python script that returns the corresponding bib-entry
        from an arxiv ID, you can find it on
        http://www.thamnos.de/misc/look-up-bibliographical-information-from-an-arxiv-id/.
        If you save it e.g. as arxiv2bib.py, you can call it as
        arxiv2bib.py 1234.5678 or as
        arxiv2bib.py http://arxiv.org/abs/1234.5678.






        Someone also made a PHP script that can do it.



        PHP to automatically create BibTeX entry from arXiv



        From answer in how-to-cite-an-article-from-arxiv-using-bibtex







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Nov 21 '18 at 0:53

























        answered Nov 15 '18 at 12:08









        PedroPedro

        465




        465















            這個網誌中的熱門文章

            Tangent Lines Diagram Along Smooth Curve

            Yusuf al-Mu'taman ibn Hud

            Zucchini