Git Product home page Git Product logo

go-bing's Introduction

go-bing

Golang Library for bing search API v7

Before getting started with this lib you need to get a Bing Search Token

go-bin is written with simplicity in mind

Installation

go get -v github.com/Nhoya/go-bing

Usage

package main

import (
        "fmt"
        "github.com/Nhoya/go-bing"
)

func main() {
        //Create new Client instance
        client := bing.NewClient("INSERT TOKEN HERE")
        //Start searching
        resp, err := client.Search("Nhoya gOSINT")
        if err != nil {
                panic(err)
        }
        //Iterate over search results
        for _, result := range resp.WebPages.Value {
            //Printing result name and URL    
            fmt.Println(result.Name, "||", result.URL)
        }
}

//Output:
//GitHub - Nhoya/gOSINT: OSINT framework in Go || https://github.com/Nhoya/gOSINT
//Refactoring lots of stuff · Nhoya/gOSINT@2bb5d91 · GitHub || https://github.com/Nhoya/gOSINT/commit/2bb5d913da7c3ad4636cfc02c719e347a6c2fc2e
//gOSINT - Open Source Intelligence Framework - KitPloit ... || https://www.kitploit.com/2018/01/gosint-open-source-intelligence.html
//gOSINT – Open Source Threat Intelligence Gathering ... || https://pentesttoolz.com/2018/01/22/gosint-open-source-threat-intelligence-gathering-processing-framework-2/
//...

go-bing's People

Contributors

nhoya avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.