api.ecota.co v2

The API ecotaco allows you to connect, create an account, manage your credit cards and order rides. # Authentication Ecotaco API use a system of application key and authentification token. ## Application key : The application key is generated by Ecota.co and unique to an application. Before accessing EcoTa.co APIs, you need to register your application. Please supply the following information to dev@ecota.co: - Application name - Company (if appropriate) - Contact name, phone and address - Contact email - Is this a web application, a desktop application, or an application running on a device? - Short description of your application It **must** be passed on request : "accounts -> login", "accounts -> facebook login" and "accounts -> register" . ## Authentification token : The authentification token is retrieved at login or register of an user. It **must** be passed in request for authenticate action in Authorization HTTP header. Example : Authorization: Token token=e55887022c1aca4c86abcc49e85ceb8a0c855d2af4d9fac75c08040a583dcde4 # Language On some of our resources, we filter the content displayed based on the Accept-Language header. If the language is not defined or if we don't use the language defined in this header, we automatically use French as the default language. EcoTa.co currently support two languages: English, French. ("en" and "fr") # Encoding All requests and answers on EcoTa.co are in UTF-8.

Claim this API

Are you the operator of api.ecota.co v2? Submit a claim to establish contact with us.

Report an Issue

Found something wrong with api.ecota.co v2? Let us know about broken links, changed auth, deprecated endpoints, or other issues.

Base URL: http://api.staging-ecotaco.com
Auth: unknown
Endpoints: 13
Reachable: unknown
CORS: unknown

Endpoints

Method Path Summary Auth Last Status Latency
GET / Retrieve the version API
GET /catchement_areas List all catchement areas
GET /catchement_areas/{id} Get a Catchement Area
GET /credit_cards List all CreditCards for the current User
GET /credit_cards/{id} Get a CreditCard
GET /products List all products
GET /products/{id} Get a Product
GET /promotional_codes Get all promotional codes for user
GET /rides/{id} Get a ride
GET /rides/{id}/cancel Cancel a Ride
GET /rides/{id}/cancel_fees Cancel fee of a Ride
GET /rides/{id}/estimate Estimate a ride
GET /rides?page={page}&per_page={per_page} Get all user rides
GET /{version} Retrieve the Entry Point on Version