Skip to content

Kaggle API in R #389

@KoderKow

Description

@KoderKow

Hello,

I have posted the following below on the general discussion on the Kaggle website, I am not sure where this belongs.

I am building out an R package to be used with R. I am hoping someone who is family with the HTTP calls can help me with the competition submission piece.

I have done the first piece with the endpoint for Generate competition submission URL; /competitions/{id}/submissions/url/{contentLength}/{lastModifiedDateUtc}, lets call the response from this X moving forward.

I am now on the "Upload competition submission file" part; /competitions/submissions/upload/{guid}/{contentLength}/{lastModifiedDateUtc}. I cannot figure out what "guid" is. I am able to make a POST request using the "createUrl" object from X. I thought the "generation" object would be the guid value. After making a request I get an "Error: HTTP 400 Bad Request." so I am not sure if that is correct or if there is something wrong with my request.

If I could get any guidance on using the API for R here on GitHub or through messaging please let me know!

Thanks,

Kyle

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