feat: implement report endpoints

This commit is contained in:
Stevan Freeborn
2026-03-26 11:01:08 -05:00
parent 96db9bce8c
commit d76761dad3
4 changed files with 883 additions and 0 deletions
+3
View File
@@ -49,6 +49,8 @@ type Client struct {
Fields *FieldsEndpoint
// Lists provides access to the lists within an Onspring instance.
Lists *ListsEndpoint
// Reports provides access to the reports within an Onspring instance.
Reports *ReportsEndpoint
}
// NewClient creates a new Onspring API client with the provided API key.
@@ -85,6 +87,7 @@ func NewClient(apiKey string, opts ...ClientOption) *Client {
c.Apps = &AppsEndpoint{client: c}
c.Fields = &FieldsEndpoint{client: c}
c.Lists = &ListsEndpoint{client: c}
c.Reports = &ReportsEndpoint{client: c}
return c
}