Constructor
new Sphinx(authopt, apiBaseopt)
Create a new Sphinx.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
auth |
Requestable.auth
|
<optional> |
the credentials to authenticate to Sphinx. If auth is not provided requests will be made unauthenticated |
|
apiBase |
string
|
<optional> |
https://sphinx.bluehack.net |
the base Sphinx API URL |