Skip to content

Instantly share code, notes, and snippets.

@andycasey
Last active August 29, 2015 14:00
Show Gist options
  • Select an option

  • Save andycasey/11047437 to your computer and use it in GitHub Desktop.

Select an option

Save andycasey/11047437 to your computer and use it in GitHub Desktop.
well shit
In [1]: import ads
In [2]: first_query = list(ads.query(properties="software", rows=200))
In [3]: print len(first_query)
200
# OK, so the first query is limited by the number of rows we requested..
# This searches for both 'software' and 'refereed' properties...
In [4]: next_query = list(ads.query(properties=("software", "refereed"), rows=200))
In [5]: print len(next_query)
1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment