Adobe opened a new endpoint that returns the user usage log. I still need to test out if all the variables function as expected and any combinations that can be used.
I also added glue::glue function instead of paste0 in make_timeframe() function.
The usage function called for startDate and endDate to be separate in the api params so I added a function in the utilities function to return a list of the 2 dates with time. Since utilities_function uses the same 2 arguments this was a quick addition and will help maintenance in the future.
Adobe opened a new endpoint that returns the user usage log. I still need to test out if all the variables function as expected and any combinations that can be used.
I also added glue::glue function instead of paste0 in make_timeframe() function.
The usage function called for startDate and endDate to be separate in the api params so I added a function in the utilities function to return a list of the 2 dates with time. Since utilities_function uses the same 2 arguments this was a quick addition and will help maintenance in the future.