This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Requests-AEAweb is a custom Requests class to log onto, the website of the American Economic Association.


Curently can only be downloaded from source; available on pip very soon.

$ pip install requests_aeaweb


Detailed documentation available at


The AEAweb class logs onto and establishes a connection with the host. The session attribute returns a Request Session object with all the methods of the main Requests API.

>>> from requests_aeaweb import AEAweb

# Establish AEAweb connection object.
>>> deets = {'username': 'someuser', 'password': 'XXXX'}
>>> conn = AEAweb(login=deets)

# Use session attribute to access Requests methods.
>>> url = '{}/articles.php'.format(conn.url)
>>> payload = {'doi': '10.1257/aer.20130626'}
>>> request = conn.session.get(url, params=payload)
>>> request.status_code

# Do stuff with your request object.
>>> from bs4 import BeautifulSoup
>>> soup = BeautifulSoup(request.text, 'html.parser')
>>> soup.title
'AEAweb: AER (106,3) p. 525 - University Differences in the Graduation of Minorities in STEM Fields: Evidence from California'

The AER subclass contains the html, pdf and ref methods to download the webpage HTML, PDF and bibliographic information of articles published in the American Economic Review.

>>> from requests_aeaweb import AER

# Establish AEAweb connection object via AER.
>>> conn = AER(login=deets)

# Download the HTML of the article with document id 10.1257/aer.20140289.
>>> doc_id = '10.1257/aer.20140289'
>>> html = conn.html(id=doc_id)

# Download the document PDF.
>>> pdf = conn.pdf(id=doc_id, file='article.pdf')

# Download the bibliographic information.
>>> biblio = conn.ref(id=doc_id)
>>> biblio['Authors']
[{'Affiliation': 'Johns Hopkins U', 'Name': 'Korinek, Anton'}, {'Affiliation': 'MIT', 'Name': 'Simsek, Alp'}]
Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
requests-aeaweb-0.0.1.tar.gz (5.0 kB) Copy SHA256 Checksum SHA256 Source Mar 4, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting