Using: Flask, SQLAlchemy, Infinite-scroll
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| BIT.LY link zu dieser Seite: | |
| https://bit.ly/weather-api | |
| API Key: | |
| bd5e378503939ddaee76f12ad7a97608 | |
| API Doku: | |
| http://openweathermap.org/current | |
| How to use an API key: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "items": [ | |
| { | |
| "simpleResponse": { | |
| "textToSpeech":"This is the first simple response for a basic card" | |
| } | |
| }, | |
| { | |
| "basicCard": { | |
| "title":"Title: this is a title", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## | |
| # Flask Drive Example App | |
| # | |
| # @author Prahlad Yeri <prahladyeri@yahoo.com> | |
| # @date 30-12-2016 | |
| # Dependency: | |
| # 1. pip install flask google-api-python-client | |
| # 2. make sure you have client_id.json in this same directory. | |
| import os |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $('.modal.draggable>.modal-dialog').draggable({ | |
| cursor: 'move', | |
| handle: '.modal-header' | |
| }); | |
| $('.modal.draggable>.modal-dialog>.modal-content>.modal-header').css('cursor', 'move'); |