package
0.0.0-20230705053459-e6c2022d9d35
Repository: https://github.com/unwiredlabs/locationapi-client-libraries.git
Documentation: pkg.go.dev

# README

Go API client for unwired

Geolocation, Geocoding and Maps

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 2.0.0
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context
go get github.com/antihax/optional

Put the package under your project folder and add the following in import:

import "./unwired"

Documentation for API Endpoints

All URIs are relative to https://us1.unwiredlabs.com/v2

ClassMethodHTTP requestDescription
BALANCEApiBalanceGet /balance.phpbalance
GEOLOCATIONApiGeolocationPost /process.phpGeolocation
REVERSEApiReverseGet /reverse.phpReverse Geocoding
SEARCHApiSearchGet /search.phpForward Geocoding
TimezoneApiTimezoneGet /timezone.phptimezone

Documentation For Models

Documentation For Authorization

token

  • Type: API key

Example

auth := context.WithValue(context.Background(), sw.ContextAPIKey, sw.APIKey{
	Key: "APIKEY",
	Prefix: "Bearer", // Omit if not necessary.
})
r, err := client.Service.Operation(auth, args)

Author