# README
teamworkAPI
First release is pending.
# Functions
CalculateEstimateError determines the percent error of a time estimate.
DurationInDays gets the number of days between the specified dates.
InitLog initializes logrus instance based on conf parameters.
LoadLogConfig loads log configuration from json file specified by path.
NewConnection initializes a new instance used to generate Teamwork API calls.
NewConnectionFromJSON initializes a new instance based on json file.
Used for initially uploading a file.
No description provided by the author
TotalAndAvgHours returns the total and avg hours found in the TimeEntries array.
# Constants
The character encoding for the email.
The HTML body for the email.
Replace [email protected] with a "To" address.
Replace [email protected] with your "From" address.
The subject line for the email.
TeamworkDateFormatLong is the long-form of a date/time used by Teamwork.
TeamworkDateFormatMed is the medium-form of a date/time used by Teamwork.
TeamworkDateFormatShort is the short-form of a date used by Teamwork.
The email body for recipients with non-HTML email clients.
# Structs
CalendarEvent models a Teamwork Calendar event.
CalendarEventQueryParams defines valid query parameters for this resource.
No description provided by the author
CalendarEventResponseHandler models a http response for a Calendar Event operation.
CalendarEventsJSON models the parent JSON structure of an array of CalendarEvent and facilitates unmarshalling.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CompaniesJSON models the parent JSON structure of an array of Companys and facilitates unmarshalling.
Company models an individual company on Teamwork.
Connection stores info needed to establish Teamwork API Connection.
EventType models a Teamwork Calendar Event Type.
No description provided by the author
No description provided by the author
No description provided by the author
models a file from TW, add addional fields as needed.
No description provided by the author
No description provided by the author
GeneralResponse implements the ResponseHandler interface to interpret a general response that includes a Status and optionally, a Message.
LogConfig models a logrus log configuration.
PeopleJSON models the parent JSON structure of an array of Persons and facilitates unmarshalling.
PeopleQueryParams defines valid query parameters for this resource.
Person models an individual Teamwork user.
PersonJSON is a wrapper to facilitate marshalling of Person data to json.
No description provided by the author
Project models a Teamwork project.
No description provided by the author
ProjectQueryParams defines valid query parameters for this resource.
ProjectsJSON provides a wrapper around TimeEntry to properly marshal json daProjectsosting to API.
No description provided by the author
Tag models an individual tag in Teamwork.
TagJSON provides a wrapper around Tag to properly marshal json data when posting to API.
TagsJSON models the parent JSON structure of an array of Tags and facilitates unmarshalling.
Task models a specific task in Teamwork.
TaskJSON models the parent JSON structure of an individual task and facilitates unmarshalling.
No description provided by the author
No description provided by the author
No description provided by the author
TaskQueryParams defines valid query parameters for this resource.
No description provided by the author
TaskResponseHandlerV3 models a http response for a Task operation using version 3 of teamwork api.
No description provided by the author
TasksJSON models the parent JSON structure of an array of tasks and facilitates unmarshalling.
No description provided by the author
No description provided by the author
TaskTimeTotalJSON is used to unmarshal the json response provided by call to Teamwork API endpoint /tasks/{id}/time/total.json.
TaskTimeTotalsJSON is used to unmarshal the json response provided by call to Teamwork API endpoint /tasks/{id}/time/total.json.
No description provided by the author
No description provided by the author
Task models a specific task in Teamwork for Version 3.
TimeEntriesJSON models the parent JSON structure of an array of TimeEntrys and facilitates unmarshalling.
TimeEntry models an individual time entry.
TimeEntryJSON provides a wrapper around TimeEntry to properly marshal json data when posting to API.
No description provided by the author
No description provided by the author
TimeQueryParams defines valid query parameters for this resource.
No description provided by the author
TimeResponseHandler models a http response for a TimeEntry operation.
No description provided by the author
TimeTotals summarizes actual and estimated hours for a specific task.
General TW API Configurations.
# Interfaces
QueryParams is a generic interface to be implemented by a resource (e.g.
No description provided by the author
ResponseHandler is a generic interface to be implemented by a resource (e.g.