James Ashford
  • Home
  • About
  • Services
  • Tutorials
  • Guide
  • Self-Hosting
  • Talks
Sign in Subscribe

http

How to Stream from the Mastodon API via HTTP in Python

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 I have yet to mention in this blog is the ability to stream statuses as Mastodon features
James Ashford Aug 17, 2023
How to Scrape Mastodon Timelines Using Python and Pandas

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. Upon further inspection, it turns out most instances have a public facing REST API for allowing users to
James Ashford Feb 13, 2023
black and yellow printed paper

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 simple web service where simple HTTP requests (just like a web browser) are used to collect data usually in
James Ashford Feb 8, 2023

Essential Python Packages for the Web Scraping Toolbox in 2022

Python is known for being able to do many different things due to the versatility of the programming language. One thing Python is particularly well-known for is its ability to receive data over the Web using the requests package (more information can be found here). The requests package enables users
James Ashford Aug 11, 2022

Subscribe to James Ashford

Like what you see? Subscribe to my newsletter and get all my updates.
  • Sign up
  • About
  • Services
James Ashford © 2023. Powered by Ghost