Skip to content

Commit

Permalink
Merge branch 'master' of github.com:gosticks/go-mite
Browse files Browse the repository at this point in the history
  • Loading branch information
gosticks committed Jan 28, 2019
2 parents e41b152 + 77bb557 commit 4cd3d46
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@ This library provides easy access to the mite time tracking api (API not fully c
## Getting Started

```
// create a logger instance if not done already done
l := zap.SugarLogger()
// create a mite api instance
miteAPI := NewMiteAPI(username, team, apiKey, l)
// appName should be a discriptive string for you application (e.g. "my-app/v0.1")
miteAPI := NewMiteAPI(username, team, apiKey, appName)
// now you can use the api
customers, errCustomers := mite.GetAllCustomers()
Expand Down

0 comments on commit 4cd3d46

Please sign in to comment.