Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
634 lines (513 sloc) 29.9 KB

GET endpoints (incomplete)

I'm doing a first round of endpoints testing to get acquainted with the CKAN API.

I'm using correct parameters (if they're needed) where possible, but where I can't find suitable values (maybe because I can't find any example in data files I downloaded previously) I just test the endpoint without parameters, because if the endpoint exists we get a 400: Bad Request, otherwise we get a 404: Not Found, see below.

Response examples

Working endpoint (Response code: 200: OK)

$ wget http://www.dati.gov.it/api/3/action/group_package_show?id=ufficio-statistica
--2017-03-14 17:41:43--  http://www.dati.gov.it/api/3/action/group_package_show?id=ufficio-statistica
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/json]
Saving to: ‘group_package_show?id=ufficio-statistica’

group_package_show?id=ufficio-statistica        [   <=>   ]  64.82K  --.-KB/s    in 0.04s

Working endpoint, bad request (Response code: 400: Bad Request)

Let's take the example above and remove the parameters:

$ wget http://www.dati.gov.it/api/3/action/group_package_show
--2017-03-14 17:39:40--  http://www.dati.gov.it/api/3/action/group_package_show
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 400 Bad Request
2017-03-14 17:39:41 ERROR 400: Bad Request.

In this case we can infer that the endpoint exists but we're just not calling it correctly (useful when you don't know the right parameters to be used but you need to check the endpoint anyway).

Missing endpoint (Response code: 404: Not Found)

$ wget http://www.dati.gov.it/api/3/action/member_list?id=comune-siena
--2017-03-14 16:42:17--  http://www.dati.gov.it/api/3/action/member_list?id=comune-siena
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-14 16:42:18 ERROR 404: Not Found.

Endpoints

Endpoints without a note are currently working.

$ wget http://www.dati.gov.it/api/3/action/member_list?id=comune-siena        
--2017-03-14 16:42:17--  http://www.dati.gov.it/api/3/action/member_list?id=comune-siena
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-14 16:42:18 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/organization_list
--2017-03-14 15:24:10--  http://www.dati.gov.it/api/3/action/organization_list
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-14 15:24:11 ERROR 404: Not Found.

(about user auth, can't test it + it doesn't matter from an external user perspective)

(about user auth, can't test it + it doesn't matter from an external user perspective)

