December 2017
Intermediate to advanced
316 pages
6h 58m
English
In this chapter, we are going to discuss how Go client applications work in depth. We will explore grequests, a Python request-style library that allows us to make API calls from the Go code. Then, we will write a client software that uses the GitHub API. In the course of this, we will try to learn about two wonderful libraries called cli and cobra. After these fundamentals, we will try to use the knowledge to write an API testing tool on the command line. Then we will see about Redis, an in-memory database which we can use to cache the API responses to backup the data.
In this chapter, we will cover the following topics: