Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

Releases

Packages

Used by

Contributors

Languages