Getting Started
To use the Ogeam API, you'll need an API key. Contact our development team to get your key and start integrating our services.
Base URL:
https://api.ogeam.com/v1
API Endpoints
POST
/rides/request
Request a new ride by providing pickup and drop-off locations.
{
"pickup": {
"lat": 7.6289,
"lng": 5.2194,
"address": "Adelaide, Ekiti"
},
"dropoff": {
"lat": 7.6210,
"lng": 5.2227,
"address": "University of Ado-Ekiti"
},
"vehicle_type": "standard"
}
GET
/rides/{ride_id}/status
Get the current status and details of a specific ride.
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.ogeam.com/v1/rides/12345/status
GET
/drivers/nearby
Find available drivers near a specific location.
{
"location": {
"lat": 7.6289,
"lng": 5.2194
},
"radius": 5000
}
POST
/payments/process
Process payment for a completed ride.
{
"ride_id": "12345",
"amount": 2500,
"payment_method": "card",
"card_token": "tok_123456789"
}
Authentication
All API requests require authentication using your API key in the Authorization header.
Authorization: Bearer YOUR_API_KEY