spamwatch-go is official Go wrapper for SpamWatch API

Overview

SpamWatch API Go Wrapper

Go Reference GPLv3 license

spamwatch-go is official Go wrapper for SpamWatch API, which is fast, secure and requires no additional packages to be installed.


Features

  • Can use custom SpamWatch API endpoint with the help of ClientOpts.
  • It's in pure go, no need to install any kind of plugin or include any kind of additional files.
  • No third party library bloat; only uses standard library.
  • Type safe; no weird interface{} logic.

Getting started

You can easily download the library with the standard go get command:

go get github.com/SpamWatch/spamwatch-go

Full documentation of this API, can be found here.


Basic Usage

package main

import (
	"fmt"

	"github.com/SpamWatch/spamwatch-go"
)

var client = spamwatch.Client("API_KEY", nil)

func main() {
	ban, err := client.GetBan(777000)
	if err != nil {
		fmt.Println(err.Error())
		return
	}
	fmt.Println(ban)
}

Still need more examples? Take a look at the examples directory.

Ask your doubts at the support group.


License

GNU General Public License v3.0

The spamwatch-go project is under the GPL-3.0 license. You can find the license file here.

Releases(v1.0.0)
  • v1.0.0(Oct 9, 2021)

    spamwatch-go v1.0.0

    What's Changed

    • spamwatch-go v1 by @anonyindian in https://github.com/SpamWatch/spamwatch-go/pull/1

    New Contributors

    • @anonyindian made their first contribution in https://github.com/SpamWatch/spamwatch-go/pull/1

    Full Changelog: https://github.com/SpamWatch/spamwatch-go/commits/v1.0.0

    Source code(tar.gz)
    Source code(zip)
Owner
SpamWatch
Repos for the SpamWatch Telegram channel: t.me/SpamWatch
SpamWatch
Unofficial SDK of official notion API in Go

notion-go A go client for the Notion API Description This aims to be an unofficial Go version of the official SDK which is written in JavaScript. Inst

Pei-Ming Wu 8 Aug 20, 2021
Go client for official Notion API.

notion notion is a Go client for the Notion API. Features The client supports all (non-deprecated) endpoints available in the Notion API, as of May 15

Krzysztof Kowalczyk 19 Dec 5, 2021
The NVD API is an unofficial Go wrapper around the NVD API.

NVD API The NVD API is an unofficial Go wrapper around the NVD API. Supports: CVE CPE How to use The following shows how to basically use the wrapper

Lucas TESSON 3 May 9, 2022
A Wrapper Client for Google Spreadsheet API (Sheets API)

Senmai A Wrapper Client for Google Spreadsheet API (Sheets API) PREPARATION Service Account and Key File Create a service account on Google Cloud Plat

ytnobody / satoshi azuma 0 Nov 5, 2021
A GoLang wrapper for Politics & War's API. Forego the hassle of accessing the API directly!

A GoLang wrapper for Politics & War's API. Forego the hassle of accessing the API directly!

null 1 Mar 5, 2022
Amplitude unofficial client for Go, inspired in their official SDK for Node

Amplitude Golang SDK Amplitude unofficial client for Go, inspired in their official SDK for Node. For reference, visit HTTP API v2 documentation. Inst

Renato Almeida 5 Apr 23, 2022
WeChat Official Account's Verification using Revel

Welcome to Revel A high-productivity web framework for the Go language. Start the web server: revel run myapp Go to http://localhost:9000/ and you'll

Tri R.A. Wibowo 0 Dec 25, 2021
Simple golang airtable API wrapper

Golang Airtable API A simple #golang package to access the Airtable API. Table of contents Golang Airtable API Table of contents Installation Basic us

mehanizm 37 Mar 21, 2022
This is a Golang wrapper for working with TMDb API. It aims to support version 3.

This is a Golang wrapper for working with TMDb API. It aims to support version 3. An API Key is required. To register for one, head over to themoviedb

Cyro Dubeux 52 May 18, 2022
⚡️ SharePoint authentication, HTTP client & fluent API wrapper for Go (Golang)

Gosip - SharePoint authentication, HTTP client & fluent API wrapper for Go (Golang) Main features Unattended authentication using different strategies

Andrew Koltyakov 73 May 10, 2022
Trello API wrapper for Go

Go Trello API A #golang package to access the Trello API. Nearly 100% of the read-only surface area of the API is covered, as is creation and modifica

Aaron Longwell 199 Apr 13, 2022
null 86 May 3, 2022
The fantastic Reddit API wrapper for gophers

mira is a Reddit Api Wrapper written in beautiful Go. It is super simple to use the bot as we also provide you with simple but fully extensive interfaces. Currently, mira is a project that is considered more or less complete.

Sandy 54 Apr 2, 2022
A small, fast, reliable pastemyst API wrapper written in Golang

A small, fast, reliable pastemyst API wrapper written in Golang. Official pastemyst API docs found here.

null 11 Nov 18, 2021
A Telegraph API wrapper in Go

Telegra.ph is a minimalist publishing tool that allows you to create richly formatted posts and push them to the Web in just a click. Telegraph posts also get beautiful Instant View pages on Telegram. So, this Go wrapper enables you to do all that easily.

Anony 23 May 16, 2022
Unofficial Anilist.co GraphQL API wrapper for GoLang.

anilistWrapGo Unofficial Anilist.co GraphQL API wrapper for GoLang. Examples All examples are present as tests in test directory. Below are a few snip

ダンクデル (Sayan Biswas) 14 Feb 17, 2022
Pterodactyl API wrapper written in Golang

WARNING That repository isn't available for production environment. Many endpoints aren't yet implemented. Be careful if you are using that module. pt

Luiz Otávio de Farias Correa 3 Mar 28, 2022
💻 Quotable.io API Wrapper + CLI App

?? Quotable.io API Wrapper + CLI App

Eliaz Bobadilla 9 Apr 9, 2022
A Wrapper of the Piston API in Golang

Go-Piston! This is a Go wrapper for working with the Piston API. It supports both the endpoints, namely runtimes and execute, mentioned here. ?? Insta

null 7 Feb 20, 2022