location

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2020 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocationExtension

type LocationExtension struct {
	// contains filtered or unexported fields
}

LocationExtension implements scraper.Extension, and adds geolocation features to the TalkScraper LocationExtension only works together with speakerdeck.TalkScraper at the moment.

func NewLocationExtension

func NewLocationExtension(apiKey string) (*LocationExtension, error)

NewLocationExtension creates a new LocationExtension using a Google Maps API Key with access to the Geocoding API.

func (*LocationExtension) Hook

func (le *LocationExtension) Hook() scraper.Hook

Hook returns the hook for this extension

func (*LocationExtension) Name

func (_ *LocationExtension) Name() string

Name returns the LocationExtension name

Jump to

Keyboard shortcuts

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