Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnewhall authored Jul 9, 2022
1 parent 731bb68 commit 1aea19b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ func main() {
Pass: "passWord",
})

events, _, err := nzb.Log(0, 100)
events, err := nzb.Log(0, 100)
if err != nil {
panic(err)
}

nzbVer, _, err := nzb.Version()
nzbVer, err := nzb.Version()
if err != nil {
panic(err)
}
Expand All @@ -58,6 +58,8 @@ func main() {

Official NZBGet API reference can be [found here](https://nzbget.net/api/).

All of these methods are exposed.

### Program Control

- [x] [version](https://nzbget.net/api/version)
Expand Down Expand Up @@ -98,4 +100,4 @@ Official NZBGet API reference can be [found here](https://nzbget.net/api/).
- [x] [config](https://nzbget.net/api/config)
- [x] [loadconfig](https://nzbget.net/api/loadconfig)
- [x] [saveconfig](https://nzbget.net/api/saveconfig)
- [x] [configtemplates](https://nzbget.net/api/configtemplates)
- [x] [configtemplates](https://nzbget.net/api/configtemplates)

0 comments on commit 1aea19b

Please sign in to comment.