The NVD API is an unofficial Go wrapper around the NVD API.

Overview

NVD API

reference go report codecov CI

The NVD API is an unofficial Go wrapper around the NVD API.

Supports:

How to use

The following shows how to basically use the wrapper to get all the CVEs for a given keyword.

package main

import (
	"fmt"
	"log"
	"net/http"

	"github.com/pandatix/nvdapi"
)

func main() {
	// Configure and issue the request
	params := nvdapi.GetCVEsParams{
		Keyword: str("gitea"),
	}
	resp, err := nvdapi.GetCVEs(&http.Client{}, params)
	if err != nil {
		log.Fatal(err)
	}

	// Make sure there are CVE items
	if resp.Result.CVEItems == nil {
		return
	}

	for _, item := range *resp.Result.CVEItems {
		fmt.Println(item.CVE.CVEDataMeta.ID)
	}
}

func str(str string) *string {
	return &str
}

How to contribute

Please read first the code of conduct.

To contribute, please refers to the contribution guide.

Contact

To provide feedbacks or submitting an issue, please file and issue. In case it's regarding a security issue, refers to the Security guide.

Releases(v0.3.0)
  • v0.3.0(Nov 1, 2021)

    Release 🎉 v0.3.0 🎉

    There are breaking changes in the structures names because of the newly supported CPE endpoint.

    Changelog

    • add support for CPE.
    • updates in cascade of a new NVD API version (no version tracking for now).
    • add a "reviews" section in README.md on the API schema for discussions.
    Source code(tar.gz)
    Source code(zip)
  • v0.2.0(Oct 15, 2021)

    Release 🎉 v0.2.0 🎉

    There are breaking changes in the module name.

    Changelog

    • renamed module from github.com/Pandatix/nvdapi to github.com/pandatix/nvdapi to avoid caps inconsistencies between the owner pseudo, the module and some implementation around go modules (like gomods/athens).
    Source code(tar.gz)
    Source code(zip)
  • v0.1.0(Oct 12, 2021)

    Release :tada: v0.1.0 :tada:

    This release is the first step of this repo, adding full support for CVE endpoints. It's fully convered by unit and integration tests.

    Changelog

    • Add support for specific CVE details fetch
    • Add support for CVEs details fetch
    Source code(tar.gz)
    Source code(zip)
Owner
Lucas TESSON
IT DUT (UCBL), Cyberdefense engineer (ENSIBS). Fan of C++, Go, CI and breaking everything I touch (say hello to your apps :smirk:).
Lucas TESSON
null 86 May 3, 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
A Go wrapper around the Notion API

go-notion A Go wrapper around the Notion API. | ⚠ This package is new and under active development. How to Use Install the package go get github.com/b

Brian Morrison II 1 Nov 19, 2021
This project is mostly a fancy wrapper around the Extract Table (github) API

Knockout-City-Stat-Scanner Credits This project is mostly a fancy wrapper around the Extract Table (github) API, they did all the heavy lifting here a

Ricky Grassmuck 0 Jan 30, 2022
Go client for the YNAB API. Unofficial. It covers 100% of the resources made available by the YNAB API.

YNAB API Go Library This is an UNOFFICIAL Go client for the YNAB API. It covers 100% of the resources made available by the YNAB API. Installation go

Bruno Souza 50 Apr 15, 2022
An unofficial API based on Hasura API Reference.

An unofficial API based on Hasura API Reference.

Minsky 1 Apr 14, 2022
Unofficial Google Trends API for Go

Google Trends API for Go Unofficial Google Trends API for Golang gogtrends is API wrapper which allows to get reports from Google Trends. All contribu

Max Ivanov 64 May 12, 2022
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
Avanza Unofficial GO API Client

Avanza Unofficial GO API Client Please note that I am not affiliated with Avanza Bank AB in any way. The underlying API can be taken down or changed w

null 8 Apr 16, 2022
Unofficial Go SDK for GoPay Payments REST API

Unofficial Go SDK for GoPay Payments REST API Installation go get https://github.com/apparently-studio/gopay-go-api Basic usage client := gopay.NewCl

Apparently Studio 2 Feb 5, 2022
unofficial NBA Stats API SDK in Go

nba api go (nag) is an unofficial NBA Stats API in Go. it is very much a Go port of nba_api. endpoints alltimeleadersgrids assistleaders assisttracker

aprp 0 Dec 11, 2021
Unofficial getpocket.com API Golang SDK

GetPocket API Golang SDK https://getpocket.com/developer/ Example usage: package main import ( "context" "fmt" pocket "github.com/ernur-eskermes/p

Ernur Eskermes 0 Nov 28, 2021
(unofficial) TexTra API client library

go-textra This is a library that translates with みんなの自動翻訳(minnano-jidou-honyaku)@textra's API. You need a textra account. package main import ( "fmt

Noboru Saito 1 Dec 13, 2021
unofficial golang api for proxybonanza.com

ProxyGonanza -- import "git.tcp.direct/kayos/proxygonanza" Documentation const ( APIBaseURL = "https://proxybonanza.com/api/v1/" ) func GetMyIP func

kayos 0 Dec 13, 2021
Unofficial golang implementation for the Preev API

go-preev The unofficial golang implementation for the Preev.pro API Table of Contents Installation Documentation Examples & Tests Benchmarks Code Stan

Mr. Z 6 Jan 17, 2022
Unofficial golang implementation for the pipl.com search API

go-pipl The unofficial golang wrapper for the pipl.com API. Table of Contents Installation Documentation Examples & Tests Benchmarks Code Standards Us

Mr. Z 5 Dec 27, 2021
🔗 Unofficial golang implementation for the NOWNodes API

go-nownodes The unofficial golang implementation for the NOWNodes.io API Table of Contents Installation Documentation Examples & Tests Benchmarks Code

Mr. Z 2 Jan 30, 2022
Golang SDK for Dusupay payment gateway API (Unofficial)

Dusupay API SDK GO (Unofficial) Description Unofficial Dusupay payment gateway API Client for Go API documentation https://docs.dusupay.com/ Installat

Anton Kornilov 1 Mar 22, 2022
Twilight is an unofficial Golang SDK for Twilio APIs

Twilight is an unofficial Golang SDK for Twilio APIs. Twilight was born as a result of my inability to spell Twilio correctly. I searched for a Twillio Golang client library and couldn’t find any, I decided to build one. Halfway through building this, I realized I had spelled Twilio as Twillio when searching for a client library on Github.

Ghvst Code 18 Jul 2, 2021