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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file clickandcollectnz-0.1.1.tar.gz.

File metadata

  • Download URL: clickandcollectnz-0.1.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for clickandcollectnz-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6348849995edd1aa7db9a27dfe548d55ccc06ca92435e59d6ee7cc5d40ba5254
MD5 54f1c77c0324988a458713ee8e91246c
BLAKE2b-256 039ba5ee565d483c4df06cfc5667e8a51190601e9f7c98d50b736a8f1aa8775b

See more details on using hashes here.

Provenance

File details

Details for the file clickandcollectnz-0.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: clickandcollectnz-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for clickandcollectnz-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 38e662808874d8646e0cc1cddea90cc4ddfa2ed57a5fcdfbc18cffb863cbf35e
MD5 95968a60b9431838e531c7634c0da180
BLAKE2b-256 6eadacc4c211cac7aab96820263a15506a347756b8af8c8986f1276487133dd3

See more details on using hashes here.

Provenance

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