Kaggle / kaggle-api

Official Kaggle API
Apache License 2.0
6.29k stars 1.1k forks source link

Endpoint to Extract User data #650

Open kethan6028 opened 1 week ago

kethan6028 commented 1 week ago

Can someone let me know what is the exact endpoint to pull User data ?

Like, for any given user , I want to extract following data

  1. Username
  2. name
  3. Country
  4. Region
  5. City
  6. Github Id
  7. joining date
  8. Last activity
  9. Followers Count
  10. Following count
stevemessick commented 1 week ago

The meta-kaggle dataset might have what you need. Does this help? https://www.kaggle.com/datasets/kaggle/meta-kaggle?select=Users.csv

That table doesn't have everything you want, but there are other tables that have more.

The API does not have any support for querying user-related tables.

kethan6028 commented 1 week ago

Isn't it possible to add Users class in https://github.com/Kaggle/kaggle-api/blob/main/kagglesdk/kaggle_client.py just like other classes and have implementation done using users.UsersService?