urlenricher

command module
v0.0.0-...-46fe095 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2019 License: LGPL-3.0 Imports: 13 Imported by: 0

README

urlenricher

Build Status Go Report Card codecov

Purpose:

expose a REST api for URL repudiation.

One connecter is already written(it uses the Brigthcloud api BRIGTHCLOUD API

USAGE

go get marian-craciunescu/urlenricher
cd $GOPATH/src/github.com/marian-craciunescu/urlenricher 
go build 

./urlenricher --api_key=BrightcloudApiKey --api_secret=BrightcloudApiSecret

EXAMPLE

curl -XGET http://127.0.0.1:8081/resolve?target=www.google.com

#Response is the format
{
  "Address": "www.google.com",
  "ReputationPercentage": 81,
  "Categories": [
    {
      "ID": 50,
      "Name": "Search Engines",
      "Group": "Productivity",
      "Confidence": 100
    }
  ],
  "SubdomainNumber": 0,
  "Ts": "2018-09-06T13:29:49.06775243Z"
}

ROADMAP

  1. Increase Code coverage
  2. Add more connectors.
  3. Add swagger for the REST api description
  4. add golangci.com and codecov.io for CI/CD

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL