9 Accessing APIs to enhance functionality
This chapter covers
- Enhancing the website using APIs
- Embedding tweets into a web page
- Creating forms using third-party APIs
- Using form APIs to create dynamic forms
- Creating a JSON-based API using Hugo’s output formats
In the first half of this book, we worked on the Hugo website in isolation. This chapter involves using Hugo to get access to data from outside of our website. We will also add dynamic features and learn how the Jamstack can perform tasks requiring server intervention without sacrificing the website’s performance.
In this chapter, we will focus on APIs, the A in Jamstack. APIs are mechanisms with which systems or components in a system can interact. A service exposes certain functionality ...
Get Hugo in Action 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.