Skip to content

mustafaocak/tranco

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

tranco

package to access to the Tranco list, published at https://tranco-list.eu.

Usage

import github.com/mustafaocak/tranco

Create a variable of type TrancoList

var tl tranco.TrancoList

To get the latest tranco list

t.Should_cache = true
tl = t.List("latest")

To get the rank info a domain in the list

fmt.Println(tl.Rank("google.com"))

To get top 10 elements of the list

fmt.Println(tl.Top(10))

About

package to get trancolist

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages