Returns a new connection object, which is the starting point for working with the Zoltar API. Once you have the connection you can call zoltar_authenticate() on it, and then call projects() to get a list of Project objects to start working with.

new_connection(host = "https://zoltardata.com")

Arguments

host

The Zoltar site to connect to. Does not include a trailing slash ('/'). Defaults to https://zoltardata.com

Value

A ZoltarConnection object

Details

A note on URLs: We require a trailing slash ('/') on all URLs. The only exception is the host arg passed to this function. This convention matches Django REST framework one, which is what Zoltar is written in.

Examples

if (FALSE) {
  conn <- new_connection()
}