Our CLI app works, but it sure would be awesome if it had some additional features. In this post, we’ll add support for command-line options, JSON output, and automatic copy-to-the-clipboard. Let’s dive right in! If you’re just jumping on, you can check out the previous parts here: Part 1, Part 2, Part 3, and Part…
A Simple Node App to Generate Random Addresses and Geocode Them – Geocoding Results with the Google Maps API
Our address-generator CLI app is now capable of grabbing a random US address. We just need to geocode that address. In this post, we’ll leverage the Google Map Geocoding API to do exactly that!
When we last left off, we had our AddressCreator partially working. It makes a request to fakena.me and receives a response. Now we need to actually use that response.
In part 2 of our series, we’ll look at a website that returns random, real-world addresses, and we’ll see how we can use npm packages to issue requests to this site.
Every app needs random data at some point, but what if that random data also needs to be real? That’s the challenge I ran into when generating test addresses for one of my clients. Since we wanted to plot these addresses on the map, they had to be real, physical places. Oh, and I needed…