Skip to content

riquellopes/zerobounce-go-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status Go Report Card

Zerobounce Go Api

Go integration for ZeroBounce service.

Installation

go get github.com/riquellopes/zerobounce-go-api

Usage

First you will need an api token. Can you create an account at here and get your token.

Quick start

package main

import (
    "fmt"
    "os"

    . "github.com/riquellopes/zerobounce-go-api/zerobounce"
)

func main() {
    zero := ZeroBounce{Apikey: os.Getenv("API_KEY_ZERO")}

    fmt.Println(zero.Validate("contato@henriquelopes.com.br"))
    fmt.Println(zero.ValidateWithip("contato@henriquelopes.com.br"))
    fmt.Println(zero.GetCredits())
}

Releases

No releases published

Packages

No packages published

Languages