Skip to main content

A package to get information about Click and Collect slots in NZ

Project description

Click and Collect NZ

PyPI

Usage

usage: python -m clickandcollectnz [-h] [--json] [{Countdown,NewWorld,PakNSave}] [store_id]

NZ Click and Collect time slots.

positional arguments:
  {Countdown,NewWorld,PakNSave}
  store_id

optional arguments:
  -h, --help            show this help message and exit
  --json                output in JSON format

Examples

$ python -m clickandcollectnz Countdown --json | jq

[
  {
    "id": "951739", 
    "name": "Countdown Hawera", 
    "available": 0, 
    "next_available": null, 
    "days": []
  }, 
  ... 
]
$ python -m clickandcollectnz Countdown 951739 --json | jq

{
  "id": "951739",
  "name": "Countdown Hawera",
  "available": 43,
  "next_available": {
    "time": "09:00AM - 10:00AM",
    "available": true,
    "raw_status": "Closing Soon"
  },
  "days": [
    {
      "date": "2020-04-06",
      "slots": [
        {
          "time": "09:00AM - 10:00AM",
          "available": false,
          "raw_status": "Closed"
        },
        ...
      ]
    },
    ...
  ]
}

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

clickandcollectnz-0.1.1.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

clickandcollectnz-0.1.1-py2.py3-none-any.whl (6.5 kB view hashes)

Uploaded Python 2 Python 3

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