ActivitiesAPI
public enum ActivitiesAPI
Caseless enumeration with static methods to send Activities Requests.
-
Sends a request to get activities from the API.
Declaration
Swift
public static func getActivities(with parameters: Parameters? = nil, completion: ResponseCompletion<[Activity]> = nil)
Parameters
parameters
The
Parameters
to apply. Commonly used parameter keys for activities are:completion
The closure to be executed once the request has finished.