Skip to content

Commit cbab4c4

Browse files
committed
update: ReadMe. changed: Optimization Profiles endpoint
1 parent be5ff03 commit cbab4c4

File tree

4 files changed

+35
-13
lines changed

4 files changed

+35
-13
lines changed

README.md

Lines changed: 32 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,95 +8,117 @@
88
[pypi]: https://pypi.python.org/pypi/route4me
99

1010
### What does Route4Me do?
11-
In layman's terms Route4Me solves complex variations of the [traveling salesman problem](https://blog.route4me.com/traveling-salesman-problem/) and the [vehicle routing problem](https://blog.route4me.com/vehicle-routing-problems-real-life-solutions/). In more technical terms, Route4Me solves HP-hard logistics problems that span several mathematical and scientific disciplines such as industrial engineering, operations research, algorithmic graph theory, computational geometry, combinatorial optimization, fleet management, field service management, [telematics](https://telematics.route4me.com/).
11+
12+
In layman's terms Route4Me solves complex variations of the [traveling salesman problem](https://blog.route4me.com/traveling-salesman-problem/) and the [vehicle routing problem](https://blog.route4me.com/vehicle-routing-problems-real-life-solutions/). In more technical terms, Route4Me solves NP-hard logistics problems that span several mathematical and scientific disciplines such as industrial engineering, operations research, algorithmic graph theory, computational geometry, combinatorial optimization, fleet management, field service management, [telematics](https://telematics.route4me.com/).
1213

