Metadata-Version: 1.2
Name: gaode_api_cli
Version: 0.1.2
Summary: 简易高德API命令行工具
Home-page: https://github.com/pythoneer-ml/pypi-gaode-api
Author: Albin
Author-email: binwei.zeng3@gmail.com
Maintainer: albin3
Maintainer-email: binwei.zeng3@gmail.com
License: BSD License
Description: # pypi-gaode-api
        pypi tools for gaode api, https://lbs.amap.com/api/webservice/summary
        
        Tips: only can be used after python version 3.0.
        
        ## Install
        
        ```shell
        > pip install gaode-api-cli
        
        > gaode-api-intersection
        
        Usage:       gaode-api-intersection
                     gaode-api-intersection searchByFile
                     gaode-api-intersection searchOne
        ```
        
        ## Config Usage
        > To config gaode key
        
        ### get a gaode key
        
        visit [gaode developer platform](https://lbs.amap.com/dev/key/app) to get a new `Web API key`.
        
        ### set gaode key
        
        ```shell
        > gaode-api-config set-key <key>
        ```
        
        ### get gaode key
        
        ```shell
        > gaode-api-config get-key
        
        <gaode-key-will-display>
        ```
        
        ## Intersection Usage
        > Searching for intersection information from Gaode [Search API](https://lbs.amap.com/api/webservice/guide/api/search/?)
        
        ### searchOne
        
        ```shell
        > gaode-api-intersection searchOne 天目山路
        
        > gaode-api-intersection searchOne 天目山路 hanzhou
        
        > gaode-api-intersection searchOne 天安门 hanzhou
        ```
        
        ### searchByFile
        > To search intersections of a batch data.
        
        1. edit `input.txt` in current dir.
        
        keywords without id
        
        ```
        天目山路高教路口
        文一西路高教路口
        ...
        ```
        
        keywords with id is supported
        
        ```
        001 天目山路高教路口
        002 文一西路高教路口
        003 ...
        ... ...
        ```
        
        2. execute command like below.
        
        ```shell
        # outputs going into output.csv
        > gaode-api-intersection searchByFile input.txt
        
        # outputs going into output1.csv
        > gaode-api-intersection searchByFile input.txt output1.csv
        ```
        
        
Platform: all
Classifier: Development Status :: 4 - Beta
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: Implementation
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development :: Libraries
