webflow

package module
v0.0.0-...-c5fa27e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2018 License: MIT Imports: 5 Imported by: 0

README

go-webflow

webflow API SDK using Golang

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrorMissingTokenOrVersion for missing config
	ErrorMissingTokenOrVersion = errors.New("missing webflow token or version")
)

Functions

This section is empty.

Types

type API

type API struct {
	Token   string
	Version string
	Debug   bool
}

API for webflow structure

func New

func New(token, version string, debug bool) (*API, error)

New for web flow API object

func (*API) GetAllItemsFromCollection

func (api *API) GetAllItemsFromCollection(id string, resp interface{}, params ...Param) error

GetAllItemsFromCollection Get All Items For a Collection

type Param

type Param struct {
	Page    int
	PerPage int
}

Param for http get parameter

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL