© J.J. Merelo 2020
J. MereloRaku Recipeshttps://doi.org/10.1007/978-1-4842-6258-0_9

9. Client-Side Web and APIs

J. J. Merelo1 
(1)
Granada, Granada, Spain
 

The web is the infinite source of information, and it’s right there for you to tap. Lots of services can be used straight away, in other cases you have to do some massaging, and in yet other cases you need to be properly authorized. In all these cases, Raku is there to help you.

Recipe 9-1. Query a GeoIP Database

Problem

You have a bunch of Internet addresses in your log file, and you need to know where they come from to check out which countries are interested in your content.

Solution

Use GeoIP2, a module in the Raku ecosystem, to query a MaxMind database, a database that includes information about ...

Get Raku Recipes: A Problem-Solution Approach 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.