that video someone is able to pull from NS to Post...
# general
d
that video someone is able to pull from NS to Postman
s
Dave you are looking for a Restlet... OR a Suitelet the big difference there is the restlet requires authentication and the suitelet does not.
basically your create the Restlet to return (expose) the data elements you want from NetSuite and then you can use Python to consume that data.
b
Suitetalk - NetSuite has created the API, and your external program consumes it. Format is SOAP. RESTlet - You define the API, and write code on NetSuite using SuiteScript. And then consume it from your external program. Format is REST. ODBC (SuiteAnalytics_Connect) - Additional license. Gives you direct access to underlying database from external applications. Generally much more work since the underlying tables may not map directly to the objects you see on NetSuite. SuiteAnalytics - Generally refers to creating reports and analytics on NetSuite itself.
Haven't used Python as an endpoint personally, but the discussion on the link below seems to be on point. This uses SuiteTalk. https://stackoverflow.com/questions/24413025/accessing-netsuite-data-with-python
s
I will preface this by saying I don't code in Python, and I have never used either of these projects, but there are open source projects on GitHub which expose data from Netsuite through Python. I see at least two: https://github.com/lukepirtle/python-netsuite https://github.com/jmagnusson/netsuite The first one appears to use SuiteTalk (SOAP) only with a 3-clause BSD license. The second one mentions web services and restlets, and has a license which looks to be copied from FreeBSD. They may be worth trying out, and likely better than rolling your own code, if your company allows the use of open source code in your projects.
The first one appears to use an outdated WSDL (2016.2) that I don't think supports token-based authentication. The second one is using a 2018.1 WSDL and supports token-based auth, so I'd probably look at it first for that reason.