Skip to content

pitakill/rickandmortyapigowrapper

Repository files navigation

The Rick and Morty API Go client

This is a Go wrapper to use the The Rick and Morty API

To get started check the documentation on rickandmortyapi.com

Installation

go get -u github.com/pitakill/rickandmortyapigowrapper

Basic Usage

// Import and rename the package for a easy handle
import rnm "github.com/pitakill/rickandmortyapigowrapper"

// To get the character with id 1
character, err := rnm.GetCharacter(1)

Full Usage

The complete usage is in the example directory