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.
How to use Reddit API in Python
In the API documentation, you can see there are tons of things to do.
How to access various Web Services in Python
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.
Also Read: Python Program to Print the Equilateral Triangle Pattern of Star
Web Scraping with BeautifulSoup
“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.
Tweet Search with Python
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.
CommandLineFu with Python
A common first step when you want to use a Web-based services is to see if they have an API.
How to use urllib2 in Python
urllib2 is a Python module that can be used for fetching URLs.
Using Requests in Python
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 4 Python
Beautiful Soup is a Python library for pulling data out of HTML and XML files.
Using Feedparser in Python
In this post we will take a look on how we can download and parse syndicated feeds with Python.
Scraping websites 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.
Python API and JSON
An application programming interface (API) is a protocol intended to be used as an interface by software components to communicate with each other.
Python Mechanize Cheat Sheet
A very useful python module for navigating through web forms is Mechanize.
Using the YouTube API in Python
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.
How to use the Vimeo API in Python
Vimeo offers an API which lets us integrate with their site and build applications on top of their data.
Browsing in Python with Mechanize
The mechanize module in Python gives you a browser like object to interact with web pages.
Fetching data from the Internet
urllib2 is a Python module for fetching URLs.
The awesome requests module
The Requests module is a an elegant and simple HTTP library for Python.
Parsing JSON in Python
Request to an HTTP API is often just the URL with some query parameters.
Parse JSON objects in Python
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.
What is JSON
JSON (JavaScript Object Notation) is a compact, text based format for computers to exchange data.