Robtex-Go: Go Client for the Robtex API

While automating some aspects of my OSINT (Open-source Intelligence) process, I realised there was no Go client for the Robtex API, so I decided to create one.

Robtex-Go is a library that provides a little wrapper over such APIs, and can be quickly integrated in any other Go codebase:

package main

import (
	"fmt"
	"github.com/marco-lancini/robtex-go/robtex"
)

func main() {

	client := robtex.NewClient("https://freeapi.robtex.com", "")

	ipInfo := client.IpQuery("8.8.8.8")
	fmt.Println(ipInfo)

	asn := client.AsQuery(1234)
	fmt.Println(asn)

	passiveDns := client.PassiveDNS("www.google.com")
	fmt.Println(passiveDns)
}

Installation and usage instructions can be found on Github.

Robtex-Go can be found on Github: https://github.com/marco-lancini/robtex-go.