# Functions
Method Description: Concatenate environment variables to generate this servers api url
Returns this servers api url
*/.
Method Description: Creates a unix timestamp in seconds
Returns an int64 unix timestamp
*/.
No description provided by the author
Method Description: Get longitude and latitude from IP address
Parameter: ipaddr
Parameter Description: The IP address you would like to get long and lat from
Returns lat and long data
*/.
No description provided by the author
Method Description: Get Miles Per Hour from distance start time and end time
Parameter: distance
Parameter Description: The distance between 2 points
Parameter: startTime
Parameter Description: unix timestamp of the start time
Parameter: endTime
Parameter Description: unix timestamp of the end time
Returns Miles Per Hour based on the the parameters provided
*/.
Method Description: Creates a random number between min and max
Parameter: min
Parameter Description: Minimum number that the random number can be
Parameter: max
Parameter Description: Maximum number that the random number can be
Returns a random int between min and max parameters
*/.
Some of the VariableDistance content I got from gist.github.com/cdipaolo and some I wrote myself
The part I wrote myself was the different types of measurement conversions
I did this so I could test the method against google for accuracy.