Skip to content

Expose and document the API endpoint to download the data CSVs directly, without needing to go through the Dashboard app.  #21

@dementeddr

Description

@dementeddr

As much as I appreciate the picklist analysis tools in the Dashboard app, I like to play around with the raw scout report data myself and try different ways of filtering the data and gleaning insights when prepping for alliance selection. I often use python scripts and Excel spreadsheets to do so, both of which I have to run on my laptop. I often export data from Dashboard multiple times over the course of an event, to make sure I have the most up-to-date info. The process is pretty unwieldy though. I have to manually export the data through the app on my phone to Google Drive (which downloads the data to a temp file on my phone in the process), then switch over to Google Drive my laptop, figure out which of the identically-named CSVs is the one I want (or manually rename each one so I can tell them apart), and then download the file so I can manipulate it locally. It's especially unwieldy when I'm trying to get the last reports from the end of qualifiers in the minutes before the start of alliance selection.

I know there must be an API endpoint on the server that the app is hitting to get the files. It would be really, really nice if I could make a request to that endpoint directly from my laptop as part of a script. I don't know enough about how phone app projects or typescript servers are structured to find the request URL or parameters in the codebase myself, unfortunately. Although I'm guessing there's some kind of session id that needs to be included too, which I realize might be a bigger problem. If that means I have to send manually-assembled login requests from my laptop to download the files that would still be an improvement though. If this endpoint is already documented and I just haven't found it, let me know.

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