Developers can use the Senegal Location API to create geolocation-based services that bring value to their users. For example, they can use the API to create transportation applications that match passengers with drivers based on their location. They can also use the API to create delivery services that accurately locate customers and deliver products to their doorstep.
Senegal Location API can also be used to create weather applications that provide users with accurate and up-to-date weather information based on their location. Developers can also use the API to create maps and navigation applications that provide users with turn-by-turn directions to their destination.
Senegal Location API is easy to integrate into existing applications and can be accessed via RESTful APIs. Developers can choose their preferred programming language, such as Java, Python, Ruby or PHP, and use the API to retrieve location data.
In addition to providing location data, this API also offers developers access to various location-based services, such as reverse geocoding. Reverse geocoding is the process of converting longitude and latitude coordinates into an address. Geofencing is the process of creating a virtual boundary around a specific location, and developers can use this feature to trigger location-based notifications, alerts or actions.
In conclusion, is a powerful tool for developers who want to create location-based services for the Senegal market. The API provides accurate and up-to-date location data, as well as access to a wide variety of location-based services and advanced features. With the Senegal Location API, developers can create innovative and useful applications that deliver value to users and drive business growth.
It will receive parameters and provide you with a JSON.
Cab services: Developers can use the Senegal Location API to provide destination information for drivers and passengers of the transportation service.
Delivery services: Can be used to track the location of delivery drivers and optimize delivery routes to save time and fuel costs.
E-commerce: Senegal Location API can be used to verify delivery addresses.
Real Estate:Can be used to provide location-based property listings.
Advertising and marketing: Can be used to deliver location-based advertising and marketing campaigns to users.
Besides the number of API calls, there is no other limitation.
To use this endpoint you must indicate the latitude and longitude of the 2 locations and the type of distance measurement km, mi, yd and ft.
Object | Description |
---|---|
lat1 |
[Required] |
lon1 |
[Required] |
lat2 |
[Required] |
lon2 |
[Required] |
unit |
[Optional] |
{
"distance": "190.46km",
"duration": "2h 38min",
"unit": "km"
}
curl --location --request GET 'https://zylalabs.com/api/1931/senegal+location+api/1651/get+senegal+distance?lat1=14.14129812&lon1=-16.0755888102151&lat2=14.693422&lon2=-17.447935&unit=km' --header 'Authorization: Bearer YOUR_API_KEY'
To use this endpoint all you have to do is to insert in the parameters the latitude, longitude of 2 locations with their unit of measure km and mi.
Object | Description |
---|---|
start_lat |
[Required] |
start_lon |
[Required] |
end_lat |
[Required] |
end_lon |
[Required] |
distance_unit |
[Optional] |
{
"distance": "190.46km",
"duration": "2h 38min",
"steps": [
{
"direction": "depart",
"distance": "0.28km",
"duration": "0min:41s",
"instruction": "",
"location": [
-16.074948,
14.141293
]
},
{
"direction": "turn",
"distance": "0.15km",
"duration": "0min:12s",
"instruction": "",
"location": [
-16.074947,
14.138792
]
},
{
"direction": "roundabout",
"distance": "0.03km",
"duration": "0min:4s",
"instruction": "",
"location": [
-16.076284,
14.138841
]
},
{
"direction": "exit roundabout",
"distance": "49.26km",
"duration": "47min:39s",
"instruction": "",
"location": [
-16.076475,
14.138834
]
},
{
"direction": "turn",
"distance": "7.63km",
"duration": "7min:34s",
"instruction": "",
"location": [
-16.464434,
14.344348
]
},
{
"direction": "new name",
"distance": "6.62km",
"duration": "5min:33s",
"instruction": "",
"location": [
-16.527001,
14.371047
]
},
{
"direction": "new name",
"distance": "36.89km",
"duration": "34min:54s",
"instruction": "",
"location": [
-16.572222,
14.407216
]
},
{
"direction": "off ramp",
"distance": "1.60km",
"duration": "2min:7s",
"instruction": "",
"location": [
-16.903589,
14.430608
]
},
{
"direction": "merge",
"distance": "86.60km",
"duration": "57min:25s",
"instruction": "",
"location": [
-16.911053,
14.437686
]
},
{
"direction": "off ramp",
"distance": "0.42km",
"duration": "0min:33s",
"instruction": "",
"location": [
-17.442147,
14.701305
]
},
{
"direction": "rotary",
"distance": "0.03km",
"duration": "0min:1s",
"instruction": "",
"location": [
-17.443896,
14.698164
]
},
{
"direction": "exit rotary",
"distance": "0.38km",
"duration": "0min:24s",
"instruction": "",
"location": [
-17.444109,
14.698083
]
},
{
"direction": "rotary",
"distance": "0.06km",
"duration": "0min:4s",
"instruction": "",
"location": [
-17.447158,
14.698289
]
},
{
"direction": "exit rotary",
"distance": "0.52km",
"duration": "0min:46s",
"instruction": "",
"location": [
-17.44736,
14.698115
]
},
{
"direction": "arrive",
"distance": "0.00km",
"duration": "0min:0s",
"instruction": "",
"location": [
-17.447646,
14.693409
]
}
]
}
curl --location --request GET 'https://zylalabs.com/api/1931/senegal+location+api/1654/get+senegal+route?start_lat=14.14129812&start_lon=-16.0755888102151&end_lat=14.693422&end_lon=-17.447935&distance_unit=km' --header 'Authorization: Bearer YOUR_API_KEY'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Senegal Location API REST API, simply include your bearer token in the Authorization header.
Header | Description |
---|---|
Authorization
|
[Required] Should be Bearer access_key . See "Your API Access Key" above when you are subscribed. |
No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.
Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.
Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the worldβs most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]
Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further
Prices are based on a recurring monthly subscription depending on the plan selected β plus overage fees applied when a developer exceeds a planβs quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.
Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.
You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]
Service Level:
100%
Response Time:
502ms
Service Level:
100%
Response Time:
1,130ms
Service Level:
100%
Response Time:
367ms
Service Level:
100%
Response Time:
1,704ms
Service Level:
100%
Response Time:
1,887ms
Service Level:
92%
Response Time:
432ms
Service Level:
100%
Response Time:
46ms
Service Level:
100%
Response Time:
1,436ms