Skip to main content

Digital Marketplace API client

Python 3.11 Python 3.12 Python 3.13 Python 3.14 PyPI version

What's in here?

API clients for Digital Marketplace Data API and Search API.

Originally was part of Digital Marketplace Utils.

Running the tests

Install Python dependencies:

make bootstrap
invoke requirements-dev

Run the tests:

invoke test

Usage examples

data_client = apiclient.DataAPIClient(api_url, api_access_token)
services = data_client.find_services_iter(framework=frameworks)

Releasing a new version

To update the package version, edit the __version__ = ... string in dmapiclient/__init__.py, commit and push the change and wait for CI to create a new version tag.

Once the tag is available on GitHub, the new version can be used by the apps by adding the following line to the app requirements.txt (replacing X.Y.Z with the current version number):

git+https://github.com/Crown-Commercial-Service/ccs-digitalmarketplace-apiclient.git@X.Y.Z#egg=ccs-digitalmarketplace-apiclient==X.Y.Z

When changing a major version number consider adding a record to the CHANGELOG.md with a description of the change and an example of the upgrade process for the client apps.

Pre-commit hooks

This project has a pre-commit hook to do some general file checks and check the pyproject.toml. Follow the Quick start to see how to set this up in your local checkout of this project.

Licence

Unless stated otherwise, the codebase is released under the MIT License. This covers both the codebase and any sample code in the documentation.

The documentation is © Crown copyright and available under the terms of the Open Government 3.0 licence.

Download files

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

Source Distribution

ccs_digitalmarketplace_apiclient-38.10.0.tar.gz (27.5 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file ccs_digitalmarketplace_apiclient-38.10.0.tar.gz.

File metadata

File hashes

Hashes for ccs_digitalmarketplace_apiclient-38.10.0.tar.gz
Algorithm Hash digest
SHA256 ecd904a3572e4919cfdf361d3b6f03f49ec06d3a3f5183d2a6afdc5e2e1af188
MD5 33a9544fa5580d3206d78d7bf32e9f87
BLAKE2b-256 941309acc988248547d1a82bc4f6ce976514ac9290809779165b569d567d63f1

See more details on using hashes here.

File details

Details for the file ccs_digitalmarketplace_apiclient-38.10.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ccs_digitalmarketplace_apiclient-38.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e681913f291ec14d42ed363618c5f69dac5f431a3c5c6c92b3292bc6d2f01434
MD5 8da62030be1b56eec942ccd5db802b62
BLAKE2b-256 ef4698cca4084ca0aaf4b7492fb0afaa4b76fec67e4379f6f81b96389799781d

See more details on using hashes here.

Release history Release notifications | RSS feed

38.11.0

2 files

This release

38.10.0 This release

2 files

38.9.0

2 files

38.8.0

2 files

38.7.1

2 files

38.7.0

2 files

38.6.0

2 files

38.5.0

2 files

38.4.0

2 files

38.3.2

2 files

38.3.1

2 files

38.3.0

2 files

38.2.1

2 files

38.2.0

2 files

38.1.0

2 files

38.0.0

2 files

37.15.0

2 files

37.14.0

2 files

37.13.0

2 files

37.12.0

2 files

37.11.0

2 files

37.10.0

2 files

37.9.0

2 files

37.8.0

2 files

37.7.0

2 files

37.6.0

2 files

37.5.0

2 files

37.4.1

2 files

37.4.0

2 files

37.3.0

2 files

37.2.0

2 files

37.1.1

2 files

37.1.0

2 files

37.0.1

2 files

37.0.0

2 files

36.0.2

2 files

36.0.1

2 files

36.0.0

2 files

35.0.1

2 files

35.0.0

2 files

34.2.0

2 files

34.1.0

2 files

34.0.0

2 files

33.17.1

2 files

33.17.0

2 files

33.16.2

2 files

33.16.1

2 files

33.16.0

2 files

33.15.0

2 files

33.14.0

2 files

33.13.0

2 files

33.12.1

2 files

33.12.0

2 files

33.11.0

2 files

33.10.0

2 files

33.9.0

2 files

33.8.0

2 files

33.7.0

2 files

33.6.0

2 files

33.5.0

2 files

33.4.0

2 files

33.3.0

2 files

33.2.0

2 files

33.1.0

2 files

33.0.0

2 files

32.6.0

2 files

32.5.0

2 files

32.4.0

2 files

32.3.0

2 files

32.2.4

2 files

32.2.3

2 files

32.2.2

2 files

32.2.1

2 files

32.2.0

2 files

32.1.0

2 files

32.0.0

2 files

31.3.0

2 files

31.2.0

2 files

31.1.0

2 files

31.0.0

2 files

30.5.0

2 files

30.4.0

2 files

30.3.0

2 files

30.2.0

2 files

30.1.0

2 files

30.0.0

2 files

29.12.2

2 files

29.12.1

2 files

29.12.0

2 files

29.11.1

2 files

29.11.0

2 files

29.10.0

2 files

29.9.0

2 files

29.8.0

2 files

29.7.0

2 files

29.6.0

2 files

29.5.0

2 files

29.4.0

2 files

29.3.0

2 files

29.2.0

2 files

29.1.0

2 files

29.0.0

2 files

28.0.0

2 files

27.3.0

2 files

27.2.0

2 files

27.1.0

2 files

27.0.0

2 files

26.7.0

2 files

26.6.1

2 files

26.6.0

2 files

26.5.0

2 files

26.4.1

2 files

26.4.0

2 files

26.3.0

2 files

26.2.1

2 files

26.2.0

2 files

26.1.2

2 files

26.1.1

2 files

26.1.0

2 files

26.0.2

2 files

26.0.1

2 files

26.0.0

2 files

25.15.0

2 files

25.14.2

2 files

25.14.1

2 files

25.14.0

2 files

25.13.0

2 files

25.12.0

2 files

25.11.0

2 files

25.10.1

2 files

25.10.0

2 files

25.9.0

2 files

25.8.0

2 files

25.7.0

2 files

25.6.0

2 files

25.5.0

2 files

25.4.2

2 files

25.4.1

2 files

25.4.0

2 files

25.3.0

2 files

25.2.0

2 files

25.1.0

2 files

25.0.0

2 files

1.0.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page