Skip to main content
# 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
```

Metadata

Release files for gaode-api-cli 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gaode-api-cli 0.1.2
File Size Uploaded Provenance Actions
gaode_api_cli-0.1.2.tar.gz 3.8 kB Without provenance Details for gaode_api_cli-0.1.2.tar.gz

Release files / gaode_api_cli-0.1.2.tar.gz

Download URL gaode_api_cli-0.1.2.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
abe9d2fd0cea252b45dddddbe45e2108c73519996c8b85dcc88708dd1def0508
BLAKE2b-256 checksum
How to use checksums
8a469938caf11b0f0e5ba244d43dace801fae4f88851b1f3569f30b540a42d7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for gaode-api-cli 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page