1
0
Fork 0
mirror of https://github.com/imjasonh/go-marvel synced 2026-07-10 12:21:55 +00:00

update README

This commit is contained in:
Jason Hall 2014-04-26 21:42:38 -04:00
parent 8eafd10c1a
commit ad4045b460

View file

@ -3,21 +3,4 @@ go-marvel
[Go](https://golang.org) client library for the [Marvel REST API](https://developer.marvel.com/)
Usage:
```go
import (
"fmt"
"github.com/ImJasonH/go-marvel"
)
func main() {
c := marvel.NewClient("my-public-key", "my-private-key")
r, err := c.Series(2258, marvel.CommonRequest{})
if err != nil {
panic(err)
}
fmt.Println("%+v\n", r)
}
```
See [example](https://github.com/ImJasonH/go-marvel/blob/master/example/main.go)