# InvenioConnector API

**URL:** <https://invenio-talk.web.cern.ch/t/invenioconnector-api/220>\
**Category:** Community\
**Created:** [16 February 2022 11:21 UTC](https://invenio-talk.web.cern.ch/t/invenioconnector-api/220 "2022-02-16T11:21:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mccauley](https://invenio-talk.web.cern.ch/letter_avatar_proxy/v4/letter/m/ea5d25/32.png) [@mccauley](https://invenio-talk.web.cern.ch/u/mccauley)\
**Post date:** [16 February 2022 11:21 UTC](https://invenio-talk.web.cern.ch/t/invenioconnector-api/220/1 "2022-02-16T11:21:46Z")

</div>

I am supporting an application that used an older version of the invenio\_connector python package. Since then invenio has moved on to and from both invenio.utlls.connector and then invenio-client (as best as I can tell).

Essentially, I am querying CDS via InvenioConnector and displaying the results in a graphical, interactive application.

My question: what’s the latest and greatest way to install and access this API?

---

<div class="post-metadata">

**Author:** ![nitarocc](https://invenio-talk.web.cern.ch/letter_avatar_proxy/v4/letter/n/9e8a1a/32.png) [@nitarocc](https://invenio-talk.web.cern.ch/u/nitarocc)\
**Post date:** [16 February 2022 12:47 UTC](https://invenio-talk.web.cern.ch/t/invenioconnector-api/220/2 "2022-02-16T12:47:12Z")

</div>

Hello,  
I think you are referring to Invenio v1, which is the version of Invenio that CDS is running at the moment.  
Do you refer to [this invenio-client](https://github.com/inveniosoftware-attic/invenio-client) lib?

What APIs are you trying to use?

---

<div class="post-metadata">

**Author:** ![mccauley](https://invenio-talk.web.cern.ch/letter_avatar_proxy/v4/letter/m/ea5d25/32.png) [@mccauley](https://invenio-talk.web.cern.ch/u/mccauley)\
**Post date:** [16 February 2022 13:14 UTC](https://invenio-talk.web.cern.ch/t/invenioconnector-api/220/3 "2022-02-16T13:14:22Z")

</div>

Thanks for your reply.

I am doing something like:

```auto
from invenio_connector import *

cds_url = "http://cdsweb.cern.ch"
cds = InvenioConnector(cds_url)
results = cds.search(p="EXO",c="CMS Papers",f="reportnumber",rg="1000")

```

where `invenio_connector` comes from a local python file.

I would like to stop using this local installation and start using whatever is currently supported (and to keep up with any changes).

Is this invenio-client lib deprecated? If so, what should I use in its place?

---

<div class="post-metadata">

**Author:** ![nitarocc](https://invenio-talk.web.cern.ch/letter_avatar_proxy/v4/letter/n/9e8a1a/32.png) [@nitarocc](https://invenio-talk.web.cern.ch/u/nitarocc)\
**Post date:** [16 February 2022 16:37 UTC](https://invenio-talk.web.cern.ch/t/invenioconnector-api/220/4 "2022-02-16T16:37:19Z")

</div>

Can you please share the link to the “invenio\_connector” library that you are using?

We don’t maintain any Invenio connector library.  
I am the service manager of CDS, maybe you can create a [request](https://cern.service-now.com/service-portal?id=service_element&name=CDS-Service) explaining what kind of data you need to harvest.

---

<div class="post-metadata">

**Author:** ![mccauley](https://invenio-talk.web.cern.ch/letter_avatar_proxy/v4/letter/m/ea5d25/32.png) [@mccauley](https://invenio-talk.web.cern.ch/u/mccauley)\
**Post date:** [16 February 2022 16:54 UTC](https://invenio-talk.web.cern.ch/t/invenioconnector-api/220/5 "2022-02-16T16:54:30Z")

</div>

We were using an old version of invenio\_connector installed locally:

> **[d3-cms-physics/data at master · tpmccauley/d3-cms-physics](https://github.com/tpmccauley/d3-cms-physics/tree/master/data)**
>
> master/data

You can see a bit what we are doing in

> <https://github.com/tpmccauley/d3-cms-physics/blob/master/data/get_cds_data_PAG.py#L33-L39>

Essentially, we want to query CDS to obtain a list of CMS papers and from this information created an interactive webpage.

Is there an up-to-date way to query CDS via a python API?

---

<div class="post-metadata">

**Author:** ![nitarocc](https://invenio-talk.web.cern.ch/letter_avatar_proxy/v4/letter/n/9e8a1a/32.png) [@nitarocc](https://invenio-talk.web.cern.ch/u/nitarocc)\
**Post date:** [17 February 2022 12:43 UTC](https://invenio-talk.web.cern.ch/t/invenioconnector-api/220/6 "2022-02-17T12:43:26Z")

</div>

Hello,  
we don’t maintain this module.  
I will contact you by e-mail for more discussions, this is more related to CDS at CERN.
