Skip to main content

No project description provided

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

SendCloud

Python package Downloads Downloads Downloads

sendcloud-python

Unofficial Python Library

This is a Python library that provides a simple way to communicate with the Sendcloud API.

Installation

pip install sendcloud-python

Example

import sendcloud
from sendcloud.classes import Parcels

sendcloud.API_KEY = "TEST_KEY"
sendcloud.API_SECRET = "TEST_SECRET"

parcels = Parcels().get_parcels()

new_parcel_data = {
    "parcel": {
        "name": "John Doe",
        "company_name": "Sendcloud",
        "address": "Insulindelaan 115",
        "house_number": "115",
        "city": "Eindhoven",
        "postal_code": "5642CV",
        "telephone": "+31612345678",
        "request_label": True,
        "email": "john@doe.com",
        "data": [],
        "country": "NL",
        "shipment": {"id": 8,},
        "weight": "10.000",
        "order_number": "1234567890",
        "insured_value": 2000,
    }
}
parcel = Parcels().create_parcel(new_parcel_data)

Develop Mode

For Testing you need to install project in develop mode pip install -e .[develop] and start this command python setup.py test

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

sendcloud_python-0.1.5.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sendcloud_python-0.1.5-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file sendcloud_python-0.1.5.tar.gz.

File metadata

  • Download URL: sendcloud_python-0.1.5.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for sendcloud_python-0.1.5.tar.gz
Algorithm Hash digest
SHA256 032df4e148a59ce9ae11b6db551294dcb8ea67c71b4526214380b7447868c07b
MD5 9163c3161f8f9d638aeed9b89081c4a7
BLAKE2b-256 6b79c2b4b411bc4edd8eee86c898cb37b059346c2098eaa7eb01547c6d61c66f

See more details on using hashes here.

File details

Details for the file sendcloud_python-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for sendcloud_python-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2ce0e65991c1a5de129b0a74343e683513d6d637d0ca31771272892fb840e70f
MD5 3a36633c089c5a483753df736d573982
BLAKE2b-256 631add90bed21b0f53f939acffc78b10a5335a1101a2a82b17e79c3278fc4a0c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page