<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Python data retrieval]]></title><description><![CDATA[<p dir="auto">Hi team,</p>
<p dir="auto">Im bit struggling with Cloud backend Api for python. I want to know how can i use pyodbc library in api builder to retrieve data from database and return the response.<br />
Pls guide me?</p>
]]></description><link>https://community.appdrag.com/topic/211/python-data-retrieval</link><generator>RSS for Node</generator><lastBuildDate>Sun, 15 Mar 2026 18:22:18 GMT</lastBuildDate><atom:link href="https://community.appdrag.com/topic/211.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 10 Jul 2020 04:48:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Python data retrieval on Mon, 13 Jul 2020 10:33:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.appdrag.com/uid/16">@Joseph-Benguira</a> said in <a href="/post/779">Python data retrieval</a>:</p>
<blockquote>
<p dir="auto"><a href="https://api.appdrag.com/CloudBackend.aspx" rel="nofollow ugc">https://api.appdrag.com/CloudBackend.aspx</a></p>
</blockquote>
<p dir="auto">Thanks team. Will definitely give a try.</p>
]]></description><link>https://community.appdrag.com/post/783</link><guid isPermaLink="true">https://community.appdrag.com/post/783</guid><dc:creator><![CDATA[vinoth kumar]]></dc:creator><pubDate>Mon, 13 Jul 2020 10:33:29 GMT</pubDate></item><item><title><![CDATA[Reply to Python data retrieval on Mon, 13 Jul 2020 06:17:52 GMT]]></title><description><![CDATA[<p dir="auto">We don't have a library for Python but from Python you can use our REST API (like from any language)</p>
<p dir="auto">here is a python example to call cloudbackend to do a SELECT query:</p>
<pre><code>import requests

url = "https://api.appdrag.com/CloudBackend.aspx'"
params = {"command" : "CloudDBGetDataset","appID" : "YOUR_APPID_HERE", "APIKey":"YOUR_API_KEY_HERE", "query":"SELECT * FROM YOUR_TABLE LIMIT 10"}
response = requests.post(url, params)

print(response.text)
</code></pre>
<p dir="auto">You can find all API endpoints and required params here in the source of our NPM package for cloudbackend:<br />
<a href="https://github.com/AppDrag/appdrag-cloudbackend/blob/master/index.js" rel="nofollow ugc">https://github.com/AppDrag/appdrag-cloudbackend/blob/master/index.js</a></p>
]]></description><link>https://community.appdrag.com/post/779</link><guid isPermaLink="true">https://community.appdrag.com/post/779</guid><dc:creator><![CDATA[Joseph Benguira]]></dc:creator><pubDate>Mon, 13 Jul 2020 06:17:52 GMT</pubDate></item><item><title><![CDATA[Reply to Python data retrieval on Mon, 13 Jul 2020 06:11:43 GMT]]></title><description><![CDATA[<p dir="auto">I highly recommend you to follow AppDrag Academy tutorials (<a href="https://academy.appdrag.com/" rel="nofollow ugc">https://academy.appdrag.com/</a>), it's based on NodeJs (so javascript) but it's the same logic as Python so if you just need to translate JS to Python must be affordable if you're ok with Python.</p>
]]></description><link>https://community.appdrag.com/post/775</link><guid isPermaLink="true">https://community.appdrag.com/post/775</guid><dc:creator><![CDATA[Wassim]]></dc:creator><pubDate>Mon, 13 Jul 2020 06:11:43 GMT</pubDate></item><item><title><![CDATA[Reply to Python data retrieval on Sun, 12 Jul 2020 16:15:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.appdrag.com/uid/2">@wassim</a> ,<br />
Thanks for your reply.<br />
I still have some doubts with the usage.<br />
In my scenario, i have a form with some text boxes and an file attachment. When user clicks submit, i use ajax calls to send a post request to my python application api. From there, i get the url parameters and files, and save it to my destination folder and database. Then, i will do some sql queries and return some json data back to ajax calls.</p>
<p dir="auto">I want to replicate same functionality here. I can perform ajax calls to the api with required json data and files. But in the backend, how to get those parameters and files, and save the data. Then how to send back some sql query responses as json back to my ajax calls ?</p>
<p dir="auto">Please help me on this. If possible, some snippets will be helpful.</p>
]]></description><link>https://community.appdrag.com/post/764</link><guid isPermaLink="true">https://community.appdrag.com/post/764</guid><dc:creator><![CDATA[vinoth kumar]]></dc:creator><pubDate>Sun, 12 Jul 2020 16:15:29 GMT</pubDate></item><item><title><![CDATA[Reply to Python data retrieval on Fri, 10 Jul 2020 06:35:22 GMT]]></title><description><![CDATA[<p dir="auto">Hi,<br />
As we don't provide a python library for this you have to manually make API calls to AppDrag.</p>
<p dir="auto">I suggest you to read the code of our Javascript NPM and reproduce the API calls it make in Python : <a href="https://github.com/AppDrag/appdrag-cloudbackend" rel="nofollow ugc">https://github.com/AppDrag/appdrag-cloudbackend</a><br />
The code is here:<br />
<a href="https://github.com/AppDrag/appdrag-cloudbackend/blob/master/index.js" rel="nofollow ugc">https://github.com/AppDrag/appdrag-cloudbackend/blob/master/index.js</a></p>
<p dir="auto">And what might interest you is the <strong>sqlSelect</strong> and <strong>sqlExecuteRawQuery</strong> functions</p>
<p dir="auto">If you have any question while integrate it feel free to ask.</p>
]]></description><link>https://community.appdrag.com/post/709</link><guid isPermaLink="true">https://community.appdrag.com/post/709</guid><dc:creator><![CDATA[Wassim]]></dc:creator><pubDate>Fri, 10 Jul 2020 06:35:22 GMT</pubDate></item></channel></rss>