1314
### What does the Route4Me SDK permit me to do?
14-
This SDK makes it easier for you use the Route4Me API. The API has many features, including [route optimization](https://route4me.io/), and the primary features are related to creating orders and then [creating optimally sequenced driving routes](https://route4me.com) for many drivers.
15+
16+
This SDK makes it easier for you use the Route4Me API. The API has many features, including [route optimization](https://route4me.io/), and the primary features are related to creating orders and then [creating optimally sequenced driving routes](https://route4me.com) for many drivers.
1517

1618
### Who can use the Route4Me SDK (and API)?
19+
1720
The service is typically used by organizations who must route many drivers to many destinations. In addition to route optimization for new (future) routes, the API can also be used to analyze historical routes, and to distribute routes to field personnel.
1821

1922
### Who is prohibited from using the Route4Me SDK (and API)?
20-
The Route4Me SDK and API cannot be resold or used in a product or system that competes directly with Route4Me. This means that developers cannot resell route optimization services to other businesses or developers. However, developers can integrate our route optimization SDK/API into their software applications. Developers and startups are also permitted to use our software for internal purposes (i.e. a same day delivery startup).
2123

24+
The Route4Me SDK and API cannot be resold or used in a product or system that competes directly with Route4Me. This means that developers cannot resell route optimization services to other businesses or developers. However, developers can integrate our route optimization SDK/API into their software applications. Developers and startups are also permitted to use our software for internal purposes (i.e. a same day delivery startup).
2225

2326
### How does the API/SDK Integration Work?
27+
2428
A Route4Me customer, integrator, or partner incorporates the Route4Me SDK or API into their code base.
2529
Route4Me permits any paying subscriber to interact with every part of its system using it’s API.
2630
The API is RESTful, which means that it’s web based and can be accessed by other programs and machines
2731
The API/SDK should be used to automate the route planning process, or to generate many routes with minimal manual intervention
2832

2933
### Do optimized routes automatically appear inside my Route4Me account?
34+
3035
Every Route4Me SDK instance needs a unique API key. The API key can be retrieved inside your Route4Me.com account, inside the Settings tab called API. When a route is planned, it appears inside the corresponding Route4Me account. Because Route4Me web and mobile accounts are synchronized, the routes will appear in both environments at the same time.
3136

3237
### Can I test the SDK with other addresses without a valid API Key?
38+
3339
No. The sample API key only permits you to optimize routes with the sample address coordinates that are part of this SDK.
3440

3541
### Does the SDK have rate limits?
42+
3643
The number of requests you can make per second is limited by your current subscription plan. Typically, there are different rate limits for these core features:
3744
Address Geocoding & Address Reverse Geocoding
3845
Route Optimization & Management
3946
Viewing a Route
4047

4148
### What is the recommended integration architecture for the Route4Me SDK?
42-
There are two typical integration strategies that we recommend. Using this SDK, you can make optimization requests and then the SDK polls the Route4Me API to detect state changes as the optimization progresses. Alternatively, you can provide a webhook/callback url, and the API will notify that callback URL every time there is a state change.
49+
50+
There are two typical integration strategies that we recommend. Using this SDK, you can make optimization requests and then the SDK polls the Route4Me API to detect state changes as the optimization progresses. Alternatively, you can provide a webhook/callback url, and the API will notify that callback URL every time there is a state change.
4351

4452
### I don't need route management or mobile capabilities. Can I just use the route planning and route optimization API?
53+
4554
There are no additional costs to use the web interface or the mobile application to view your [optimized routes](https://support.route4me.com/route-planner-routes-list/), which mean that you can use only the API without paying extra
4655
for our web app or mobile app.
4756

4857
### How fast is the route Route4Me Optimization Web Service?
49-
Most routes having less than 200 destinations are optimized in 1 second or less. Larger routes having thousands of stops are split into their
58+
59+
Most routes having less than 200 destinations are optimized in 1 second or less. Larger routes having thousands of stops are split into their
5060
most reasonably optimal geographical regions, and then each of those regions is independently optimized in parallel. Whether you use polling or push,
5161
you will be able to retrieve all the routes optimized that were created from a large optimization problem set.
5262

5363
### Can I disable optimization when planning routes?
64+
5465
Yes. You can send routes with optimization disabled if you want to conveniently see them on a map, or distribute them to your drivers in the order you prefer.
5566

5667
### Can the API be used for aerial vehicles such as drones or self-driving cars?
68+
5769
Yes. The API can accept lat/lng and an unlimited amount metadata per destination (e.g. altitude, weight, pieces, cubic dimension). The metadata will be preserved as passthrough data by our API, so that the receiving service or device will have access to critical data when our API invokes a webhook callback to the device.
5870

5971
### Are all my optimized routes stored permanently stored in the Route4Me database?
72+
6073
Yes. Unless your contract specificies otherwise, all routes are permanently stored in the database and are no longer accessible to you after your subscription is terminated. Route4Me auto-prunes route data
6174
based on your subscription plan, with more expensive plans typically permitting a longer archival period.
6275

63-
6476
### Can I incorporate your API into my mobile application that requires routing, navigation, or route planning?
65-
Route4Me's route planning and optimization technology can only be added into applications that do not directly compete with Route4Me.
77+
78+
Route4Me's route planning and optimization technology can only be added into applications that do not directly compete with Route4Me.
6679
This means the application’s primary capabilities must be unrelated to route optimization, route planning, or navigation.
6780

6881
### Can I pay you to develop a custom algorithm?
82+
6983
Yes
7084

7185
### Can I use your API and resell it to my customers?
86+
7287
White-labeling and private-labeling Route4Me is possible but the deal's licensing terms vary considerably based on customer count, route count, and the level of support that Route4Me should provide to your customers.
7388

7489
### Does the API/SDK have TMS or EDI, or EDI translator capabilities?
90+
7591
Yes
7692

7793
### Can the API/SDK send notifications back to our system using callbacks, notifications, pushes, or webhooks?
7894

7995
Because Route4Me processes all routes asynchronously, Route4Me will immediately notify the endpoint you specify as a route optimization job progresses through each state of the optimization. Every stage of the route optimization process has a unique stage id.
8096

8197
### Does the Route4Me API and SDK work in my country?
98+
8299
Route4Me.com, as well as all of Route4Me’s mobile applications use the Route4Me SDK’s and API.
83100
Since Route4Me works globally, this means that all of Route4Me’s capabilities are available using the SDK’s in almost every country that has well digitized maps.
84101

102+
### Will the Route4Me API/SDK work in my program on Linux/\*Nix/Kubernetes/Docker, Windows, Mac?
85103

86-
### Will the Route4Me API/SDK work in my program on Linux/*Nix/Kubernetes/Docker, Windows, Mac?
87104
Customers are encouraged to select their preferred operating system environment. The Route4Me API/SDK will function on any operating system that supports the preferred programming language of the customer. At this point in time, almost every supported SDK can run on any operating system.
88105

89-
90106
### Does the Route4Me API/SDK require me to buy my own servers?
107+
91108
Route4Me has its own computing infrastructure that you can access using the API and SDKs. Customers typically have to run the SDK code on their own computers and/or servers to access this infrastructure.
92109

93110
### Does Route4Me have an on-premise solution?
94-
Route4Me does not currently lease or sell servers, and does not have on-premise appliance solution. This would only be possible in exceptionally unique scenarios.
95111

112+
Route4Me does not currently lease or sell servers, and does not have on-premise appliance solution. This would only be possible in exceptionally unique scenarios.
96113

97114
### Does the Route4Me API/SDK require me to have my own programmers?
115+
98116
The time required to integrate the SDK can be as little as 1 hour or may take several weeks, depending on the number of features being incorporated into the customer’s application and how much integration testing will be done by the client. A programmer’s involvement is almost always required to use Route4Me’s technology when accessing it through the API.
99117

118+
## Examples
119+
120+
Route4Me examples can be found [here](https://github.com/route4me/route4me-python-sdk/tree/master/examples)
121+
100122
## Installing requirements
101123

102124
pip install -r requirements.txt

VERSION.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# VERSION.py - MAINTAINER's. Don't edit, if you don't know what are you doing
77
# ==============================================================================
88

9-
VERSION = (0, 1, 6, 0)
9+
VERSION = (0, 2, 0, 0)
1010
RELEASE_SUFFIX = ""
1111

1212
VERSION_STRING = ".".join([str(x) for x in VERSION])

route4me/api_endpoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@
5151
EXPORTER_V5 = "https://wh.route4me.com/modules/api/v5.0/route-export/{route_id}/export"
5252
ROUTE_STATUS_V5 = "{}/route-status".format(API_V5)
5353
ORDERS_GROUP_V5 = "{}/orders/aggregation/combined".format(API_V5)
54-
OPTIMIZATION_PROFILES_V5 = "{}/optimization-profiles/list".format(API_V5)
54+
OPTIMIZATION_PROFILES_V5 = "{}/optimization-profiles/data-list".format(API_V5)
5555
ASSIGN_PROFILES_V5 = "{}/orders/aggregation/assign-optimization-profile".format(API_V5)

route4me/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# VERSION.py - MAINTAINER's. Don't edit, if you don't know what are you doing
77
# ==============================================================================
88

9-
VERSION = (0, 1, 6, 0)
9+
VERSION = (0, 2, 0, 0)
1010
RELEASE_SUFFIX = ""
1111

1212
VERSION_STRING = ".".join([str(x) for x in VERSION])

0 commit comments

Comments
 (0)