Search API
Public interface for Third Parties
Resource Group ¶
Search ¶
Search for ridesGEThttps://partners.blablacardaily.com/1/third_party/public/search
Example URI
GET https://partners.blablacardaily.com/1/third_party/public/search
URI Parameters
- access_token
string
(required) Example: 53bc0231-2e29-43f8-b894-96ef28f756dbAccess token for partner making the request
- departure_latitude
number
(required) Example: 48.8698273Passenger departure’s latitude
- departure_longitude
number
(required) Example: 2.3357733Passenger departure’s longitude
- arrival_latitude
number
(required) Example: 48.8030819Passenger arrival’s latitude
- arrival_longitude
number
(required) Example: 2.1251975Passenger arrival’s longitude
- departure_epoch
number
(required) Example: 1512543600Requested passenger departure’s time (unix time in seconds) - It should be between 15 minutes and one week from now
Response
200
Headers
Content-Type: application/json
Body
{
"price": {
"amount": 3.5,
"currency": "'USD'"
},
"ride_count": 45,
"url": "http:\\www.blablalines.com"
}
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"price": {
"type": "object",
"properties": {
"amount": {
"type": "number",
"description": "The price that the passenger agreed to pay for this order"
},
"currency": {
"type": "string",
"description": "The ISO 4217 code for the currency of the amount"
}
},
"required": [
"amount",
"currency"
],
"description": "Price object for those rides"
},
"ride_count": {
"type": "number",
"description": "Number of rides available for those search criterion"
},
"url": {
"type": "string",
"description": "Redirect url for that search"
}
}
}