The Termux:API add-on provides command line access to device API:s:
* Read and send sms messages from your terminal.
* Access device GPS location sensor from scripts.
* Pipe the result of commands into the device text-to-speech engine.
* Vibrate the device when something interesting happens.
* Access the system clipboard from shell scripts.
* List contacts from the system contact list.
Besides installing this app an additional package is required to install inside Termux:
$ apt install termux-api
See the following documentation about available API commands:
https://wiki.termux.com/wiki/Termux:API
NOTE: This is an add-on which requires that the main Termux app is installed to use.
टर्मक्स: एपीआई ऐड-ऑन डिवाइस एपीआई को कमांड लाइन एक्सेस प्रदान करता है: एस:
* अपने टर्मिनल से एसएमएस संदेश पढ़ें और भेजें।
* स्क्रिप्ट से डिवाइस डिवाइस जीपीएस स्थान सेंसर एक्सेस करें।
* कमांड के परिणाम को डिवाइस टेक्स्ट-टू-स्पीच इंजन में पाइप करें।
* कुछ दिलचस्प होने पर डिवाइस को कंपन करें।
* खोल स्क्रिप्ट से सिस्टम क्लिपबोर्ड तक पहुंचें।
* सिस्टम संपर्क सूची से संपर्क सूची।
इस ऐप को स्थापित करने के अलावा टर्मक्स के अंदर स्थापित करने के लिए एक अतिरिक्त पैकेज की आवश्यकता है:
$ Apt इंस्टॉल टर्मक्स-एपीआई
उपलब्ध API आदेशों के बारे में निम्न दस्तावेज़ देखें:
https://wiki.termux.com/wiki/Termux:API
नोट: यह एक ऐड-ऑन है जिसके लिए मुख्य टर्मक्स ऐप का उपयोग करने के लिए स्थापित किया गया है।