Difference between using Collections SDK and Postman API?

Hi,

Iโ€™m integrating Postman into my Continuous Integration system. I want to create, update and publish some collections from my CI server. I see there are 2 options: the Postman-API and the Collections SDK.

My question: is the SDK just a wrapper around the API? Can I do everything the SDK does with the API? Or is there any special advantage in using the SDK?

No. API is used to fetch data about your endpoints from postman cloud. Collections sdk is just a library to work on the received json. I am also currently having issues working on that library - Item object always empty in Collection when loading from disk ยท Issue #1220 ยท postmanlabs/postman-collection ยท GitHub, not sure how that works.

1 Like