Go Wrapper over https://rickandmortyapi.com
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
test-data
vendor
.gitignore
README.md
character.go
character_structs.go
character_test.go
constants.go
episode.go
episode_structs.go
episode_test.go
go.mod
go.sum
helpers-for-testing.go
helpers.go
helpers_test.go
http.go
http_test.go
location.go
location_structs.go
location_test.go
structs.go

README.md

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