Re: [Dhis2-users] DHIS2 Web API and R

2018-10-17 Thread Derek Kahongo Mukenge
Thank you for the share I appreciate Cordially Thanks On Wed, Oct 17, 2018, 10:17 Waka Wafubwa wrote: > Hi All, > > I found an easier implementation of the example of using R with DHIS2. I > found that *httr* library in R is easier and uses fewer lines of code to > achieve the same. > > See b

[Dhis2-users] DHIS2 Web API and R

2018-10-17 Thread Waka Wafubwa
Hi All, I found an easier implementation of the example of using R with DHIS2. I found that *httr* library in R is easier and uses fewer lines of code to achieve the same. See below. #Library to use library(httr) #This is a URL endpoint for a report table which we can get from the WebAPI. myurl<

Re: [Dhis2-users] DHIS2 WEB API.

2018-08-17 Thread Samuel Bwambale
Thanks Vunda I had never seen this, is it a new resource? On Fri, Aug 17, 2018 at 11:06 AM vunda limbe wrote: > Hi Alex, > > May be this link will be helpfull to you > http://dhis2trainingland.com/eportal/?p=1165 > > Thanks > > On Mon, Jul 30, 2018 at 3:18 PM, Muhammad Adeel wrote: > >> Hi Alex

Re: [Dhis2-users] DHIS2 WEB API.

2018-08-17 Thread vunda limbe
Hi Alex, May be this link will be helpfull to you http://dhis2trainingland.com/eportal/?p=1165 Thanks On Mon, Jul 30, 2018 at 3:18 PM, Muhammad Adeel wrote: > Hi Alex, > > Add the external domain where you are calling the DHIS2 API from to the > CORS white list. Then use any web method with he

Re: [Dhis2-users] DHIS2 WEB API.

2018-07-30 Thread Muhammad Adeel
Hi Alex, Add the external domain where you are calling the DHIS2 API from to the CORS white list. Then use any web method with headers including creditionals. You might find credentials referred to as withCredentials or credentials in CORS requests documentation. Adeel On Mon, 30 Jul 2018 at 1

[Dhis2-users] DHIS2 WEB API.

2018-07-30 Thread Alex Kimeu
Hello? I kindly need help linking DHIS2 to an external web portal. I've been trying to read through the DHIS2 web API documentation but I just can't seem to crack it. I need to to be able to view data from DHIS2 database on an external web portal. Kindly assist. Regards! -- *"The lion can't mis

Re: [Dhis2-users] DHIS2 WEB API.

2018-07-03 Thread Julhas Sujan
Hi Alex, You can follow this portal: http://dhis2trainingland.com/eportal/?p=1165 ​​ *Regards* Julhas On Tue, Jul 3, 2018 at 3:25 PM, Alex Kimeu wrote: > Hello, can I get any tutorial on linking DHIS2 to an external web portal? > Kindly, assist. > > > Regards! > > > _

Re: [Dhis2-users] DHIS2 WEB API.

2018-07-03 Thread riddy ndoma
Hi Alex, You need just to read DHIS2 Web API for knowing how to use this API and you will adapt it to your case. and it also depends on the programming language you will use. https://docs.dhis2.org/2.28/en/developer/html/webapi.html Regards, 2018-07-03 11:25 GMT+02:00 Alex Kimeu : > Hello, can

[Dhis2-users] DHIS2 WEB API.

2018-07-03 Thread Alex Kimeu
Hello, can I get any tutorial on linking DHIS2 to an external web portal? Kindly, assist. Regards! ___ Mailing list: https://launchpad.net/~dhis2-users Post to : dhis2-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-users More h

Re: [Dhis2-users] DHIS2 Web Api - using C#

2015-08-20 Thread charles waka
I did some further research based on what Morten had suggested and I can manipulate the data from my end (on the local instance of DHIS2 we have). Thanks for your help and suggestions. On Thu, Aug 20, 2015 at 10:06 AM, riddy ndoma wrote: > Hi Charles, > Can you share the error message. I think W

Re: [Dhis2-users] DHIS2 Web Api - using C#

2015-08-20 Thread riddy ndoma
Hi Charles, Can you share the error message. I think WebClient it's easy to use for calling a web API in c#. Cheers, On Aug 20, 2015 7:41 AM, "charles waka" wrote: > Hi, > > Can anyone have an example of an established connection to DHIS2 using C# > HttpWebRequest or WebClient methods? > > I hav

Re: [Dhis2-users] DHIS2 Web Api - using C#

2015-08-20 Thread Morten Olav Hansen
Hi Why are you making basic auth request to our form login processor? when you are using basic auth, just go directly to the url you want, i.e. /api/dataElements.json Also, it would be helpful to know exactly which errors you get -- Morten On Thu, Aug 20, 2015 at 1:41 PM, charles waka wrote:

[Dhis2-users] DHIS2 Web Api - using C#

2015-08-19 Thread charles waka
Hi, Can anyone have an example of an established connection to DHIS2 using C# HttpWebRequest or WebClient methods? I have written this method and all i get are errors when establishing the connection. private void ConnectDHIS() { string uname = "admin", pwd = "district";