expressbird

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CloudExpressBird 云服务商:快递鸟
	CloudExpressBird = "expressBird"
	// URL 接口地址
	URL = "https://api.kdniao.com"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ExpressBird

type ExpressBird struct {
	// contains filtered or unexported fields
}

ExpressBird 快递鸟客户端

func NewExpressBird

func NewExpressBird(appID, secretKey, requestType string) (*ExpressBird, error)

NewExpressBird 新建快递鸟客户端

func (*ExpressBird) Cloud

func (e *ExpressBird) Cloud() string

Cloud 获取云服务商名称

func (*ExpressBird) GetExpress

GetExpress 利用快递鸟即时查询接口获取快递物流信息 即时查询接口:https://www.kdniao.com/api-track requestType=1002,支持三家:申通、圆通和百世 即时查询(增值版)接口:https://www.kdniao.com/api-monitor requestType=8001 快递查询接口:https://www.kdniao.com/api-trackexpress requestType=8002

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL