golexaRank

package module
v0.0.0-...-37304b4 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2019 License: MIT Imports: 7 Imported by: 0

README

alt text

golexaRank

GoDoc Go Report Card cover.run

A Go library to access Amazon's Alexa Web Information Service API (Alexa Rank)

The Amazon Alexa Web Information Services API was a confusing API to work with. It wasn't impossible to work with, but it could have been way simpler. https://github.com/ashim888/awis really simplified stuff for me and I've modeled this library along it.

APIs shouldn't have to be painful. In the interest of making AWIS easier to use with Go and in the interest of learning the Go language, I thought I'd create a Python -> Golang port of the above Python library.

Check out the examples folder to get started.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSitesLinkingIn

func GetSitesLinkingIn(domainURL string, responseGroup string, accessID string, secretAccessKey string) *http.Response

* This function provides us with the information on the sites linking in to a specified domain params: A domain URL string, a response group string with the required response groups, and the API credentials returns: The response with the data of the sites linking into a we data as an http.Response type

func GetTrafficHistory

func GetTrafficHistory(myRange string, start string, domainURL string, responseGroup string, accessID string, secretAccessKey string) *http.Response

* This function provides us the traffic history of the given domain params: Domain name of the site, a responseGroup string for getting the traffic history, and the API credentials returns: The response with the traffic history data as an http.Response type

func GetUrlInfo

func GetUrlInfo(domainURL string, responseGroup string, accessID string, secretAccessKey string) *http.Response

* This function provides us the URL information for a given domain params: The domain name string, a responseGroup string, and API credentials for the GetUrlInfo function returns: The response with the URL information as an http.Response type

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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