Skip to content

Instantly share code, notes, and snippets.

@freyr
freyr / csharp-example.cs
Created June 11, 2015 10:14
Getresponse API v2, adding contact example
// Demonstrates how to add new contact to campaign.
using System;
using System.Web.Script.Serialization;
using System.IO;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Net;
@freyr
freyr / flex-example.mxml
Created June 11, 2015 10:16
GetResponse APIv2 example
<?xml version="1.0" encoding="utf-8"?>
/*
Implementation of sample scenario for Adobe AIR application using GetResponse API:
Aplication starts on simple button click.
Add new contact to campaign 'sample_marketing'.
Start his follow-up cycle and set custom field
'last_purchased_product' to 'netbook'.
@freyr
freyr / java-example.java
Created June 11, 2015 10:16
GetResponse APIv2 example
// Demonstrates how to add new contact to campaign.
// JSON-RPC module is required
// available at http://software.dzhuvinov.com/json-rpc-2.0.html
import com.thetransactioncompany.jsonrpc2.client.*;
import com.thetransactioncompany.jsonrpc2.*;
import net.minidev.json.*;
import java.net.*;
import java.util.*;
@freyr
freyr / javascript-example.js
Created June 11, 2015 10:17
GetResponse APIv2 example
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Language" content="en" />
<meta name="Author" content="Pawel Pabian, Pawel Nejczew http://implix.com" />
<title>Demonstrates how to add new contact to campaign.</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
@freyr
freyr / perl-example.pl
Created June 11, 2015 10:17
GetResponse APIv2 example
use v6;
# Demonstrates how to add new contact to campaign.
# JSON::RPC module is required
# available at https://github.com/bbkr/jsonrpc
# or included in Rakudo Star distribution from https://github.com/rakudo/star
use JSON::RPC::Client;
# your API key is available at
@freyr
freyr / php-example.php
Created June 11, 2015 10:18
GetResponse APIv2 example
<?php
# Demonstrates how to add new contact to campaign.
# JSON::RPC module is required
# available at http://github.com/GetResponse/DevZone/blob/master/API/lib/jsonRPCClient.php
require_once 'jsonRPCClient.php';
# your API key is available at
# https://app.getresponse.com/my_api_key.html
@freyr
freyr / python-example.py
Created June 11, 2015 10:21
GetResponse APIv2 example
#!/usr/bin/python
# Demonstrates how to add new contact to campaign.
import pprint
# JSON-RPC module is required
# available at https://github.com/joshmarshall/jsonrpclib
import jsonrpclib
@freyr
freyr / ruby-example.rb
Created June 11, 2015 10:22
GetResponse APIv2 example
#!/usr/bin/ruby
# Demonstrates how to add new contact to campaign.
# JSON-RPC module is required
# available at https://github.com/chriskite/jimson
# and in Ruby gems http://rubygems.org/gems/jimson
require 'jimson'
# your API key is available at
#How to download streaming video
Streaming just means a download that they don't want you to keep. But Chrome's developer tools make it easy to access what's really going on under the hood.
##Open Developer Tools
From the page where you want to download some things, go into your chrome menu to open the developer tools. You can either:
1. (On a mac): Command-option-J
2. (On a PC): Control-alt-J