{
"info": {
"author": "Erin Hengel",
"author_email": "erin@erinhengel.com",
"bugtrack_url": null,
"classifiers": [],
"description": "Requests-NBER\r\n=============\r\n\r\nRequests-NBER is a custom `Requests `_ class to log onto `NBER.org `_, the website of the National Bureau of Economic Research.\r\n\r\n\r\nInstallation\r\n------------\r\n\t\r\n.. code-block:: bash\r\n\r\n\t$ pip install requests_nber\r\n\r\n\r\nDocumentation\r\n-------------\r\n\r\nDetailed documentation available at `www.erinhengel.com/software/requests-nber `_. \r\n\r\n\r\nQuickstart\r\n----------\r\n\r\nThe ``NBER`` class logs onto `NBER.org `_ and establishes a connection with the host.\r\nContains a ``session`` attribute that returns a\r\n`Request Session object `_\r\nwith all the methods of the main `Requests API `_.\r\n\r\n\r\n.. code-block:: python\r\n\r\n >>> import requests_nber\r\n\t\r\n # Establish NBER connection object.\r\n >>> deets = {'username': 'someuser', 'password': 'XXXX'}\r\n >>> conn = requests_nber.NBER(login=deets)\r\n\t\r\n # Download the HTML of the paper with document id t1.\r\n >>> doc_id = 't1'\r\n >>> html = conn.html(id=doc_id)\r\n\t\r\n # Download the document PDF.\r\n >>> pdf = conn.pdf(id=doc_id, file='article.pdf')\r\n \r\n # Download the bibliographic information.\r\n >>> biblio = conn.ref(id=doc_id)\r\n >>> biblio['doi']\r\n '10.3386/t0001'\r\n >>> biblio['author']\r\n 'Seppo Honkapohja and Takatoshi Ito'",
"description_content_type": null,
"docs_url": null,
"download_url": "UNKNOWN",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "http://www.erinhengel.com/software/requests-nber/",
"keywords": "",
"license": "Apache 2.0",
"maintainer": "",
"maintainer_email": "",
"name": "requests-nber",
"package_url": "https://pypi.org/project/requests-nber/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/requests-nber/",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "http://www.erinhengel.com/software/requests-nber/"
},
"release_url": "https://pypi.org/project/requests-nber/0.0.1/",
"requires_dist": null,
"requires_python": null,
"summary": "Requests wrapper to log onto NBER.org.",
"version": "0.0.1"
},
"last_serial": 2041477,
"releases": {
"0.0.1": [
{
"comment_text": "",
"digests": {
"md5": "69a366174af9238527bb31be54afdf7a",
"sha256": "6cc0b900631684ae5738fda137c6d3bc9a7a1fbdd97bc3977ed6a3da5b4b8b02"
},
"downloads": -1,
"filename": "requests-nber-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "69a366174af9238527bb31be54afdf7a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3815,
"upload_time": "2016-04-02T05:04:14",
"url": "https://files.pythonhosted.org/packages/61/d1/5ab476780d9b68a76a0525a56d2bb568ad22667d7bcc171f85da64cd5a75/requests-nber-0.0.1.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "69a366174af9238527bb31be54afdf7a",
"sha256": "6cc0b900631684ae5738fda137c6d3bc9a7a1fbdd97bc3977ed6a3da5b4b8b02"
},
"downloads": -1,
"filename": "requests-nber-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "69a366174af9238527bb31be54afdf7a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3815,
"upload_time": "2016-04-02T05:04:14",
"url": "https://files.pythonhosted.org/packages/61/d1/5ab476780d9b68a76a0525a56d2bb568ad22667d7bcc171f85da64cd5a75/requests-nber-0.0.1.tar.gz"
}
]
}