golang-api-analytics

command module
v0.0.0-...-9cdef24 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2020 License: MIT Imports: 10 Imported by: 0

README

golang-website-analytics

Manual Build Steps:

  • Run go get command to install missing getopt package.
foo@bar:~$ go get github.com/pborman/getopt/v2
  • Run build command to build executable binaries based on the system.
 foo@bar:~$ go build
--url flag
  • Run the executable binary with --url flag to get json response. For linux and darwin system is as follows:
foo@bar:~$  ./goAPIAnalyzer --url 
https://www.alphavantage.co/query?function=TIME_SERIES_DAILY_ADJUSTED&symbol=IBM&apikey=demo

OR for windows

foo@bar:~$  goAPIAnalyzer.exe --url 
https://www.alphavantage.co/query?function=TIME_SERIES_DAILY_ADJUSTED&symbol=IBM&apikey=demo
--profile flag
  • Run with --profile numberOfRequest for example --profile 4 for four requests. Default url is for the alphavantage API
foo@bar:~$  ./goAPIAnalyzer --profile 4

OR

foo@bar:~$  goAPIAnalyzer.exe --profile 4
--help flag
  • Use --help flag for the systems appropriately to display options.
foo@bar:~$  ./goAPIAnalyzer --help

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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