Kaggle / Kaggle/kaggle-cli

Enhance `datasets metadata` to include `lastUpdateTime` field

Open
#837 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

Currently, the `kaggle datasets metadata ` command outputs limited dataset metadata. For example, running:

```bash
kaggle datasets metadata mlg-ulb/creditcardfraud
```

returns JSON that includes fields such as `datasetId`, `title`, `description`, `usabilityRating`, `totalViews`, `totalDownloads`, etc.

However, it does **not** include the `lastUpdateTime` field, even though these are available from the web API endpoint:

```
https://www.kaggle.com/api/i/datasets.DatasetDetailService/GetDatasetBasics
```

That endpoint returns richer metadata, including:

* `lastUpdateTime`
* `creatorDisplayName`

It would be extremely useful if the CLI’s `datasets metadata` command exposed at least the `lastUpdateTime` field, so that workflows depending on dataset freshness can be automated without having to call the API separately.

This would make it much easier to build workflows around dataset versioning and updates directly from the CLI.

Thanks for considering!

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.