leadpinggo

package module
v1.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2026 License: MIT Imports: 27 Imported by: 0

README

Leadping Leadping Go SDK

Type-safe Go client for the Leadping API.

Install

go get github.com/leadpingai/leadping-go

The generated client uses a Kiota request adapter. Install the default HTTP adapter:

go get github.com/microsoft/kiota-http-go

Use

package main

import (
    "context"

    leadping "github.com/leadpingai/leadping-go"
)

func main() {
    adapter := createLeadpingRequestAdapter()
    client := leadping.NewLeadpingOpenApiClient(adapter)

    me, err := client.Users().Me().Get(context.Background(), nil)
    if err != nil {
        panic(err)
    }

    _ = me
}

createLeadpingRequestAdapter is application code. Configure it to send one of:

  • Authorization: Bearer <token>
  • X-Leadping-Api-Key: <key>

The client defaults to https://api.leadping.ai when the adapter does not already have a base URL.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LeadpingOpenApiClient

LeadpingOpenApiClient the main entry point of the SDK, exposes the configuration and the fluent API.

func NewLeadpingOpenApiClient

NewLeadpingOpenApiClient instantiates a new LeadpingOpenApiClient and sets the default values.

func (*LeadpingOpenApiClient) Analytics

Analytics the analytics property returns a *AnalyticsRequestBuilder when successful

func (*LeadpingOpenApiClient) Automations

Automations the automations property returns a *AutomationsRequestBuilder when successful

func (*LeadpingOpenApiClient) Businesses

Businesses the businesses property returns a *BusinessesRequestBuilder when successful

func (*LeadpingOpenApiClient) Contact

Contact the contact property returns a *ContactRequestBuilder when successful

func (*LeadpingOpenApiClient) Conversations

Conversations the conversations property returns a *ConversationsRequestBuilder when successful

func (*LeadpingOpenApiClient) Dispositions

Dispositions the dispositions property returns a *DispositionsRequestBuilder when successful

func (*LeadpingOpenApiClient) Events

Events the events property returns a *EventsRequestBuilder when successful

func (*LeadpingOpenApiClient) Feedback

Feedback the feedback property returns a *FeedbackRequestBuilder when successful

func (*LeadpingOpenApiClient) Leads

Leads the leads property returns a *LeadsRequestBuilder when successful

func (*LeadpingOpenApiClient) Notifications

Notifications the notifications property returns a *NotificationsRequestBuilder when successful

func (*LeadpingOpenApiClient) Outbound

Outbound the outbound property returns a *OutboundRequestBuilder when successful

func (*LeadpingOpenApiClient) PaymentMethods

PaymentMethods the paymentMethods property returns a *PaymentMethodsRequestBuilder when successful

func (*LeadpingOpenApiClient) PhoneNumbers

PhoneNumbers the phoneNumbers property returns a *PhoneNumbersRequestBuilder when successful

func (*LeadpingOpenApiClient) Reports

Reports the reports property returns a *ReportsRequestBuilder when successful

func (*LeadpingOpenApiClient) Sms

Sms the sms property returns a *SmsRequestBuilder when successful

func (*LeadpingOpenApiClient) Sources

Sources the sources property returns a *SourcesRequestBuilder when successful

func (*LeadpingOpenApiClient) Tags

Tags the tags property returns a *TagsRequestBuilder when successful

func (*LeadpingOpenApiClient) Transactions

Transactions the transactions property returns a *TransactionsRequestBuilder when successful

func (*LeadpingOpenApiClient) Usage

Usage the usage property returns a *UsageRequestBuilder when successful

func (*LeadpingOpenApiClient) Users

Users the users property returns a *UsersRequestBuilder when successful

func (*LeadpingOpenApiClient) Wallets

Wallets the wallets property returns a *WalletsRequestBuilder when successful

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL