Questions tagged [herepy]

9 questions
1
vote
1 answer

Extracting coordinates from GeocoderResponse

I am trying to obtain the coordinates of locations using the Free_form method in Herepy. This function returns a list of data in the form of a Json (as far as I know). I want to extract certain data from this list. I have tried using json.loads()…
0
votes
1 answer

Error occurred on routing_api __get _route response status code 403

I'd like to compute the travel time between two points. So I use the RoutingApi from herepy library (as reported in the example at https://github.com/abdullahselek/HerePy/blob/master/examples/routing_api.py): from herepy import ( …
0
votes
1 answer

Herepy EVCharging Station API; Error occured: Forbidden, description: These credentials do not authorize access

I am trying to use HERE api to get some charging station data. I signed up for a freemium account and verified my email address. I am using Herepy to send requests but unfortunately I get the following error HEREError: Error occured: Forbidden,…
Prashant Kumar
  • 501
  • 8
  • 26
0
votes
1 answer

For loop in a dictionary inside a dictionary for dataframe construction in herepy (PlacesAPI)

I am using Python and I am trying to access the result of function PlacesAPI where I can see supermarkets around me and create a dataframe with few parts of each dictionary inside the main dictionary using a for loop, however I am getting the same…
0
votes
0 answers

Fixing "HEREError: Error occured on __get"

Im getting started using the herepy EVCharginStationsApi and have been running into some issues that I can't troubleshoot on my own. I have obtained an API Key and have tried this so far: evAPI = EVChargingStationsApi(API_Key) response =…
0
votes
1 answer

Why does the routingApi.matrix() method in the HERE API sometimes not find the cost between two points?

I am working with the Here API and Python (herepy) and I have had problems using the routingApi.matrix() method since running the code multiple times throws the following error. In particular, for the same set of Start Points and End Points,…
0
votes
1 answer

Geocoding using herepy package behind a proxy

I'm tryng to retrieve the geocoordinates of a given address using the herepy package on Python. As I'm working behind a network proxy, I've initialized the proxy environment variable with the proxy. import os import herepy…
OinkOink
  • 63
  • 1
  • 7
0
votes
1 answer

AttributeError implementing Bicycle Routing function in Herepy

While the link here shows that the Herepy library supports Here-API's bicycle routing, I cannot make it work (while car routing works great). When running: import herepy #https://herepy.readthedocs.io/en/latest/herepy.html lat1,lng1 = 45.575402,…
Lucien S.
  • 5,123
  • 10
  • 52
  • 88
-1
votes
1 answer

HERE Routing API - Matrix/Multiple arrival times?

Update: I have switched to HERE Routing API because I was told that it would be faster. I am trying to use HerePy to get a routing matrix, but I am getting the following error message: AttributeError: 'RoutingApi' object has no attribute…
Hanna
  • 121
  • 5