Wrap-up

In this chapter, you learned how to use a third-party API client to bring in outside information. This gives your Lita bot capabilities that would otherwise be a lot to build out yourself. You’ll find that taking a query from chat and sending it to an external API is a common theme throughout this book. After implementing a few of these examples, you’ll be ready to identify and integrate other useful APIs for your chatbot and your other programs.

This chapter’s detours into POROs and WebMock are useful building blocks for larger challenges in your future. In the next chapter, you’ll learn how to use the Imgflip API to create jokey meme images for your chat rooms.

Challenges

  • Community-oriented Lita bots tend to have a few very common use ...

Get Build Chatbot Interactions 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.