Hi Tip-Sheeters, This week brings one of the most exciting times of the year for me: the National Football League kicks off its regular season. I'm a fan of the Kansas City Chiefs, and they'll be playing their opener in São Paolo, Brazil (in Arena Corinthians if there are any serious soccer fans out there). This also means Fantasy Football Season begins!! I'm a huge fantasy football fanatic, and I'll be managing five teams this year. What is fantasy football, you ask? Here is a succinct definition from the FantasyPros Fantasy Football 101: In fantasy football, you select and manage a team of real NFL players. The players on your team earn points for your team based on their real-life performance in games each week. These points are then totaled and compared to your opponent’s team each week to determine the winner.
-- FantasyPros.com
Fantasy Football, APIs, and AI: A perfect teamSince I enjoy this hobby so much, it was only natural to use it for the examples in my book that came out in April: Hands-on APIs for AI and Data Science. The book's been a success, hitting Amazon #1 New Release when it launched. I've had fun this year speaking and sharing tips from the book. So how exactly does the book use fantasy football to teach about APIs and AI? Glad you asked. Every Imaginary Business needs a WebsitePart 1 of my book walks readers through the API Product Management Lifecycle: understanding user needs and designing and building a FastAPI REST API to serve them. The business scenario is built on an imaginary website named SportsWorldCentral: Based on this business scenario, readers design and build the SportsWorldCentral API. This contains API endpoints providing data about players, teams, and scoring: You'll also learn to deploy the API using Docker, Render, and Amazon Web Services. Building Data Analytics for FootballWith a running API, you're ready to start using it for data science. One of the first projects is building a data app using Streamlit. You'll build a multi-page app with charts and data filters, sourced from the API you built. (Or based on one you can launch with the code repo if you're in a hurry.) Here's the team stats page you'll create: Developing Your Own Custom MetricsPossibly the most fun I had in writing the book was developing a metric that had been bouncing around my head for many years: The Shark League Score. This Metric used a variety of data features to answer the question: Is my fantasy league as tough as I think? The chapter uses sub-metrics like the League Balance Score and League Juice Score to make the final product: The Big Finish: Using Your API with Generative AIPart Three of the book gives readers the skills to develop custom AI agents that consume APIs. You'll use products like ChatGPT, LangChain, and Anthropic APIs to chat with your data. Here is a look at the Custom GPT you will develop: If you really want to get technical, you'll learn to build an AI Agent using LangChain. Here's the architecture you'll implement:
Are You Ready for Football, AI, and APIs?If you haven't checked checked out the book yet, I'd be flattered if you took a look at it! Here are two easy options:
Hope your fantasy football season is a good one! Keep coding, Ryan Day 👉 https://tips.handsonapibook.com/ -- no spam, just a short email every week. |
This is my weekly newsletter where I share some useful tips that I've learned while researching and writing the book Hands-on APIs for AI and Data Science, a #1 New Release from O'Reilly Publishing
Hi Tip-Sheeters, In Tip Sheet #22, I demonstrated creating an MCP server to connect to my Football API. This week, I'll update that demo to the latest version of FastMCP and MCP Cloud. It's another good chance to pitch you why you need an ongoing side project, which I'm calling an Anchor Project. Why You Need an Anchor Project ⚓💪 I learn best by building, and I've found that a lot of other tech and data people do as well. A valuable method for me is to build real-world projects, as I wrote...
Hi Tip-Sheeters, Great interview tips for your up-skilling this week, and don't miss a couple of links at the end related to a new tool worth checking out. Creating an Up-Skilling Plan Andres Vourakis is a Data Scientist at Nextory and the creator of the To Be a Data Scientist newsletter, which provides a lot of technical content and career advice for data scientists. Andres shared a post recently titled How I'm Currently Upskilling as a Senior Data Scientist in Tech (2025 Edition) with a...
Hi Tip-Sheeters, This week I'm bringing you a chat with another one of the speakers from the API Superstream I spoke at a few weeks ago. Zdenek Nemec is the founder and CTO of Superface.ai, where he is pushing the boundaries of agentic AI. He is a frequent speaker on APIs and AI, and presented at the Superstream on the topic “APIs for AI: Have we failed?” Ryan: Your topic had an intriguing title “APIs for AI: Have we failed?” I think the first thing we all want to know is…have we? Z: We (as...