Skip to main content

aliyun api gateway

Project description

from aliyun.api.gateway.sdk import client
from aliyun.api.gateway.sdk.http import request
from aliyun.api.gateway.sdk.common import constant

host = "http://xxxx"
url = "/api/vrp/express/areas"

cli = client.DefaultClient(app_key="key", app_secret="secret")

req_post = request.Request(host=host, protocol=constant.HTTP, url=url, method="GET", time_out=30000)

data = cli.execute(req_post)

print(data)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-aliyun-api-gateway-0.0.2.tar.gz (6.5 kB view details)

Uploaded Source

File details

Details for the file python-aliyun-api-gateway-0.0.2.tar.gz.

File metadata

  • Download URL: python-aliyun-api-gateway-0.0.2.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for python-aliyun-api-gateway-0.0.2.tar.gz
Algorithm Hash digest
SHA256 4068b3013206038856d5ffb1e44abac2db1d65cbd489b25e8286bea3243a98ac
MD5 25abb680fb8c832534b1976ad16de0de
BLAKE2b-256 5ee77d051fbaa3a067068b867b6e576a3d3b5072839d6fd076bdaaef8f358339

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page