-
Notifications
You must be signed in to change notification settings - Fork 4
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
Utilização do ckanapi
para interação com API do CKAN
#55
Comments
fjuniorr
added a commit
that referenced
this issue
Jul 11, 2021
fjuniorr
added a commit
that referenced
this issue
Jul 11, 2021
The id variable passed in `resource_ckan = resource_create(ckan_instance, id, package.get_resource(resource_name))` was not defined. Changed to the correct package_id and adopted better naming convention for data packages replacing `package` with `datapackage` (ie. analogous to `dataset` and not just `set`) Resolves #55
fjuniorr
added a commit
that referenced
this issue
Jul 11, 2021
fjuniorr
added a commit
that referenced
this issue
Jul 11, 2021
Replace urllib and requests API calls with ckanapi Fix #55
gabrielbdornas
added a commit
that referenced
this issue
Aug 23, 2021
Descriptions inside the dataset's main page and resources' pages weren't been rendered correctly. All pages were showing the dataset's description. Now, the dataset's page is showing the dataset's description together with CKANGELOG.md content file (if it exists), datapackage.json page is showing its resource title and other resources pages are showing resource description. Resolves: #15, #55
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As chamadas a API do CKAN estão sendo feitas de forma inconsistente com dois pacotes diferentes, urllib e requests.
A utilização do pacote ckanapi pode simplificar o código e facilitar as manipulações das requisições e respostas.
Uma POC foi feita no commit 42ff0aa para a função
resource_create
e deve ser expandida para o restante do código.The text was updated successfully, but these errors were encountered: