Skip to content
This repository has been archived by the owner on Sep 8, 2022. It is now read-only.

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
hexoul committed Nov 8, 2018
1 parent 9464ebd commit b901b18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## Usage
- As library, start from `coinmarketcap.GetInstanceWithKey('YOUR_API_KEY')`
- As program, start from `coinmarketcap.GetInstance()` after executing `go run -apikey=[YOUR_API_KEY]`
- As program, start from `coinmarketcap.GetInstance()` after executing `go run -cmcApikey=[YOUR_API_KEY]`

## Features
| Type | Endpoint | Done |
Expand Down
2 changes: 1 addition & 1 deletion coinmarketcap.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func init() {
arg := strings.Split(val, "=")
if len(arg) < 2 {
continue
} else if arg[0] == "-apikey" {
} else if arg[0] == "-cmcApikey" {
apiKey = arg[1]
}
}
Expand Down

0 comments on commit b901b18

Please sign in to comment.