Base HERE API¶
HEREApi
¶
Bases: object
Base class from which all wrappers inherit.
Source code in herepy/here_api.py
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
|
__init__(api_key=None, timeout=None)
¶
Returns a Api instance. Args: api_key (str): API key taken from HERE Developer Portal. timeout (int): Timeout limit for requests.
Source code in herepy/here_api.py
7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
|
__set_credentials(api_key)
¶
Setter for credentials. Args: api_key (str): API key taken from HERE Developer Portal.
Source code in herepy/here_api.py
22 23 24 25 26 27 28 |
|