##Preview
Simple Dashing widget (and associated job) to display recent StockTwits data for a specific ticker symbol using the StockTwits API.
##Dependencies
#!/usr/bin/python | |
import os | |
import sys | |
import datetime | |
import time | |
import subprocess | |
import passwords | |
from sqlalchemy import * | |
from sqlalchemy.orm import create_session |
##Preview
Simple Dashing widget (and associated job) to display recent StockTwits data for a specific ticker symbol using the StockTwits API.
##Dependencies
##Preview
Simple Dashing widget (and associated job) to display recent Twitter data for a specific ticker symbol.
##Dependencies
from vimeo import VimeoClient | |
v = VimeoClient(token=YOUR_AUTHENTICATED_BEARER_TOKEN, | |
key=YOUR_API_TOKEN, | |
secret=YOUR_TOKEN_SECRET) | |
upload_uri = v.upload('your-filename.mp4') | |
v.patch(upload_uri, data={"name": "myname"}) |
from flask import jsonify | |
class APIException(Exception): | |
""" Class for handling API Excpetions and Errors | |
""" | |
status_code = 400 | |
def __init__(self, message, status_code=None, payload=None): | |
Exception.__init__(self) |
>>> results = engine_instance.execute(select([User.name, User.fullname])).fetchall() | |
for result in results: | |
... print(result.name, result.fullname) | |
ed Ed Jones | |
wendy Wendy Williams | |
mary Mary Contrary | |
fred Fred Flinstone |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object: