Welcome to the Airtable community!
You posted your topic under the “Scripting” app category, which is why Jonathan suggested looking at the examples in the Scripting documentation.
However, you mention using a Python module, which implies that you are using the REST API from outside of the Airtable interface, as the REST API is the only Airtable API that can be used with Python.
Are you trying to move code that is outside the Airtable interface to a script run from a button inside the Airtable interface? If so, which parts are you having trouble with, getting the data from the 3rd party API, or making the updates to Airtable after you have received the data?
One difficulty with dealing with third party APIs in Scripting app is that you cannot use libraries without some rather involved workarounds. So, even if your third party api has a JavaScript module/library you cannot use it in Scripting app. Instead you need to build your get request from scratch using fetch
as Jonathan mentioned, including finding the exact endpoint you need to use as well as dealing with authentication and parameters.
You would be able to use a node module in a custom app, but developing a custom app is much more work than writing a script.