I am using Network Analyst to calculate the travel time from point A to point B. I need to do this for thousands of points, so the obvious solution is automating in Python. While I can write a script that calls the relevant ArcPy tools, I'd like to be able to just call our network analyst webservice and parse its results -- I only need the travel time, not the turn-by-turn directions, the route, or any of the other informative results produced through Network Analyst. I assumed that would be faster.
Based on this answer and the Requests module documentation, I thought this would work:
import requests response = requests.get('http:///arcgis/rest/services/Click/ClickRo...t-from-a-arcgis-geoprocessing-service]أكثر...
Based on this answer and the Requests module documentation, I thought this would work:
import requests response = requests.get('http:///arcgis/rest/services/Click/ClickRo...t-from-a-arcgis-geoprocessing-service]أكثر...