Http

How to Stream from the Mastodon API via HTTP in Python

As I’ve mentioned in many of my blog posts before this one, Mastodon has a publicly available API which can be used to scrape statuses, collect hashtags and much more.

One feature that...

How to Scrape Mastodon Timelines Using Python and Pandas

Over the past few months, Mastodon, the Federated microblogging alternative to Twitter, has gained a lot of attraction in light of the events going on surrounding Elon Musk's purchase of Twitter. U...

Interacting With REST APIs in Python With 5 Lines of Code

An essential skill for any web scraper or data scientist is to know how to collect information from a publicly available REST API. In short, a REST API is a very s...