Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gosticks authored Jan 28, 2019
1 parent bb38d2d commit 77bb557
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +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
// appName should be a discriptive string for you application (e.g. "my-app/v0.1")
miteAPI := NewMiteAPI(username, team, apiKey, appName, l)
miteAPI := NewMiteAPI(username, team, apiKey, appName)
// now you can use the api
customers, errCustomers := mite.GetAllCustomers()
Expand Down

0 comments on commit 77bb557

Please sign in to comment.