The API

Since talking about actually creating a back end for your app would deviate significantly from the scope of this book, we’ll be using a simple HTTP API that requires no authentication: the popular comic site XKCD’s API.

Why XKCD?

You are probably already familiar with the XKCD website: its comics are often shared in engineering and computer-related communities (especially software development ones), and the XKCD API is very simple to use and requires no authentication, which means you will be able to use the code examples in this chapter without having to update placeholder API keys with ones you get by signing up for the usage of the API like you would if the example was about an API that requires authentication.

How the XKCD API Works ...

Get Programming Flutter now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.