diff options
author | Vidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com> | 2022-02-23 16:06:42 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-23 16:06:42 +0000 |
commit | 90a9cdb89025930fb7f455b423593a0a35799c4a (patch) | |
tree | 1bbc1d2b57c7eb8a7a36feb51ce0656cf49faf8a /manga/README.md | |
parent | 8c685067611d829e5fb8eeaaba48508d15cd4dde (diff) | |
parent | e21dc47f2fe1dd3b1ad47224cd9cc3e75d0835fb (diff) |
Merge pull request #6 from MikunoNaka/manga
Manga package completed
Diffstat (limited to 'manga/README.md')
-rw-r--r-- | manga/README.md | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/manga/README.md b/manga/README.md new file mode 100644 index 0000000..74a97a3 --- /dev/null +++ b/manga/README.md @@ -0,0 +1,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. |