You are welcome to inspect the source of this project to use Persian text mining API's in python.
This demo use Python 2.7 or 3.6+. Use the package manager pip to install requests and json packages (if not already installed).
pip install requests
pip install json
Please, replace "YOUR_API_KEY" with your real API key (in line 47 from the "python_demo.py" file):
47. querystring = {"apikey":"YOUR_API_KEY"}
Please, refer to Text-Mining Developer Panel for getting free API key.
For more information, please visit online documentation at docs.text-mining.ir