简体   繁体   English

如何将我的kivy应用程序连接到为网站提供动力的在线mySQL数据库?

[英]How to connect my kivy app to an online mySQL database powering a website?

I'm relatively new to kivy in python, but I would like to build a mobile app for an existing website, to do this I will have to fetch data from this website's database, including users login credentials and many more. 我对使用kivy还是比较陌生的,但是我想为现有网站构建一个移动应用程序,为此,我将不得不从该网站的数据库中获取数据,包括用户登录凭据等。 Please I'm stuck I don't even know where to go from here. 请卡住,我什至不知道从这里去哪里。

Get the API of the site and then use the kivy urlrequest module . 获取站点的API ,然后使用kivy urlrequest模块 Eg For the login, you can get login details from the user using text input fields and display the response of the request as popups or labels. 例如,对于登录,您可以使用文本输入字段从用户那里获取登录详细信息,并将请求的响应显示为弹出窗口或标签。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM