{"action":"created","issue":{"url":"https://api.github.com/repos/adsabs/adsabs-dev-api/issues/7","labels_url":"https://api.github.com/repos/adsabs/adsabs-dev-api/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/adsabs/adsabs-dev-api/issues/7/comments","events_url":"https://api.github.com/repos/adsabs/adsabs-dev-api/issues/7/events","html_url":"https://github.com/adsabs/adsabs-dev-api/issues/7","id":62125967,"number":7,"title":"open access property wrong","user":{"login":"birnstiel","id":3997171,"avatar_url":"https://avatars.githubusercontent.com/u/3997171?v=3","gravatar_id":"","url":"https://api.github.com/users/birnstiel","html_url":"https://github.com/birnstiel","followers_url":"https://api.github.com/users/birnstiel/followers","following_url":"https://api.github.com/users/birnstiel/following{/other_user}","gists_url":"https://api.github.com/users/birnstiel/gists{/gist_id}","starred_url":"https://api.github.com/users/birnstiel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/birnstiel/subscriptions","organizations_url":"https://api.github.com/users/birnstiel/orgs","repos_url":"https://api.github.com/users/birnstiel/repos","events_url":"https://api.github.com/users/birnstiel/events{/privacy}","received_events_url":"https://api.github.com/users/birnstiel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-16T16:00:44Z","updated_at":"2015-03-17T01:00:43Z","closed_at":null,"body":"All articles from my query seem to be marked with the property \"OPENACCESS\", even those, which should not be, such as recent A&A papers which become open access only after 1 year and should therefore only marked as \"EPRINT_OPENACCESS\" in case they are on arXiv.\r\n\r\nExample:\r\n\r\n    import json, urllib2, os\r\n    DEVKEY = os.environ['ADS_DEV_KEY']\r\n    DOI='10.1051/0004-6361/201424669'\r\n    URL = r'http://adslabs.org/adsabs/api/search/?q=doi:\"'+DOI+'\"&dev_key=' + DEVKEY\r\n    PUBS = json.load(urllib2.urlopen(URL))['results']['docs']\r\n    if 'OPENACCESS' in PUBS[0]['property']:\r\n        print('article in open access')\r\n    elif 'EPRINT_OPENACCESS' in PUBS[0]['property']:\r\n        print('article in green open access')\r\n    else:\r\n        print('article NOT in open access')\r\n\r\nResult:\r\n\r\n    article in open access\r\n\r\nBut the article is [not open access](http://dx.doi.org/10.1051/0004-6361/201424669)."},"comment":{"url":"https://api.github.com/repos/adsabs/adsabs-dev-api/issues/comments/82012108","html_url":"https://github.com/adsabs/adsabs-dev-api/issues/7#issuecomment-82012108","issue_url":"https://api.github.com/repos/adsabs/adsabs-dev-api/issues/7","id":82012108,"user":{"login":"birnstiel","id":3997171,"avatar_url":"https://avatars.githubusercontent.com/u/3997171?v=3","gravatar_id":"","url":"https://api.github.com/users/birnstiel","html_url":"https://github.com/birnstiel","followers_url":"https://api.github.com/users/birnstiel/followers","following_url":"https://api.github.com/users/birnstiel/following{/other_user}","gists_url":"https://api.github.com/users/birnstiel/gists{/gist_id}","starred_url":"https://api.github.com/users/birnstiel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/birnstiel/subscriptions","organizations_url":"https://api.github.com/users/birnstiel/orgs","repos_url":"https://api.github.com/users/birnstiel/repos","events_url":"https://api.github.com/users/birnstiel/events{/privacy}","received_events_url":"https://api.github.com/users/birnstiel/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T01:00:43Z","updated_at":"2015-03-17T01:00:43Z","body":"Hi Alberto!\r\n\r\nNo, still not the right name! Where do you get these names from? Should be easy to find out my name based on this thread! Hint: I'm not very far from you. :smiley:\r\n\r\nAnyway: thanks a lot for the answer. I also found that the ADS 2.0 libraries can be queried based on their identifier, for example:\r\n\r\nhttp://adslabs.org/adsabs/api/search/?dev_key=DEVKEY&q=%2A%3A%2A&bigquery=3c1ffb0f-728c-4780-b78c-6e7c4d08997d"}}