Watch keynotes and sessions from MongoDB.live, our virtual developer conference.

Python examples of MongoDB Atlas API

Please could someone tell me where I can find Python examples of MongoDB Atlas API?

TIA

Hi Shaun,

Welcome to the MongoDB Community!

For the simplest example of using the Atlas API from Python, see Calling the MongoDB Atlas API - How to do it from Node, Python, and Ruby.

Once you have authenticated, the Atlas API should be straightforward to work with.

However, if you are looking for a more Pythonic interface or examples check out @Joe_Drumgoole’s mongodbatlas package: Install from PyPi or View source on GitHub.

Regards,
Stennie

1 Like