skip to navigation
skip to content

Not Logged In

citylink-utils 0.8

Simple utility package to handle CityLink dispatches for commercial customers

The following package was developed to help process despatch requests with City Link couriers based in the UK.

They lacked an API for easy management of various functions such as retrieving manifests, reference codes, etc.

This package works by using the Mechanize library to navigate your commercial account admin area to carry out requests such as:

  • Fetch pending collections
  • Grab company reference numbers
  • Grab CityLink reference numbers
  • Get full HTML copy of collection manifest
  • Email the manifest

Requirements

The version below have been tested and working. Its possible other earlier and later versions may work. * Mechanize 0.2.5+ * lxml 3.3.3+ * Mailer 0.7+

Examples

Email Manifest

import citylink.CityLink

userid = "XXXXXX"
password = "XXXXXX"

cl = CityLink(userid, password)
cl.login()
cl.mail_manifest(emailfrom="from@test.com", emailto="to@test.com")
 
File Type Py Version Uploaded on Size
citylink-utils-0.8.tar.gz (md5) Source 2014-07-11 2KB
  • Downloads (All Versions):
  • 48 downloads in the last day
  • 360 downloads in the last week
  • 1163 downloads in the last month