# Why python is used for API developement?

**URL:** <https://forums.digi.com/t/why-python-is-used-for-api-developement/22493>\
**Category:** Python\
**Tags:** configuration, java, python, xbee3\
**Created:** [June 21, 2021, 8:31am UTC](https://forums.digi.com/t/why-python-is-used-for-api-developement/22493 "2021-06-21T08:31:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ps3roms](https://avatars.discourse-cdn.com/v4/letter/p/f08c70/32.png) [@ps3roms](https://forums.digi.com/u/ps3roms)\
**Post date:** [June 21, 2021, 8:31am UTC](https://forums.digi.com/t/why-python-is-used-for-api-developement/22493/1 "2021-06-21T08:31:05Z")

</div>

My question is that why python is used for api developement where there have many other programming languages.[https://ps3r.com](https://ps3r.com)

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [June 21, 2021, 8:32am UTC](https://forums.digi.com/t/why-python-is-used-for-api-developement/22493/2 "2021-06-21T08:32:04Z")

</div>

Simply because it is an easy scripting language with large mount of processors or other devices that can run these scripts.

---

<div class="post-metadata">

**Author:** ![caseyroy](https://avatars.discourse-cdn.com/v4/letter/c/4af34b/32.png) [@caseyroy](https://forums.digi.com/u/caseyroy)\
**Post date:** [September 17, 2021, 8:30am UTC](https://forums.digi.com/t/why-python-is-used-for-api-developement/22493/3 "2021-09-17T08:30:36Z")

</div>

Let us begin by defining an API.  
An API (Application Programming Interface) is a grouping of functions. Functions rules that all services follow. These rules specify which format and command set your application can use to access the service and what data the service can return in the response. Thus, the API serves as a barrier between your application and the external service. You do not need to understand the service’s internal structure or features; send a simple command and receive data in a predetermined format.  
REST API (Representational state transfer) is a web service communication API that uses HTTP requests.
