xxxxxxxxxx
// Get list of all districts.
fetch('https://nepalocation.com/api/v1/district/list', {
method: 'get',
headers: new Headers({
'Authorization': 'Bearer ' + your_token,
'Content-Type': 'application/json'
}),
});
xxxxxxxxxx
<!--to get locations of nepal in json format-->
https://nepalocation.com/
xxxxxxxxxx
Nepal Location is a free Location API based for all the developers. Nepal Location API lets developers get the most relevant data of Nepal’s Location for their projects or application. We want everyone to have access to correct location information of Nepal.
Visit: https://nepalocation.com/v1/docs