/Shodan.FSharp

A Shodan API client for F#.

Primary LanguageF#MIT LicenseMIT

Shodan.FSharp AppVeyor Build Status Travis Build Status

Usage

open Shodan.FSharp

[<EntryPoint>]
let main argv = 
    // Acquire account info for the API key in config.yml
    let accountInfo = Shodan.AccountInfo() |> Async.RunSynchronously
    
    printfn "----- Account info -----\nUsername: %s\nCredits: %i\n\Date created: %s\n------------------------"
        accountInfo.DisplayName
        accountInfo.Credits
        (accountInfo.Created.ToString("dd/mm/yyyy"))
    0