Extracting web users project list and api key programmatically

Hey all,

I am a developer from Mercy Corps, who is working on building an API
integration of Commcare into our monitoring and evaluation tracking &
analysis tool. I talked to Ryan Hartford from your team and he said I
should post here regarding suggested features that we would like to see:

1.) My Projects List: We would like the ability to get the list provided
under this tab so that we can see a list of a web user’s different CommCare
projects. At the moment, we have our system set up where our users have to
insert the name of the project they want to extract form reports from
manually. It is set up this way because commcare list forms api requires
the project name (aka domain). Many of our users are not super computer
literate so the less steps they have to do the better. Additionally, in
certain cases the domain name is not the same as the project name. I assume
this occurs when there are duplicate project names in your system. For
example, when I was testing I set up a project with the name test, but it
had the domain name test-20170447.

2.) Programmatic Access to API Key: The other request we have is the
ability to retrieve the commcare API key programmatically so that users no
longer have to retrieve their api key manually or only be temporarily
logged in with their password. Our ideal setup would be one where users can
login to our system, have the ability to import their form data to our
site, and not have to login again until they have logged out or their login
session has expired.

Let me know if you have any questions. We appreciate being able to provide
feedback. Could you let us know whether if you are willing to add to your
backlog? That feedback would help us communicate expectations back to our
users here at Mercy Corps.

Hi

I think you asked this question on this list before:
https://groups.google.com/d/topic/commcare-developers/um4KdqwMYm4/discussion

We also do not have an API for retrieving API Keys.

Unfortunately we don’t have any plans to add either of these items.

Simon Kelly
Director of Server Engineer | Dimagi

··· On 19 June 2017 at 23:33, wrote:

Hey all,

I am a developer from Mercy Corps, who is working on building an API
integration of Commcare into our monitoring and evaluation tracking &
analysis tool. I talked to Ryan Hartford from your team and he said I
should post here regarding suggested features that we would like to see:

1.) My Projects List: We would like the ability to get the list provided
under this tab so that we can see a list of a web user’s different CommCare
projects. At the moment, we have our system set up where our users have to
insert the name of the project they want to extract form reports from
manually. It is set up this way because commcare list forms api requires
the project name (aka domain). Many of our users are not super computer
literate so the less steps they have to do the better. Additionally, in
certain cases the domain name is not the same as the project name. I assume
this occurs when there are duplicate project names in your system. For
example, when I was testing I set up a project with the name test, but it
had the domain name test-20170447.

2.) Programmatic Access to API Key: The other request we have is the
ability to retrieve the commcare API key programmatically so that users no
longer have to retrieve their api key manually or only be temporarily
logged in with their password. Our ideal setup would be one where users can
login to our system, have the ability to import their form data to our
site, and not have to login again until they have logged out or their login
session has expired.

Let me know if you have any questions. We appreciate being able to provide
feedback. Could you let us know whether if you are willing to add to your
backlog? That feedback would help us communicate expectations back to our
users here at Mercy Corps.


You received this message because you are subscribed to the Google Groups
"CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.