Git Product home page Git Product logo

sinaapp's Introduction

新浪应用与淘宝应用

用新浪帐户登录,授权应用,
通过淘宝地址,获取淘宝商品,
分享到新浪微博,不论买家还是发博文的,都能得到淘宝客返利

PS.这是一个完整的应用,UI都有,但只能当flask的学习项目了,淘宝app没能通过审核
如果能申请到淘宝上线app,还是蛮好玩的应用 

应用主要的功能:
1.auth模块的openid处理
2.淘宝api的调用
3.商品图片处理


介绍下项目内容:
weibo----微博SDK, qq, sina
webapp
|---__init__.py   
|---config.cfg    flask配置
|---extensions.py 插件, 新浪微博appkey,淘宝appkey在这里设置
|---helpers.py    一些函数(注:大部分来自flask网站的snippets和newsmeme里)
|---models        数据models
|    |---....
|
|---forms         表单forms
|    |---....
|
|---scripts
|    |---taobaoapi.py   方便调用taobao api的简单类
|    |---mytimer.py     定时器,用于定时获取taobao api数据
|    |---models.py      定时获取用到的models
|    |---mydb.py        从flask-sqlalchemy1.0以前取下来应用的插件
|    |---taobao_func.py 淘宝api的调用函数
|	 
|---utils
|    |---imageProcess.py   这个图片处理函数,加水印文字等
|
|---permissions.py      flask权限设置
|---templates
|---static

sinaapp's People

Contributors

laoqiu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

sinaapp's Issues

问个问题

通过淘宝地址获取商品的id是怎么做的呢?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.