{"id":23557730,"url":"https://github.com/dougpenny/pyjamfpro","last_synced_at":"2026-02-21T14:33:18.892Z","repository":{"id":62581122,"uuid":"474061909","full_name":"dougpenny/PyJamfPro","owner":"dougpenny","description":"Synchronous python client for Jamf Classic/Pro API","archived":false,"fork":false,"pushed_at":"2024-09-07T19:38:43.000Z","size":51,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-31T22:35:37.386Z","etag":null,"topics":["jamf-pro","jamf-pro-api","python","python3","requests"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dougpenny.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-03-25T15:21:02.000Z","updated_at":"2024-09-07T19:38:46.000Z","dependencies_parsed_at":"2024-09-07T20:54:57.125Z","dependency_job_id":null,"html_url":"https://github.com/dougpenny/PyJamfPro","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"e9a42c8fe216a4b952f0510950df5ccf3036be19"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dougpenny/PyJamfPro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dougpenny%2FPyJamfPro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dougpenny%2FPyJamfPro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dougpenny%2FPyJamfPro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dougpenny%2FPyJamfPro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dougpenny","download_url":"https://codeload.github.com/dougpenny/PyJamfPro/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dougpenny%2FPyJamfPro/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260249958,"owners_count":22980763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jamf-pro","jamf-pro-api","python","python3","requests"],"created_at":"2024-12-26T15:16:38.166Z","updated_at":"2025-10-17T01:55:31.042Z","avatar_url":"https://github.com/dougpenny.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![PyJamfPro](Images/pyjamfpro.png)\n\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pyjamfpro)](https://pypi.org/project/pyjamfpro/)\n[![PyPI](https://img.shields.io/pypi/v/pyjamfpro?label=pypi%20package)](https://pypi.org/project/pyjamfpro/)\n[![MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)\n\n\nPyJamfPro is a basic Python wrapper for synchronous communication with the [Jamf Pro (and/or Classic) API](https://developer.jamf.com/jamf-pro/docs). The goal is to simplify the process of communicating with the [Jamf Pro](https://www.jamf.com/products/jamf-pro/) device management server API by handling authentication and decoding, allowing you to focus on using the data, not retrieving it.\n\n_PyJamfPro is not endorsed, sponsored, or affilitated with Jamf in any way._\n\n***\n\n## Usage\nBegin by installing the PyJamfPro module, using `pip`.\n\n```shell\npip install pyjamfpro\n```\n\nIn your code, simply import the PyJamfPro module and instantiate a new client object. The constructor requires three arguments:\n1. base_url - the base URL of your Jamf Pro server\n2. client_id\n3. client_secret\n* _Note_: PyJamfPro uses [Client Credentials](https://developer.jamf.com/jamf-pro/docs/client-credentials) with your Jamf Pro server. You will need to ensure an [API Client](https://learn.jamf.com/en-US/bundle/jamf-pro-documentation-current/page/API_Roles_and_Clients.html) has been created with the correct permissions for the actions you would like to perform with the API.\n\n```python\nfrom pyjamfpro import jamfpro\n\nclient = jamfpro.Client('https://example.jamfserver.com', 'client_id', 'client_secret')\n```\n\nOnce you have a client, you can start making synchronous calls to the API.\n```python\n# returns list of all mobile devices, using the Classic API\ndevices = client.classic_mobile_devices()\n\n# returns a dictionary of inventory data for the mobile device with ID 1234,\n# using the Classic API\ndevice = client.classic_mobile_device_for_id(1234)\n\n# returns a list of all computers, using the Jamf Pro API\ncomputers = client.pro_computers()\n```\n\nRefer to the [`endpoints.py`](./src/pyjamfpro/endpoints.py) file for other built-in methods. Additionally, you can use the [`make_api_request`](./src/pyjamfpro/jamfpro.py#L121) method to access any Jamf API endpoint. Full support for GET, POST, PUT, and DELETE are included.\n\n## Contributing\nIf you have a feature or idea you would like to see added to PyJamPro, please [create an issue](https://github.com/dougpenny/PyJamPro/issues/new) explaining your idea.\n\nLikewise, if you come across a bug, please [create an issue](https://github.com/dougpenny/PyJamPro/issues/new) explaining the bug with as much detail as possible.\n\nThe Jamf Pro API provides access to a lot of information and, unfortunately, we don't have time to research and implement every endpoint. Please feel free to open a pull request with any additional endpoints you create. We would love to have as many of the core endpoints covered as possible.\n\n## License\nPyJamPro is released under an MIT license. See [LICENSE](https://opensource.org/licenses/MIT) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdougpenny%2Fpyjamfpro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdougpenny%2Fpyjamfpro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdougpenny%2Fpyjamfpro/lists"}