Home » Dissemination and Capacity Strengthening » Application Programming Interface (API) » Record Limits
Re: Record Limits [message #9569 is a reply to message #6805] |
Mon, 18 April 2016 15:39 |
nchakraborty
Messages: 6 Registered: April 2016
|
Member |
|
|
What is the best way to get all of the records needed, if you are exceeding the record limit per page? For example, if I want data for several indicators, for breakdown=all, for all countries, is there something more efficient than having multiple API calls, such as:
" http://api.dhsprogram.com/rest/dhs/data?breakdown=all&in dicatorIDs=FP_SRCM_W_PUB,FP_SRCM_W_PRV,FP_SRCM_W_SHP,FP_SRCM _W_CHH,FP_SRCM_W_FRR,FP_SRCM_W_OSR,FP_SRCM_W_OTH,FP_SRCM_W_D KM,FP_SRCM_W_MIS,FP_CUSM_W_MOD,FP_CUSA_W_MOD,FP_CUSU_W_MOD&a mp;perpage=1000"
" http://api.dhsprogram.com/rest/dhs/data?breakdown=all&in dicatorIDs=FP_SRCM_W_PUB,FP_SRCM_W_PRV,FP_SRCM_W_SHP,FP_SRCM _W_CHH,FP_SRCM_W_FRR,FP_SRCM_W_OSR,FP_SRCM_W_OTH,FP_SRCM_W_D KM,FP_SRCM_W_MIS,FP_CUSM_W_MOD,FP_CUSA_W_MOD,FP_CUSU_W_MOD&a mp;perpage=1000&page=2"
" http://api.dhsprogram.com/rest/dhs/data?breakdown=all&in dicatorIDs=FP_SRCM_W_PUB,FP_SRCM_W_PRV,FP_SRCM_W_SHP,FP_SRCM _W_CHH,FP_SRCM_W_FRR,FP_SRCM_W_OSR,FP_SRCM_W_OTH,FP_SRCM_W_D KM,FP_SRCM_W_MIS,FP_CUSM_W_MOD,FP_CUSA_W_MOD,FP_CUSU_W_MOD&a mp;perpage=1000&page=3"
etc.?
|
|
|
Goto Forum:
Current Time: Fri Apr 26 16:36:53 Coordinated Universal Time 2024
|