Kaggle / Kaggle/kaggle-cli

Kaggle API in R

Open
#389 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7.5k
Forks
1.4k
Avg merge
3d 15h
Merged PRs (30d)
11

Description

Hello,

I have posted the following below on the general discussion on the [Kaggle website](https://www.kaggle.com/general/279367#1548099), 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.