Is there a simple Python example for getting the information from a given MPN?

Modified on Fri, 29 Jul 2022 at 05:37 PM

Oh yes! Perhaps the simplest example to start with is the sample query here.

The link above is to the Python example, but there are equivalent versions in C# and Javascript in the same GitHub repository, available publicly.

Warning : Access tokens are valid for 24 hours. As demonstrated in the examples, you should cache your access token in your application rather than requesting a new one for every query. This will give you better performance and will protect our underlying services.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article