GithubHelp home page GithubHelp logo

Comments (3)

jonnybazookatone avatar jonnybazookatone commented on May 25, 2024 2

This was a problem introduced on the ADS API side the other day, and should be fixed now (adsabs/solr-service#13). Thanks for raising the issue.

More specifically, the request from the client had all the fields removed (by the API) except id and so the Article class had no attributes other than id. Anything accessing bibcode etc., would then crash.

from ads.

irbdavid avatar irbdavid commented on May 25, 2024

I have the same issue I think. I can verify my API token works using curl, but can't get any results from any queries - either attribute errors or empty values are returned for every example I try:

In [35]: q = ads.SearchQuery(q='star', fl=['id', 'bibcode', 'title', 'citation_count'])
In [36]: for paper in q: print(paper.title, paper.citation_count)
None None
...

Python 3.5.1 / Anaconda 2.4.0 (x86_64) / IPython 4.0.0

from ads.

ryanvarley avatar ryanvarley commented on May 25, 2024

The bibtex code still works, i think bibcode is just no longer being assigned to the class.
https://github.com/andycasey/ads/blob/master/ads/search.py#L237

i.e this does work

from .export import ExportQuery
ExportQuery(bibcodes="2008Natur.452..329S", format="bibtex").execute()

from ads.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.