In summary, we saw how to contact an external API with Ruby. We took a deeper look at how to work with the httparty gem and saw how we can query an entire API and inspect it thoroughly with a few lines of code, which showcases the power and simplicity of the httparty gem. We also walked through the process of building a custom API connector.
We analyzed how we can query and view raw data from the Stack Overflow API. Additionally, we extended this knowledge and demonstrated how we can parse data in order to use it in a program.
In the next chapter, we're going to walk through popular algorithms and see how to implement them in Ruby.