darylhjd / mangodex

API wrapper for MangaDex v5 API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mangodex

Go Reference

Golang API wrapper for MangaDex v5's MVP API.

Full API documentation is found here.

This branch contains only essential services, such as Manga searching and image downloading.

Installation

To install, do go get -u github.com/darylhjd/mangodex@essential.

Usage

package main

import (
	"fmt"
	
	m "github.com/darylhjd/mangodex@simple"
)

func main() {
	// Create new client.
	// Without logging in, you may not be able to access 
	// all API functionality.
	c := m.NewDexClient()

	// Login using your username and password.
	err := c.Auth.Login("user", "password")
	if err != nil {
		fmt.Println("Could not login!")
	}
}

Contributing

Any contributions are welcome.

About

API wrapper for MangaDex v5 API.

License:MIT License


Languages

Language:Go 100.0%