Can I use API in Python?
Last updated
Was this helpful?
Last updated
Was this helpful?
Of course you can! Here is a quick guide on how to configure your environment and use our API.
Our API is just an interface, which means you need to use it within some application or code. When you choose Python, you first need to install it on your system.
Depending on your operating system and version, it might already be installed out-of-the-box. To test it, you need to open the and type one of the following commands:
If any of these commands print a Python version higher than 3.8, as shown below, then Python is properly installed:
If your result is different (for example, if it just prints "Python" without a version or if on Windows 11 the Microsoft Store opens), then it isn't installed.
You can install Python from the if you are using a newer version of Windows 11, or you can follow the and install it as a usual executable from there. You can safely install version 3.10 as most modern modules support it, or the latest version if you wish.
There are several good articles that describe the installation process. You can look at one or search the Internet for more options.
The installation process varies depending on your Linux distribution. Here is an example for Ubuntu (make sure that Python isn't installed, as described in the beginning):
Test your installation and you can proceed with the tutorial on the page.