sbouaram f943119a51 | ||
---|---|---|
.idea | ||
handler | ||
internal | ||
interoperability/solidarity-api | ||
servers/grpc | ||
storage | ||
utils | ||
config.go | ||
config.yaml | ||
go.mod | ||
go.sum | ||
main.go | ||
readme.md |
readme.md
Coopgo Solidarity-Service
Coopgo Solidarity Service is a part of the coopgo MaaS platform, it implements the Solidarity mobility API and communicate via gRPC internally ton handle Silvermobi application trips bookings.
-
API Documentation can be found here:
https://git.coopgo.io/documentation/Solidarity_Mobility_API/wiki
Flow:
- The driver enters his availabilities that can be regular or punctual as well as his address, radius and additional infos such as car infos and preferences.
- The passenger enters his desired trip date , the trip route and additional infos such as preferences.
- The available drivers can be than listed via the DriverJourneys request that includes the desired departure date and the departure pickup point, if the departure is the same as the driver departure point or is included in the driver defined radius, the driver will be listed.
- After listing the drivers the passenger can initiate a booking with the desired driver.
Interoperability Rest API:
- The operator FQDN string param is required in every request and should correspond to the mobility operator defined API key.