Skip to content

Requests API Demo #5

@nickdibari

Description

@nickdibari

Networking/

Using the requests library from the scrapy.py Web Scraper demo, explore how to use the requests module to send requests to an arbitrary API to get some data and perform some computations/display of data. Should detail how to set up keys for the API && AVOID ADDING KEYS TO VERSION CONTROL. Additionally, demo should explain how to format a request to the API, how to authenticate requests (if needed), and how to process data retrieved from API. Potential demo could utilize the Weather Undergound API to retrieve information on current weather conditions and display them on the terminal.

Weather Underground API: https://www.wunderground.com/weather/api/
Requests Module Documentation: http://docs.python-requests.org/en/master/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions