GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — unifapi-sdk-go/docs/GeoAPI.md at main · unifapi-agent/unifapi-sdk-go

Expand file tree

/

GeoAPI.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
477 lines (298 loc) · 14.6 KB
/

GeoAPI.md

Copy path

File metadata and controls

477 lines (298 loc) · 14.6 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

\GeoAPI

All URIs are relative to https://api.unifapi.com

Method HTTP request Description
GeoKeywordsSearchVolumePost Post /geo/keywords/search-volume Get AI search volume for keywords
GeoMentionsAggregatedMetricsPost Post /geo/mentions/aggregated-metrics Aggregate LLM mention metrics by dimension
GeoMentionsCrossAggregatedMetricsPost Post /geo/mentions/cross-aggregated-metrics Compare LLM mentions across labeled groups
GeoMentionsSearchPost Post /geo/mentions/search Search LLM mentions of a domain or keyword
GeoMentionsTopDomainsPost Post /geo/mentions/top-domains List domains most cited in LLM answers
GeoMentionsTopPagesPost Post /geo/mentions/top-pages List pages most cited in LLM answers
GeoSerpPost Post /geo/serp Search AI Mode generative results

GeoKeywordsSearchVolumePost

GeoKeywordsSearchVolumePost200Response GeoKeywordsSearchVolumePost(ctx).GeoKeywordSearchVolumeRequest(geoKeywordSearchVolumeRequest).Execute()

Get AI search volume for keywords

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/unifapi-agent/unifapi-sdk-go"
)

func main() {
	geoKeywordSearchVolumeRequest := *openapiclient.NewGeoKeywordSearchVolumeRequest([]string{"Keywords_example"}) // GeoKeywordSearchVolumeRequest |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.GeoAPI.GeoKeywordsSearchVolumePost(context.Background()).GeoKeywordSearchVolumeRequest(geoKeywordSearchVolumeRequest).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `GeoAPI.GeoKeywordsSearchVolumePost``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `GeoKeywordsSearchVolumePost`: GeoKeywordsSearchVolumePost200Response
	fmt.Fprintf(os.Stdout, "Response from `GeoAPI.GeoKeywordsSearchVolumePost`: %v\n", resp)
}

Path Parameters

Other Parameters

Other parameters are passed through a pointer to a apiGeoKeywordsSearchVolumePostRequest struct via the builder pattern

Name Type Description Notes
geoKeywordSearchVolumeRequest GeoKeywordSearchVolumeRequest

Return type

GeoKeywordsSearchVolumePost200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GeoMentionsAggregatedMetricsPost

GeoMentionsAggregatedMetricsPost200Response GeoMentionsAggregatedMetricsPost(ctx).GeoMentionsAggregatedMetricsRequest(geoMentionsAggregatedMetricsRequest).Execute()

Aggregate LLM mention metrics by dimension

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/unifapi-agent/unifapi-sdk-go"
)

func main() {
	geoMentionsAggregatedMetricsRequest := *openapiclient.NewGeoMentionsAggregatedMetricsRequest([]openapiclient.GeoMentionsTarget{*openapiclient.NewGeoMentionsTarget()}) // GeoMentionsAggregatedMetricsRequest |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.GeoAPI.GeoMentionsAggregatedMetricsPost(context.Background()).GeoMentionsAggregatedMetricsRequest(geoMentionsAggregatedMetricsRequest).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `GeoAPI.GeoMentionsAggregatedMetricsPost``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `GeoMentionsAggregatedMetricsPost`: GeoMentionsAggregatedMetricsPost200Response
	fmt.Fprintf(os.Stdout, "Response from `GeoAPI.GeoMentionsAggregatedMetricsPost`: %v\n", resp)
}

Path Parameters

Other Parameters

Other parameters are passed through a pointer to a apiGeoMentionsAggregatedMetricsPostRequest struct via the builder pattern

Name Type Description Notes
geoMentionsAggregatedMetricsRequest GeoMentionsAggregatedMetricsRequest

Return type

GeoMentionsAggregatedMetricsPost200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GeoMentionsCrossAggregatedMetricsPost

GeoMentionsCrossAggregatedMetricsPost200Response GeoMentionsCrossAggregatedMetricsPost(ctx).GeoMentionsCrossAggregatedMetricsRequest(geoMentionsCrossAggregatedMetricsRequest).Execute()

Compare LLM mentions across labeled groups

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/unifapi-agent/unifapi-sdk-go"
)

func main() {
	geoMentionsCrossAggregatedMetricsRequest := *openapiclient.NewGeoMentionsCrossAggregatedMetricsRequest([]openapiclient.GeoMentionsCrossGroup{*openapiclient.NewGeoMentionsCrossGroup("Label_example", []openapiclient.GeoMentionsTarget{*openapiclient.NewGeoMentionsTarget()})}) // GeoMentionsCrossAggregatedMetricsRequest |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.GeoAPI.GeoMentionsCrossAggregatedMetricsPost(context.Background()).GeoMentionsCrossAggregatedMetricsRequest(geoMentionsCrossAggregatedMetricsRequest).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `GeoAPI.GeoMentionsCrossAggregatedMetricsPost``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `GeoMentionsCrossAggregatedMetricsPost`: GeoMentionsCrossAggregatedMetricsPost200Response
	fmt.Fprintf(os.Stdout, "Response from `GeoAPI.GeoMentionsCrossAggregatedMetricsPost`: %v\n", resp)
}

Path Parameters

Other Parameters

Other parameters are passed through a pointer to a apiGeoMentionsCrossAggregatedMetricsPostRequest struct via the builder pattern

Name Type Description Notes
geoMentionsCrossAggregatedMetricsRequest GeoMentionsCrossAggregatedMetricsRequest

Return type

GeoMentionsCrossAggregatedMetricsPost200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GeoMentionsSearchPost

GeoMentionsSearchPost200Response GeoMentionsSearchPost(ctx).GeoMentionsSearchRequest(geoMentionsSearchRequest).Execute()

Search LLM mentions of a domain or keyword

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/unifapi-agent/unifapi-sdk-go"
)

func main() {
	geoMentionsSearchRequest := *openapiclient.NewGeoMentionsSearchRequest([]openapiclient.GeoMentionsTarget{*openapiclient.NewGeoMentionsTarget()}) // GeoMentionsSearchRequest |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.GeoAPI.GeoMentionsSearchPost(context.Background()).GeoMentionsSearchRequest(geoMentionsSearchRequest).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `GeoAPI.GeoMentionsSearchPost``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `GeoMentionsSearchPost`: GeoMentionsSearchPost200Response
	fmt.Fprintf(os.Stdout, "Response from `GeoAPI.GeoMentionsSearchPost`: %v\n", resp)
}

Path Parameters

Other Parameters

Other parameters are passed through a pointer to a apiGeoMentionsSearchPostRequest struct via the builder pattern

Name Type Description Notes
geoMentionsSearchRequest GeoMentionsSearchRequest

Return type

GeoMentionsSearchPost200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GeoMentionsTopDomainsPost

GeoMentionsTopDomainsPost200Response GeoMentionsTopDomainsPost(ctx).GeoMentionsTopDomainsRequest(geoMentionsTopDomainsRequest).Execute()

List domains most cited in LLM answers

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/unifapi-agent/unifapi-sdk-go"
)

func main() {
	geoMentionsTopDomainsRequest := *openapiclient.NewGeoMentionsTopDomainsRequest([]openapiclient.GeoMentionsTarget{*openapiclient.NewGeoMentionsTarget()}) // GeoMentionsTopDomainsRequest |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.GeoAPI.GeoMentionsTopDomainsPost(context.Background()).GeoMentionsTopDomainsRequest(geoMentionsTopDomainsRequest).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `GeoAPI.GeoMentionsTopDomainsPost``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `GeoMentionsTopDomainsPost`: GeoMentionsTopDomainsPost200Response
	fmt.Fprintf(os.Stdout, "Response from `GeoAPI.GeoMentionsTopDomainsPost`: %v\n", resp)
}

Path Parameters

Other Parameters

Other parameters are passed through a pointer to a apiGeoMentionsTopDomainsPostRequest struct via the builder pattern

Name Type Description Notes
geoMentionsTopDomainsRequest GeoMentionsTopDomainsRequest

Return type

GeoMentionsTopDomainsPost200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GeoMentionsTopPagesPost

GeoMentionsTopPagesPost200Response GeoMentionsTopPagesPost(ctx).GeoMentionsTopPagesRequest(geoMentionsTopPagesRequest).Execute()

List pages most cited in LLM answers

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/unifapi-agent/unifapi-sdk-go"
)

func main() {
	geoMentionsTopPagesRequest := *openapiclient.NewGeoMentionsTopPagesRequest([]openapiclient.GeoMentionsTarget{*openapiclient.NewGeoMentionsTarget()}) // GeoMentionsTopPagesRequest |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.GeoAPI.GeoMentionsTopPagesPost(context.Background()).GeoMentionsTopPagesRequest(geoMentionsTopPagesRequest).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `GeoAPI.GeoMentionsTopPagesPost``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `GeoMentionsTopPagesPost`: GeoMentionsTopPagesPost200Response
	fmt.Fprintf(os.Stdout, "Response from `GeoAPI.GeoMentionsTopPagesPost`: %v\n", resp)
}

Path Parameters

Other Parameters

Other parameters are passed through a pointer to a apiGeoMentionsTopPagesPostRequest struct via the builder pattern

Name Type Description Notes
geoMentionsTopPagesRequest GeoMentionsTopPagesRequest

Return type

GeoMentionsTopPagesPost200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GeoSerpPost

GeoSerpPost200Response GeoSerpPost(ctx).GeoSerpRequest(geoSerpRequest).Execute()

Search AI Mode generative results

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/unifapi-agent/unifapi-sdk-go"
)

func main() {
	geoSerpRequest := *openapiclient.NewGeoSerpRequest("Query_example") // GeoSerpRequest |  (optional)

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	resp, r, err := apiClient.GeoAPI.GeoSerpPost(context.Background()).GeoSerpRequest(geoSerpRequest).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `GeoAPI.GeoSerpPost``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `GeoSerpPost`: GeoSerpPost200Response
	fmt.Fprintf(os.Stdout, "Response from `GeoAPI.GeoSerpPost`: %v\n", resp)
}

Path Parameters

Other Parameters

Other parameters are passed through a pointer to a apiGeoSerpPostRequest struct via the builder pattern

Name Type Description Notes
geoSerpRequest GeoSerpRequest

Return type

GeoSerpPost200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.