Skip to content

toel-app/biteship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

integration unit-tests codecov Go Report Card PkgGoDev

Installation

go get -u github.com/toel-app/biteship

Usage

package main

import (
	"fmt"
	"github.com/toel-app/biteship"
	"log"
)

func main() {
	b := biteship.New(
		biteship.WithSecret("somesecret"),
		biteship.WithUrl("https://api.biteship.com"),
	)

	response, err := b.GetCouriers()
	if err != nil {
		log.Panic(err)
	}

	fmt.Println(response.Couriers)
}