• Gets a JSON from a web site.

    Parameters

    • url: string

      Address of JSON

    • Optional authentication: UserSession

      Credentials for the request

    Returns Promise<any>

    Promise that will resolve with JSON