Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ipwhois

Wrapper around py-ipwhois.

To use this package you must have Python and ipwhois installed.

Usage

package main

import (
	"fmt"
	"log"

	"github.com/rikonor/ipwhois"
)

func main() {
	res, err := ipwhois.LookupIP("8.8.8.8")
	if err != nil {
		log.Fatal(err)
	}
	fmt.Printf("%s", res)
}

The User-Agent requests are made with can be overridden via ipwhois.LookupIPWithUA.

License

MIT

About

Wrapper around py-ipwhois which has superior potassium

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages