Skip to main content

Software development kit for the ProjectManager.com API for Python

Project description

PyPI - Version

ProjectManager.com SDK API v4

This software development kit contains all API definitions for the ProjectManager.com REST API v4 for Python.

Why use the SDK?

The ProjectManager API v4 is available as a REST definition in OpenAPI format. You can read the documentation online at developer.projectmanager.com.

Using this SDK

Here's how to add this SDK to create a project.

pip install ProjectManagerSdk

To create an API client for ProjectManager, you must specify:

  • Your API key, and
  • Your environment URL.

For the ProjectManager production environment, the environment URL is https://api.projectmanager.com.

To obtain a ProjectManager.com API key:

  • Log on to ProjectManager.com
  • Click your name in the bottom left hand corner
  • Select Account, then API
  • Follow the instructions on the page to create a new API key

This example code demonstrates how to retrieve your API key from an environment variable and use it in Python:

import ProjectManagerSdk
import os

# Retrieve API key and create a client
apiKey = os.environ.get('PM_API_KEY')
client = ProjectManagerSdk.ProjectManagerClient('production', 'EXAMPLE_JUPYTER_NOTEBOOK')
client.with_api_key(apiKey)

# Test connectivity to the server
status_results = client.me.retrieve_me()
if not status_results.success or not status_results.data:
    print("Your API key is not valid.")
    print("Please set the environment variable PM_API_KEY and PM_ENV and try again.")
    exit()
print(f"Logged in as {status_results.data.fullName} ({status_results.data.emailAddress})")

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

projectmanagersdk-154.0.181.tar.gz (96.9 kB view details)

Uploaded Source

Built Distribution

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

projectmanagersdk-154.0.181-py3-none-any.whl (261.7 kB view details)

Uploaded Python 3

File details

Details for the file projectmanagersdk-154.0.181.tar.gz.

File metadata

  • Download URL: projectmanagersdk-154.0.181.tar.gz
  • Upload date:
  • Size: 96.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for projectmanagersdk-154.0.181.tar.gz
Algorithm Hash digest
SHA256 6eeec0690b153afce971d71458ff3a1afba81ee0a2380d3bf8a92fa926defbd9
MD5 de937f4ce86b5e5219e9eb9abfaff74e
BLAKE2b-256 1150c5c9005c1a8d7fbd880c5e4a00d7710e05a035bd8aaa09f7de6c97364f6c

See more details on using hashes here.

File details

Details for the file projectmanagersdk-154.0.181-py3-none-any.whl.

File metadata

File hashes

Hashes for projectmanagersdk-154.0.181-py3-none-any.whl
Algorithm Hash digest
SHA256 40c18ba071f55560635169e63b86152c6e65960f4a8392ac8de32b553e712612
MD5 a7c0062ba0f1d34244daadccb868a88b
BLAKE2b-256 84d10b69a1b72b83d1593633d70b3ee36af0e4e6effd46874249c00322b669f0

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