grokability / jamf2snipe

Import and sync assets from a JAMFPro instance to Snipe-IT asset management.
MIT License
113 stars 55 forks source link

Try finding user in cached copy of users before searching with API #39

Closed christovic closed 4 years ago

christovic commented 4 years ago

Download a copy of the users from Snipe and querying that before using the API to search for users - this should reduce the amount of API calls made.

ParadoxGuitarist commented 4 years ago

I also accepted a PR from Snipe, that I don't think interferes with this, but I need to test it first. Both the the PRs exist in the devel branch. Unless you test it and it looks good to you.

ParadoxGuitarist commented 4 years ago

Also, many thanks =)

ParadoxGuitarist commented 4 years ago

Actually, this looks good to me at this point. =)