Python Quick Start Web

This post will be a collection of the posts we have written about Python for

the web. What is Python for the Web? Basically, python programs that interface/scrape websites and/or utilize web based APIs.

If you like what you read, please take a moment to share it using the buttons

above.

In the API documentation, you can see there are tons of things to do.

A very good way of learning Python is trying to work with various Web Services

API’s. In order to answer that, we will first have to get some knowledge about API’s,

JSON, Data structures etc.

“Web scraping (web harvesting or web data extraction) is a computer software technique of extracting information from websites.”

HTML parsing is easy in Python, especially with help of the BeautifulSoup library. In this post we will scrape a website (our own) to extract all URL’s.

Twitter’s API is REST-based and will return results as either XML or JSON, as well as both RSS and ATOM feed formats. Public timelines can be accessed by any client, but all other Twitter methods require authentication.

A common first step when you want to use a Web-based services is to see if they have an API.

urllib2 is a Python module that can be used for fetching URLs.

Requests is an Apache2 Licensed HTTP library, written in Python. It is designed to be used by humans to interact with the language.

Beautiful Soup is a Python library for pulling data out of HTML and XML files.

In this post we will take a look on how we can download and parse syndicated

feeds with Python.

“Web scraping (web harvesting or web data extraction) is a computer software technique of extracting information from websites.”

HTML parsing is easy in Python, especially with help of the BeautifulSoup library. In this post we will scrape a website (our own) to extract all URL’s.

An application programming interface (API) is a protocol intended to be used as

an interface by software components to communicate with each other.

Recommended Python Training For Python training, our top recommendation is DataCamp. Free Trial

A very useful python module for navigating through web forms is Mechanize.

In this post we will be looking on how to use the YouTube API in Python. This program will show how we can use the API to retrieve feeds from YouTube.

Vimeo offers an API which lets us integrate with their site and build applications

on top of their data.

The mechanize module in Python gives you a browser like object to interact with web pages.

urllib2 is a Python module for fetching URLs.

The Requests module is a an elegant and simple HTTP library for Python.

Request to an HTTP API is often just the URL with some query parameters.

In this post we will explain how you can parse JSON objects in Python.

Knowing how to parse JSON objects is useful when you want to access an API

from various web services that gives the response in JSON.

JSON (JavaScript Object Notation) is a compact, text based format for computers to exchange data.