This file contains 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
import xmlrpclib | |
class InterworxRpc(object): | |
def __init__(self, server_url, key_file): | |
with open(key_file, 'r') as f: | |
self.key = f.read() | |
self.server = xmlrpclib.Server('https://%s:2443/xmlrpc' % server_url) | |
def Query(self, path, cmd, params=None): | |
params = params or {} |
This file contains 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
# Don't judge me I wrote this quickly. | |
# Create a file credentials.txt and put your email on the first line, and your password on the second. | |
# You may have to replace the @ in your email with %40, ie, foo@gmail.com would be foo%40gmail.com | |
import csv | |
import json | |
import requests | |
BASE_URL = 'https://api.vudu.com/api2/' |
This file contains 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
/** | |
* SimpliSafe Alarm State revision 5 | |
* 02-15-2016 | |
* | |
* Copyright 2015 Ben Fox with modifications by Jim Reardon | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except | |
* in compliance with the License. You may obtain a copy of the License at: | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 |