Skip to content

Report request function #6

@kylepolich

Description

@kylepolich

Write this function:

from datetime import datetime
import pandas as pd

def get_report(harvest_key: str, start: datetime, end: datetime):
  ...
  df = pd.DataFrame(?)
  return df

This data should have full grain data with as much detail as we can get from the API. We will do GROUP BY later.

Take the time to consider if there are missing requirements. For example, what if a task begins before midnight and ends 25 hours later. Would we forget to query it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions