Book Image

Building an API Product

By : Bruno Pedro
Book Image

Building an API Product

By: Bruno Pedro

Overview of this book

The exponential increase in the number of APIs is evidence of their widespread adoption by companies seeking to deliver value to users across diverse industries, making the art of building successful APIs an invaluable skill for anyone involved in product development. With this comprehensive guide, you’ll walk through the entire process of planning, designing, implementing, releasing, and maintaining successful API products. You’ll start by exploring all aspects of APIs, including their types, technologies, protocols, and lifecycle stages. Next, you’ll learn how to define an API strategy and identify business objectives, user personas, and jobs-to-be-done (JTBD). With these skills, you’ll delve into designing and validating API capabilities to create a machine-readable API definition. As you advance, the book helps you understand how to choose the right language and framework for securely releasing an API server and offers insights into analyzing API usage metrics, improving performance, and creating compelling documentation that users love. Finally, you’ll discover ways to support users, manage versions, and communicate changes or the retirement of an API. By the end of this API development book, you’ll have the confidence and skills to create API products that truly stand out in the market.
Table of Contents (26 chapters)
1
Part 1:The API Product
6
Part 2:Designing an API Product
11
Part 3:Implementing an API Product
16
Part 4:Releasing an API Product
20
Part 5:Maintaining an API Product

Second-degree user experience

Second-degree user experience is probably the most overlooked aspect of API experience. While it’s easy to understand developer experience, second-degree user experience is something most people don’t consider when building an API product. An API with a positive developer experience makes it easy for developers to build applications. In turn, those applications are used by end users who might be someone other than developers. Second-degree user experience is the experience that users have when they interact with the applications that developers build using your API. The interaction with the API is not done directly. Instead, users interact with the API through the application that they’re using. That’s why we call it second-degree use experience.

The way you design your API can considerably affect the second-degree user experience. Elements such as the choice of API architecture, the authentication scheme, and the way the...