Header menu logo FSharp.Data.Fred

Fred Type

Represents a type for accessing the Fred API. You must provide an api key.

Example

   let myFred = Fred "insert your API key here"
val myFred: obj
or
   let myFred = Fred.loadKey "fredKey.json"
val myFred: obj

Constructors

Constructor Description

Fred(key)

Full Usage: Fred(key)

Parameters:
    key : string

Returns: Fred
key : string
Returns: Fred

Instance members

Instance member Description

this.Key

Full Usage: this.Key

Returns: string

Fred API key

Returns: string

this.Series

Full Usage: this.Series

Returns: Series

Represents a Fred data series.

Returns: Series

Static members

Static member Description

Fred.loadKey keyFile

Full Usage: Fred.loadKey keyFile

Parameters:
    keyFile : string

Returns: string

Loads a Fred api key from a json file.

keyFile : string
Returns: string
Example

 let myFred = Fred.loadKey @"c:\my\fredKey.json"
val myFred: obj

Type something to start searching.