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 requests | |
import json | |
APP_KEY = 'APP_KEY_HERE' # settings -> apps in localytics dashboard | |
API_KEY = 'API_KEY_HERE' # settings -> API keys localytics dashboard | |
API_SECRET = 'API_SECRET_HERE' # settings -> API keys localytics dashboard | |
headers = {'content-type': 'application/json'} | |
endpoint = 'https://messaging.localytics.com/v2/push/' + APP_KEY |
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
String regId = GoogleCloudMessaging.getInstance(context).register(SENDER_ID); | |
Localytics.setPushRegistrationId(regId); |
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
/* | |
Requires Unirest. Available via Maven/Gradle: http://mvnrepository.com/artifact/com.mashape.unirest/unirest-java/1.3.0 | |
*/ | |
import com.mashape.unirest.http.*; | |
import com.mashape.unirest.http.async.Callback; | |
import com.mashape.unirest.http.exceptions.UnirestException; | |
import org.json.JSONObject; | |
import java.util.concurrent.Future; |
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
/* | |
Requires Unirest. Available via Maven/Gradle: http://mvnrepository.com/artifact/com.mashape.unirest/unirest-java/1.3.0 | |
*/ | |
import com.mashape.unirest.http.*; | |
import com.mashape.unirest.http.exceptions.*; | |
import org.json.JSONObject; | |
public class LLCurrencyConversion { |
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 requests | |
import json | |
import uuid | |
APP_KEY = 'APP_KEY_HERE' # settings -> apps in localytics dashboard | |
API_KEY = 'API_KEY_HERE' # settings -> API keys localytics dashboard | |
API_SECRET = 'API_SECRET_HERE' # settings -> API keys localytics dashboard | |
headers = {'content-type': 'application/json'} | |
endpoint = 'https://messaging.localytics.com/v2/push/' + APP_KEY |
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
# Tyler Mills / tmills@localytics.com | |
import requests | |
import json | |
import uuid | |
import time | |
APP_KEY = '575aadd1cd1bceba03fc516-f0d08764-d84c-11e5-3985-00adad38bc8d' # Change Key for the Appropriate Platform | |
headers = {'content-type': 'application/json'} | |
endpoint = 'https://analytics.localytics.com/api/v2/applications/{}/uploads'.format(APP_KEY) |
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
var request = require('request'); | |
var Twitter = require('twitter'); | |
var client = new Twitter({ | |
consumer_key: '', | |
consumer_secret: '', | |
access_token_key: '', | |
access_token_secret: '' | |
}); |
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
# author: Tyler Mills | |
import requests | |
import json | |
# add user name and password | |
username = '' | |
password = '' | |
# monitor you want to get data from |
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
void function()%7Bvar i,t,e%3D%24(".customer-name"),n%3D%24("div.pii a%5Bhref*%3D%27mailto%27%5D").first()%3Bi%3Dwindow.prism.context.trackerId,i%26%26(t%3Dn.text(),t%3Dt.indexOf("%40")<%3D0%3F!1:encodeURIComponent(t))%3Bvar o%3Dfunction(i,t)%7BimgSrc%3D"https://jumbe.zaius.com/v2/zaius.gif%3Ftracker_id%3D"%2Bi%2B"%26event_type%3Demail%26action%3Dunsubscribe%26email%3D"%2Bt%2B"%26vuid%3D"%2BDate.now()%2BMath.random()%2B"%26campaign%3DZaius Utility%26content%3DProfile View Unsub Button",imgId%3D"unsub"%2Bt,imgId%3DimgId.replace(/%5B%5E%5Cw%5D/g,""),0%3D%3D%24("%23"%2BimgId).length%3F(%24("body").first().append("<img id%3D%27"%2BimgId%2B"%27 src%3D%27"%2BimgSrc%2B"%27/>"),console.log("User unsubscribed.")):console.log("This email address has been recently unsubscribed. Please wait."),%24("%23z-unsub-bookmarklet-button").hide()%7D%3Bi%26%26t%26%260%3D%3D%24("%23z-unsub-bookmarklet-button").length%26%26(window.z_bkmlt_postUnsub%3Dfunction()%7Bo(i,t)%7D,e.after("<div id%3D%27z-unsub-bookmarklet-div%27 style%3D%27m |
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 requests | |
import csv | |
import argparse | |
import time | |
import json | |
class ZaiusSchema(): | |
def __init__(self): | |
OlderNewer