initial commit

This commit is contained in:
ston1th 2017-01-13 00:05:57 +01:00
commit d1cfc3cc70
8 changed files with 383 additions and 0 deletions

19
cmd/main.go Normal file
View file

@ -0,0 +1,19 @@
package main
import (
"fmt"
"os"
"git.giftfish.de/ston1th/msrcgo"
)
func main() {
apikey := os.Args[1]
c := msrcgo.NewClient(apikey)
all, err := c.GetAllUpdates()
fmt.Println(all, err)
jan, err := c.GetUpdateID("2017-Jan")
fmt.Println(jan, err)
cvrf, err := c.GetCVRF("2017-Jan")
fmt.Println(cvrf, err)
}