$ wget http://www.dati.gov.it/api/3/action/group_revision_list?id=ufficio-statistica
--2017-03-14 15:28:36--  http://www.dati.gov.it/api/3/action/group_revision_list?id=ufficio-statistica
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-14 15:28:37 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/organization_revision_list?id=a6bc8e36-122e-4577-820a-cb6a13313b5b
--2017-03-14 17:01:24--  http://www.dati.gov.it/api/3/action/organization_revision_list?id=a6bc8e36-122e-4577-820a-cb6a13313b5b
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-14 17:01:25 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/license_list
--2017-03-14 17:03:21--  http://www.dati.gov.it/api/3/action/license_list
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-14 17:03:21 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/tag_list
--2017-03-09 13:21:44--  http://www.dati.gov.it/api/3/action/tag_list
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-09 13:21:44 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/user_list
--2017-03-14 17:08:19--  http://www.dati.gov.it/api/3/action/user_list
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-14 17:08:19 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/package_relationships_list
--2017-03-14 18:19:40--  http://www.dati.gov.it/api/3/action/package_relationships_list
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-14 18:19:40 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/resource_view_show
--2017-03-14 18:21:49--  http://www.dati.gov.it/api/3/action/resource_view_show
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-14 18:21:49 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/resource_view_list
--2017-03-14 18:22:21--  http://www.dati.gov.it/api/3/action/resource_view_list
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-14 18:22:22 ERROR 404: Not Found
$ wget http://www.dati.gov.it/api/3/action/revision_show?id=ea447809-a0b9-4067-b789-59e41fcd579f
--2017-03-14 17:22:32--  http://www.dati.gov.it/api/3/action/revision_show?id=ea447809-a0b9-4067-b789-59e41fcd579f
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-14 17:22:34 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/group_show?id=ufficio-statistica
--2017-03-09 13:26:47--  http://www.dati.gov.it/api/3/action/group_show?id=ufficio-statistica
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-09 13:26:48 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/organization_show?id=a6bc8e36-122e-4577-820a-cb6a13313b5b
--2017-03-14 17:28:02--  http://www.dati.gov.it/api/3/action/organization_show?id=a6bc8e36-122e-4577-820a-cb6a13313b5b
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-14 17:28:03 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/tag_show?id=59d55a3d-3ff0-4b4e-8b38-794c050adc22
--2017-03-14 17:36:58--  http://www.dati.gov.it/api/3/action/tag_show?id=59d55a3d-3ff0-4b4e-8b38-794c050adc22
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-14 17:36:59 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/user_show?id=9bcba160-349c-4d14-8a53-d4168349d053
--2017-03-14 17:44:41--  http://www.dati.gov.it/api/3/action/user_show?id=9bcba160-349c-4d14-8a53-d4168349d053
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-14 17:44:41 ERROR 404: Not Found.
$ wget "http://www.dati.gov.it/api/3/action/package_autocomplete?q=trasporto&limit=10"
--2017-03-14 19:28:48--  http://www.dati.gov.it/api/3/action/package_autocomplete?q=trasporto&limit=10
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.dati.gov.it/trasporto?limit=10 [following]
--2017-03-14 19:28:48--  http://www.dati.gov.it/trasporto?limit=10
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-14 19:28:49 ERROR 404: Not Found.
$ wget "http://www.dati.gov.it/api/3/action/package_autocomplete?q=tx&limit=10"
--2017-03-14 17:51:09--  http://www.dati.gov.it/api/3/action/package_autocomplete?q=tx&limit=10
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.dati.gov.it/tx?limit=10 [following]
--2017-03-14 17:51:09--  http://www.dati.gov.it/tx?limit=10
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-14 17:51:10 ERROR 404: Not Found
$ wget "http://www.dati.gov.it/api/3/action/user_autocomplete?q=uff&limit=10"
--2017-03-14 17:57:26--  http://www.dati.gov.it/api/3/action/user_autocomplete?q=uff&limit=10
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.dati.gov.it/uff?limit=10 [following]
--2017-03-14 17:57:26--  http://www.dati.gov.it/uff?limit=10
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-14 17:57:26 ERROR 404: Not Found.
$ wget "http://www.dati.gov.it/api/3/action/organization_autocomplete?q=org&limit=10"
--2017-03-14 17:59:02--  http://www.dati.gov.it/api/3/action/organization_autocomplete?q=org&limit=10
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.dati.gov.it/org?limit=10 [following]
--2017-03-14 17:59:02--  http://www.dati.gov.it/org?limit=10
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-14 17:59:02 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/package_search                    
--2017-03-14 18:00:03--  http://www.dati.gov.it/api/3/action/package_search
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-14 18:00:03 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/resource_search
--2017-03-14 18:00:46--  http://www.dati.gov.it/api/3/action/resource_search
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-14 18:00:46 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/tag_search     
--2017-03-14 18:01:43--  http://www.dati.gov.it/api/3/action/tag_search
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-14 18:01:44 ERROR 404: Not Found.
$ wget "http://www.dati.gov.it/api/3/action/tag_autocomplete?q=Mobilit&limit=10"
--2017-03-14 18:03:18--  http://www.dati.gov.it/api/3/action/tag_autocomplete?q=Mobilit&limit=10
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.dati.gov.it/Mobilit?limit=10 [following]
--2017-03-14 18:03:19--  http://www.dati.gov.it/Mobilit?limit=10
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-14 18:03:19 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/task_status_show
--2017-03-15 14:22:59--  http://www.dati.gov.it/api/3/action/task_status_show
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-15 14:22:59 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/term_translation_show
--2017-03-15 14:23:59--  http://www.dati.gov.it/api/3/action/term_translation_show
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-15 14:24:00 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/get_site_user
--2017-03-15 11:20:48--  http://www.dati.gov.it/api/3/action/get_site_user
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-15 11:20:48 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/status_show
--2017-03-15 11:18:16--  http://www.dati.gov.it/api/3/action/status_show
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-15 11:18:18 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/vocabulary_list
--2017-03-15 11:17:29--  http://www.dati.gov.it/api/3/action/vocabulary_list
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-15 11:17:30 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/vocabulary_show?id=0
--2017-03-15 11:23:05--  http://www.dati.gov.it/api/3/action/vocabulary_show?id=0
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-15 11:23:06 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/user_activity_list?id=9bcba160-349c-4d14-8a53-d4168349d053
--2017-03-15 11:04:06--  http://www.dati.gov.it/api/3/action/user_activity_list?id=9bcba160-349c-4d14-8a53-d4168349d053
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-15 11:04:06 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/package_activity_list?id=3074974d-b4c7-4df9-809a-d266088de3a3
--2017-03-15 11:05:04--  http://www.dati.gov.it/api/3/action/package_activity_list?id=3074974d-b4c7-4df9-809a-d266088de3a3
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-15 11:05:05 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/group_activity_list?id=ufficio-statistica
--2017-03-15 11:06:45--  http://www.dati.gov.it/api/3/action/group_activity_list?id=ufficio-statistica
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-15 11:06:46 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/organization_activity_list?id=a6bc8e36-122e-4577-820a-cb6a13313b5b
--2017-03-15 11:07:17--  http://www.dati.gov.it/api/3/action/organization_activity_list?id=a6bc8e36-122e-4577-820a-cb6a13313b5b
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-15 11:07:17 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/recently_changed_packages_activity_list
--2017-03-09 13:29:03--  http://www.dati.gov.it/api/3/action/recently_changed_packages_activity_list
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-09 13:29:04 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/activity_detail_list
--2017-03-15 14:19:37--  http://www.dati.gov.it/api/3/action/activity_detail_list
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-15 14:19:38 ERROR 404: Not Found.

