Need an API to convert Pinyin to Simplified Chinese characters
Based on Google  transliteration API:
https://www.google.com/intl/en/inputtools/services/features/transliteration.html

You can use http request "https://www.google.com/inputtools/request?ime=pinyin&amp;ie=utf-8&amp;oe=utf-8&amp;app=translate&amp;num=10&amp;text=wozaixuezhongwen" to convert text "wozaixuezhongwen" to "我在学中文" (I am learning Chinese)

so you can use any language (Python, JavaScript, Java, ...) to send the http request and read the response, and build you own application flexibility.