mirror of
https://github.com/imjasonh/go-marvel
synced 2026-07-19 07:15:58 +00:00
Create README.md
This commit is contained in:
parent
b5c11ceb32
commit
bc4665c04f
1 changed files with 23 additions and 0 deletions
23
README.md
Normal file
23
README.md
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
go-marvel
|
||||||
|
=========
|
||||||
|
|
||||||
|
Go client library for Marvel API
|
||||||
|
|
||||||
|
Usage:
|
||||||
|
|
||||||
|
```
|
||||||
|
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)
|
||||||
|
}
|
||||||
|
```
|
||||||
Loading…
Add table
Add a link
Reference in a new issue