Documentation
¶
Overview ¶
Copyright © 2025 Vapi, Inc.
Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Authors:
Dan Goosewin <[email protected]>
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VapiClient ¶
type VapiClient struct {
// contains filtered or unexported fields
}
func NewVapiClient ¶
func NewVapiClient(apiKey string) (*VapiClient, error)
func (*VapiClient) DoRawJSON ¶ added in v0.2.1
func (v *VapiClient) DoRawJSON(ctx context.Context, method, path string, body []byte) (map[string]interface{}, error)
DoRawJSON sends a raw JSON request to the Vapi API using the underlying client. path should be like "/assistants/<id>". method is e.g. "PATCH".
func (*VapiClient) GetClient ¶
func (v *VapiClient) GetClient() *vapiclient.Client
func (*VapiClient) GetConfig ¶ added in v0.0.2
func (v *VapiClient) GetConfig() *config.Config