Kaggle / kaggle-api

Official Kaggle API
Apache License 2.0
6.16k stars 1.08k forks source link

[Feature request] client-side check for the submission api #504

Open dazzle-me opened 1 year ago

dazzle-me commented 1 year ago

Can we have a client-side inplace check that asserts if submitted file is indeed a zip archive?

Recently I faced the issue that prevented me from submitting the .csv to the competition, and the API provided vague error, so I suggest you to improve error message in this particular case.

Also I think it's possible to make client-side check rather than make user wait for an upload and only then provide the error.

qrdlgit commented 1 year ago

We should build a community library on top of kaggle api for stuff like this.

What Kaggle needs to do is dump this library and just build official REST apis and let us do the rest. That way they don't waste resources building stuff we can all do ourselves.

There is too much critical functionality missing, and I'd much rather kaggle support that at a low level. Otherwise we're al going to have to resort to scraping / using unofficial rest apis.