Skip to content

zaddok/formsite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Zadok Rhoden
Mar 22, 2019
b2b5495 · Mar 22, 2019

History

16 Commits
Jan 21, 2019
Feb 4, 2019
Mar 22, 2019
Mar 18, 2019
Jan 21, 2019
Jan 22, 2019

Repository files navigation

Formsite Golang API

How to use the formsite Go API:

api := formsite.NewFormsiteApi("https://fs22.formsite.com/api/users/myusername/forms", "myapikey")

// List all available forms
forms, err := api.GetForms()
if err != nil {
        return err
}
for _, form := range forms {
        fmt.Println(form)
}

// Get the first page of data from a form
results, err := api.GetResults("form22", 1)
    
// Get the next 5 form submissions, starting at particular response id
lastFetchedId := 104992
results, err := api.GetResults("form22", lastFetchedId, 5)

Related links

About

A go module for fetching formsite data

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages