All URIs are relative to https://api.unifapi.com
| Method | HTTP request | Description |
|---|---|---|
| LocalSearchPost | Post /local/search | Search Local Finder |
LocalSearchPost200Response LocalSearchPost(ctx).LocalFinderRequest(localFinderRequest).Execute()
Search Local Finder
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/unifapi-agent/unifapi-sdk-go"
)
func main() {
localFinderRequest := *openapiclient.NewLocalFinderRequest("Query_example") // LocalFinderRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.LocalAPI.LocalSearchPost(context.Background()).LocalFinderRequest(localFinderRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `LocalAPI.LocalSearchPost``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `LocalSearchPost`: LocalSearchPost200Response
fmt.Fprintf(os.Stdout, "Response from `LocalAPI.LocalSearchPost`: %v\n", resp)
}Other parameters are passed through a pointer to a apiLocalSearchPostRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| localFinderRequest | LocalFinderRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]