Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get details to all packages of one organization #183

Open
Gatsen opened this issue May 11, 2022 · 1 comment
Open

Get details to all packages of one organization #183

Gatsen opened this issue May 11, 2022 · 1 comment

Comments

@Gatsen
Copy link

Gatsen commented May 11, 2022

Hello everyone,

Thanks a lot for the amazing package!

I have a short question regarding the organization_show() function.
Is there a way to get all of the packages of one organization with that function? If I switch include_datasets to True, I just get back the details of the first 10 packages.

I tried the following, but it is not working:
organization_show(id=id_long, include_datasets = T,limit=1000000)
Any solution for it?

Looking forward to your response!

@NewGraphEnvironment
Copy link

NewGraphEnvironment commented Feb 15, 2024

Hi Gatsen. Looks like this is related to the programmed response from API . Doesn't seem to be configurable to get more than 10 :( https://docs.ckan.org/en/2.9/api/

Looks like group_show will return up to 1000 datasets though so perhaps that could be a workaround

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants