aboutsummaryrefslogtreecommitdiff
path: root/manga/README.md
blob: 74a97a32f99063800cd571263c4e307b6e98370a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# MAL2Go/manga
MAL2Go `manga` package has functionality related to getting data about anime.

## Installation
In a terminal, run
``` fish
go get "github.com/MikunoNaka/MAL2Go/manga"
```

## Usage
Firstly, import this package and instanciate the client.
``` go
import (
  "github.com/MikunoNaka/MAL2Go/manga"
)
```

Now instanciate with
``` go
myClient := manga.Client {
  AuthToken: "Bearer " + yourTokenHere,
}
```

- ### Searching for a manga
``` go
```

- ### Getting a manga's info
``` go
```

- ### Get manga ranking
``` go
```

## Structure
- [manga.go](anime.go)
Contains all the exported functions for pulling data from the API.

- [manga.structs.go](anime.structs.go)
Contains all the structs representing a manga entry on MyAnimeList.

- [client.go](client.go)
The Client for accessing the API with this package.