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…
Maps & location#openapi#location
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
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.
Endpoints 27
EcoTa.co API Root
- GETRetrieve the version API
/ - GETRetrieve the Entry Point on Version
/:version
Accounts
- GETGet current user
/accounts - PUTUpdate User
/accounts - POSTCreate a new account with an application key
/accounts - POSTForget password with email
/accounts/password - GETPayment Methods
/accounts/payment_methods - POSTSettings
/accounts/settings - POSTLogin with email, password and application key
/accounts/sign_in - PUTUpdate Password
/accounts/update_password
CreditCards
- GETList all CreditCards for the current User
/credit_cards - GETGet a CreditCard
/credit_cards/:id
Rides
- GETGet a ride
/rides/:id - GETCancel a Ride
/rides/:id/cancelMust be authenticate - GETCancel fee of a Ride
/rides/:id/cancel_feesMust be authenticate - GETEstimate a ride
/rides/:id/estimate - POSTReserve a ride
/rides/:id/reserveTo book, the ride must belong to the connected user. The ride must have a main passenger at least, the booking user id and the payment hash must be set. Must… - GETGet all user rides
/rides?page=:page&per_page=:per_page - POSTCreate a ride
/rides?page=:page&per_page=:per_page
Promotional Codes
- GETGet all promotional codes for user
/promotional_codes - POSTAdd a promotional code
/promotional_codes
Adresses
- POSTGet autocomplete places
/addresses/places_autocompleteFor searching places just send the following attributes : longitude (optional, float) : The location longitude for the seach latitude (optional, float) : The… - POSTGet autocomplete places details
/addresses/places_details
Catchement Areas
- GETList all catchement areas
/catchement_areas - GETGet a Catchement Area
/catchement_areas/:id
Products
- GETList all products
/products - GETGet a Product
/products/:id
API details
- Base URL
http://api.staging-ecotaco.com- Authentication
- None declared in the description
- Operations
- 27 operations on 23 pathsGET 16POST 9PUT 2
- Main resources
- Accounts 8Rides 7Adresses 2Catchement Areas 2CreditCards 2EcoTa.co API Root 2Products 2Promotional Codes 2
- Response formats
application/jsonapplication/vnd.geo+jsonapplication/vnd.siren+json- Description format
- OpenAPI 3.0.0, API version
1.0.0 - Links
- OpenAPI document
- Listed from
- APIs.guru OpenAPI Directory (CC0-1.0)
Source updated
How to test the api.ecota.co v2 in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the api.ecota.co v2 collection, without the publisher's secrets.
- Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
- Send a requestPick an endpoint, for example “Retrieve the version API” (GET /), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the 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… It is listed under Maps & location and has 27 endpoints.
Who publishes the api.ecota.co v2?
It is listed from Staging Ecotaco's public API description (an OpenAPI document), not published by Staging Ecotaco on Swastik Codes. Anyone who controls staging-ecotaco.com can claim the profile by adding a DNS TXT record.
What is the base URL of the api.ecota.co v2?
Requests go to http://api.staging-ecotaco.com. Endpoint paths are added to this base URL.
How do I authenticate with the api.ecota.co v2?
Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.
How many endpoints does the api.ecota.co v2 have?
27 operations on 23 paths (16 GET, 9 POST, 2 PUT). The largest groups are Accounts, Rides, Adresses, Catchement Areas.
Is forking the api.ecota.co v2 free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.