Skip to content

wehmoen-dev/go-ck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go-CK

This package provides a simple rest client for the chefkoch.de API.

Installation

go get -u github.com/wehmoen-dev/go-ck

Usage

package main

import (
    "fmt"
    "github.com/wehmoen-dev/go-ck/pkg/client"
)

const MyFavouriteRecipeId = "2529831396465550"

func main() {
	ck := client.NewClient()
	recipe, err := ck.GetRecipe(MyFavouriteRecipeId)
	if err != nil {
		fmt.Println(err)
	}
	fmt.Println(recipe.Title)
}