Hobadee / Hobadee/JamfVault

Simplify Jamf API connection

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Currently the Jamf API connection is established via 2 separate calls, such as:
```
JAC = JamfApiConnection(server, username, password)
api = JamfApi(JAC)
```
There was some reason I had to do a 2-step call like this, but I can't remember what it was anymore. Regardless, it's a little silly, and the 2-steps should be abstracted away so it's just a single call such as:
```
api = Jamf(server, username, password)
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the definitions and usages of JamfApiConnection and JamfApi, then trace how the two-step construction currently passes server, username, and password. Refactor the public entry point to support the requested single-call Jamf form while preserving the existing connection behavior. The work is done when callers no longer need to construct JamfApiConnection separately.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.