Skip to main content

Herramienta gestión API ASEME DATADIS

Project description

Herramienta para facilitar la interactividad con el WebService del sistema DATADIS

  • Publicación de datos de distribuidora al sistema DATADIS
  • Gestión de peticiones

Informaciones de:

  • Contrato
  • Máximas potencia
  • AUtoconsumo

Fácil de utilizar

from datadis.webservice import DatadisWebServiceController
controller = DatadisWebserviceController()
controller.autenticar(usuario, password)
controller.contrato.__doc__
>>>
Publicar contrato al sistema DATADIS.
        Si el contrato ya existe en el sistema, se modificara
        Enviar un diccionario con las claves requeridas indicadas a continuacion
        data: {
            "nif": "",
            "nombre": "",
            "comercializadora": "",
            "tensionConexion": "",
            "tarifaAcceso": "",
            "discriminacionHoraria": "",
            "tipoPunto": "",
            "modoControlPotencia": "",
            "fechaInicioContrato": "",
            "cups": "",
            "distribuidora": "",
            "codigoPostal": "",
            "provincia": "",
            "municipio": ""
        }
        method: 'POST' por defecto, utilizar 'DELETE' para eliminar contrato

>>>
respuesta = controller.contrato(data)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

datadis-aseme-1.3.5.tar.gz (86.0 kB view details)

Uploaded Source

File details

Details for the file datadis-aseme-1.3.5.tar.gz.

File metadata

  • Download URL: datadis-aseme-1.3.5.tar.gz
  • Upload date:
  • Size: 86.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.28.2 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.15 CPython/3.10.6

File hashes

Hashes for datadis-aseme-1.3.5.tar.gz
Algorithm Hash digest
SHA256 24191b3ab596be9577e0dbebab3e2bb850285cda8b35632b151c82e3142e0639
MD5 43bc3dc670641a5a4b7e99fec6a5fa45
BLAKE2b-256 41915dab183a1f7fe64b2984c71dbea3d86337f449d300f24c27e27f74deeaa3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page