0.0
No commit activity in last 3 years
No release in over 3 years
Get tons of express information easily from ali express service.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.15
~> 3.4.2
~> 10.0
~> 3.0

Runtime

 Project Readme

AliExpress

阿里全国快递查询接口ruby封装,提供包括申通、顺丰、圆通、韵达、中通、汇通、EMS、天天、国通、德邦、宅急送等几百家快递物流公司单号查询接口。与官网实时同步更新。同时可以自动识别快递公司。

Installation

Add this line to your application's Gemfile:

gem 'ali_express'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ali_express

Usage

# Configuration
AliExpress.configure do |config|
  config.app_code = '123456'
end

# Query
# type is optional here
AliExpress::ExpressQuery.new({ number: 'YOUR DELIVER NUMBER', type: 'COMPANY TYPE CODE' }).get_result

更多信息请参考 官方文档

License

The gem is available as open source under the terms of the MIT License.