Published by
DEWA
Electricity_Smart_Meter_2019-09-30_00-00-00.csv
Updated: 05 Dec 2019 6.51 MB
CSV
list of Electricity smart meters connected

Description:

Additional Info

Field Value
Last updated 06 Oct 2019
Created 06 Oct 2019
Format text/csv
License License not specified
datastore active
True
has views
True
File Size
6.51 MB
id
43a7987f-dd7d-4f9c-9ba0-0aaeee4c001f
mimetype
text/csv
on same domain
True
package id
5a98551a-0aab-455e-bac2-dd4680d858b6
position
27
revision id
e567a709-de45-4b90-bb13-a3b526045e39
state
active
url type
upload

Embed resource view

You can copy and paste the embed code into a CMS or blog software that supports raw HTML

Dubai Pulse Data API

Access resource data via a web API with powerful query support.

Expand All
The Data API can be accessed via the following actions of the CKAN action API.
  • Query
    https://www.dubaipulse.gov.ae/dataset/5a98551a-0aab-455e-bac2-dd4680d858b6/resource/6b8d0f39-1d3c-4901-bb56-b8633f33ae3c/download/electricity_smart_meter_2017-05-10_00-00-00.csv
  • End Users will receive "API Key" and "API Secret" in two separate emails on the first time Grant of a Dataset, first Purchase of a Commercial Dataset, or Purchase of an API Package. This API Key and API Secret combination should be used to generate API token and the token will need to be included in the http headers of every API call made.

    Authentication Service to generate API token: https://api.dubaipulse.gov.ae/oauth/client_credential/accesstoken?grant_type=client_credentials with body 'client_id={API Key}&client_secret={API Secret}'

    Read the value of "access_token" from the response of the above service and use it in the header of every API call. The obtained API token is valid for certain duration (for example 30 minutes) after which a fresh token needs to be obtained.

    Header Name : Authorization
    Value : Bearer {access_token}

  • Query Parameters
    API calls can be made for full dataset result (subject to maximum results limit) or to a subset of results. Different filters can be applied on the results. Developers can use the attributes to apply a combination of filters with and/or conditions.
  • Limiting the Response Size
    Developers can limit the number of records returned by an API call passing the "Limit" parameter in the call. The value of the "Limit" must be less than the allowed maximum limit.
  • Limiting the Attributes
    Developers can limit the API response to specific set of attributes by passing the attribute names in the API call. The example below explains how the attributes can be specified in the API call. This feature can be used in conjunction with query parameters.
  • Curl Command Sample:
    curl -X GET --header "Authorization: qMtn6xQapeouAlirfHXD7DWJFabV" "https://api.dubaipulse.gov.ae/shared/dueitc/dueitc_aggregated_demographics_by_community_open_data"
  • Query Samples:
    https://api.dubaipulse.gov.ae/shared/dueitc/dueitc_aggregated_demographics_by_community_open_data?filter=demographic_id=1 AND zone_id=10132 https://api.dubaipulse.gov.ae/shared/dueitc/dueitc_aggregated_demographics_by_community_open_data?filter=demographic_id=1 OR zone_id=10132
  • Record Limit Sample:
    https://api.dubaipulse.gov.ae/shared/dueitc/dueitc_aggregated_demographics_by_community_open_data?limit=10
  • Record Offset Sample:
    https://api.dubaipulse.gov.ae/shared/dueitc/dueitc_aggregated_demographics_by_community_open_data?offset=10
  • Record Order By Sample:
    https://api.dubaipulse.gov.ae/shared/dueitc/dueitc_aggregated_demographics_by_community_open_data?order_by=zone_id
  • Attribute Limiting Sample:
    https://api.dubaipulse.gov.ae/shared/dueitc/dueitc_aggregated_demographics_by_community_open_data?filter=demographic_id=1 AND zone_id=10132 &column=zone_id,value