TODO? (not quite interesting/useful for data purposes)

TODO? (not quite interesting/useful for data purposes)

TODO? (not quite interesting/useful for data purposes)

TODO? (not quite interesting/useful for data purposes)

TODO? (not quite interesting/useful for data purposes)

$ wget http://www.dati.gov.it/api/3/action/user_follower_count?id=9bcba160-349c-4d14-8a53-d4168349d053
--2017-03-15 14:26:52--  http://www.dati.gov.it/api/3/action/user_follower_count?id=9bcba160-349c-4d14-8a53-d4168349d053
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-15 14:26:53 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/dataset_follower_count?id=3074974d-b4c7-4df9-809a-d266088de3a3
--2017-03-15 14:27:39--  http://www.dati.gov.it/api/3/action/dataset_follower_count?id=3074974d-b4c7-4df9-809a-d266088de3a3
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-15 14:27:40 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/group_follower_count?id=2765d8b6-fdb0-40e2-93c8-b8231848ce5d
--2017-03-15 14:29:22--  http://www.dati.gov.it/api/3/action/group_follower_count?id=2765d8b6-fdb0-40e2-93c8-b8231848ce5d
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-15 14:29:23 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/organization_follower_count?id=a6bc8e36-122e-4577-820a-cb6a13313b5b
--2017-03-15 14:30:14--  http://www.dati.gov.it/api/3/action/organization_follower_count?id=a6bc8e36-122e-4577-820a-cb6a13313b5b
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-15 14:30:14 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/user_follower_list?id=9bcba160-349c-4d14-8a53-d4168349d053
--2017-03-15 14:31:30--  http://www.dati.gov.it/api/3/action/user_follower_list?id=9bcba160-349c-4d14-8a53-d4168349d053
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-15 14:31:31 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/dataset_follower_list?id=3074974d-b4c7-4df9-809a-d266088de3a3
--2017-03-15 14:32:14--  http://www.dati.gov.it/api/3/action/dataset_follower_list?id=3074974d-b4c7-4df9-809a-d266088de3a3
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-15 14:32:15 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/group_follower_list?id=2765d8b6-fdb0-40e2-93c8-b8231848ce5d
--2017-03-15 14:33:08--  http://www.dati.gov.it/api/3/action/group_follower_list?id=2765d8b6-fdb0-40e2-93c8-b8231848ce5d
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-15 14:33:09 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/organization_follower_list?id=a6bc8e36-122e-4577-820a-cb6a13313b5b
--2017-03-15 14:33:58--  http://www.dati.gov.it/api/3/action/organization_follower_list?id=a6bc8e36-122e-4577-820a-cb6a13313b5b
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-15 14:33:59 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/am_following_user
--2017-03-15 14:34:49--  http://www.dati.gov.it/api/3/action/am_following_user
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-15 14:34:49 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/am_following_dataset
--2017-03-15 14:35:17--  http://www.dati.gov.it/api/3/action/am_following_dataset
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-15 14:35:18 ERROR 404: Not Found.
$ wget http://www.dati.gov.it/api/3/action/am_following_group
--2017-03-15 14:35:35--  http://www.dati.gov.it/api/3/action/am_following_group
Resolving www.dati.gov.it... 89.97.56.30
Connecting to www.dati.gov.it|89.97.56.30|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-03-15 14:35:36 ERROR 404: Not Found.

TODO