# Widukind\_sdmx troubles (for a Python novice)

**URL:** <https://dbnomics.discourse.group/t/widukind-sdmx-troubles-for-a-python-novice/113>\
**Category:** Uncategorized\
**Created:** [November 8, 2017, 7:45pm UTC](https://dbnomics.discourse.group/t/widukind-sdmx-troubles-for-a-python-novice/113 "2017-11-08T19:45:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![colin](https://avatars.discourse-cdn.com/v4/letter/c/e19b73/32.png) [@colin](https://dbnomics.discourse.group/u/colin)\
**Post date:** [November 8, 2017, 7:45pm UTC](https://dbnomics.discourse.group/t/widukind-sdmx-troubles-for-a-python-novice/113/1 "2017-11-08T19:45:58Z")

</div>

Hi,

I’m attempting to use the DB.nomics connector for pandasdmx.

I ran the following codes from the :

```auto
$ pip install https://github.com/dr-leo/pandasdmx/tarball/master
$ pip install git+https://git.nomics.world/dbnomics/dbnomics-connector-pandasdmx.py.git

```

```auto
sdmx = Request(agency='INSEE')
data_response = sdmx.get(resource_type='data', resource_id="IPCH-2015-FR-COICOP", key={'FREQ': 'A', 'PRODUIT': '00', 'NATURE': 'INDICE'})

```

and received the following error after the 4th line of code:

```auto
Traceback (most recent call last):

  File "<ipython-input-103-7f4329f4cc12>", line 1, in <module>
    data_response = sdmx.get(resource_type='data', resource_id="IPCH-2015-FR-COICOP", key={'FREQ': 'A', 'PRODUIT': '00', 'NATURE': 'INDICE'})

  File "/Users/colindesmond/anaconda3/lib/python3.6/site-packages/widukind_sdmx/ __init__.py", line 180, in get
    key = self._make_key(resource_id, key)

AttributeError: 'Request' object has no attribute '_make_key'

```

Any idea what I’m doing wrong?

Thanks,  
Colin

---

<div class="post-metadata">

**Author:** ![thomasbrand](https://avatars.discourse-cdn.com/v4/letter/t/9e8a1a/32.png) [@thomasbrand](https://dbnomics.discourse.group/u/thomasbrand)\
**Post date:** [November 15, 2017, 5:36pm UTC](https://dbnomics.discourse.group/t/widukind-sdmx-troubles-for-a-python-novice/113/2 "2017-11-15T17:36:32Z")

</div>

Hi,

Sorry for the delay. We are currently developing a new version of DBnomics (website and API). The API will deliver data only in csv and JSON format (available in few weeks). My suggestion is to use the actual JSON format already available, even if it won’t be the exact same structure in the next API.

Thank you for your interest in DB.nomics!
