V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
avichen
V2EX  ›  Python

又来求教了,远程客户端调用服务器的 API,将数据推送回服务器

  •  
  •   avichen · 2014-08-04 16:16:44 +08:00 · 3419 次点击
    这是一个创建于 3524 天前的主题,其中的信息可能已经有所发展或是发生改变。
    现在是这个设想:服务器端使用Flask构建Web API, 客户端通过HTTP每5分钟调用API将数据保存到服务器的数据库中
    不知道有没有成功的案例可以借鉴的,从架构的角度好好参考参考来设计一下,特此来求教,先谢谢了。
    3 条回复    2014-08-05 10:06:14 +08:00
    jsjscool
        1
    jsjscool  
       2014-08-04 16:52:38 +08:00
    https://github.com/WhiteHouse/api-standards

    风格非常美,可当标准来用。
    avichen
        2
    avichen  
    OP
       2014-08-04 17:18:11 +08:00
    @jsjscool 谢谢,研究一下。
    P9
        3
    P9  
       2014-08-05 10:06:14 +08:00
    @jsjscool 粗略看了下,感觉不错,回头细细研究下。 谢谢!
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1002 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 20:04 · PVG 04:04 · LAX 13:04 · JFK 16:04
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.