Skip to main content

Simple utility package to handle CityLink dispatches for commercial customers

Project description

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


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+


Email Manifest

import citylink.CityLink

userid = "XXXXXX"
password = "XXXXXX"

cl = CityLink(userid, password)
cl.mail_manifest(emailfrom="", emailto="")

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
citylink-utils-0.8.tar.gz (3.0 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page