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
<!DOCTYPE html> | |
<html lang="en"> | |
<meta charset="utf-8"> | |
<head> | |
<!-- JS --> | |
<script src="jquery.js"></script> | |
<script type="text/javascript" src="underscore.js"></script> | |
<script type="text/javascript" src="d3.v3.js"></script> |
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
<div class="timeline"> | |
<div class="w-container"> | |
<h1 id="timeline">Timeline</h1> | |
<ul class="cbp_tmtimeline"> | |
<li> | |
<time class="cbp_tmtime" datetime="2013-04-10 18:30"><span id="today"></span> <span>Now</span></time> | |
<div class="cbp_tmicon cbp_tmicon-phone"></div> | |
<div class="cbp_tmlabel"> | |
<h2>Sign Up</h2> |
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
curl --include --request GET 'https://community-graphdive.p.mashape.com/v1/profile/InferredDemographics.json/fb/<facebookId>?token=%3Ctoken%3E&key=%3Ckey%3E' \ | |
--header "X-Mashape-Authorization: HZAMZr7fzsph5GrAA6t4stN2AUbCYnjH" | |
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
curl -i -X POST \ | |
-H "X-Mashape-Authorization: HZAMZr7fzsph5GrAA6t4stN2AUbCYnjH" \ | |
-d "clientId=undefined" \ | |
-d "clientSecret=undefined" \ | |
-d "scope=<scope>" \ | |
-d "callback=http://guardian.mashape.com/callback" \ | |
"https://mashape-community-factual.p.mashape.com/oauth_url" |
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
curl --include --request GET 'https://community-pipl.p.mashape.com/name/v2/json/?key=%3Ckey%3E&raw_name=Stone%20Matt%20Jr' \ | |
--header "X-Mashape-Authorization: HZAMZr7fzsph5GrAA6t4stN2AUbCYnjH" |
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 express = require('express'); | |
var app = express(); | |
app.use(express.bodyParser()); | |
var headlines = [ | |
{ author : 'John Smith', text : "You will not believe what this child does next."}, | |
{ author : 'Jane Doe', text : "It started as a protest, then turned into a party. Thats not even the interesting part."}, | |
{ author : 'Alice Example', text : "Can we squeeze two hundred jellybeans in one package? Yah probably."}, | |
{ author : 'Bob Allan', text : "This famous celebrity is opposed to something you are too."} |
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
{ | |
"name": "hello-api", | |
"description": "hello api", | |
"version": "0.0.1", | |
"private": true, | |
"dependencies": { | |
"express": "3.x" | |
} | |
} |
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 express = require('express'); | |
var app = express(); | |
app.get('/', function(req, res){ | |
res.send('Hello Im going to be an API!'); | |
}); | |
app.listen(3000); |
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 headlines = [ | |
{ author : 'John Smith', text : "You will not believe what this child does next."}, | |
{ author : 'Jane Doe', text : "It started as a protest, then turned into a party. Thats not even the interesting part."}, | |
{ author : 'Alice Example', text : "Can we squeeze two hundred jellybeans in one package? Yah probably."}, | |
{ author : 'Bob Allan', text : "This famous celebrity is opposed to something you are too."} | |
]; |
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 express = require('express'); | |
var app = express(); | |
var headlines = [ | |
{ author : 'John Smith', text : "You will not believe what this child does next."}, | |
{ author : 'Jane Doe', text : "It started as a protest, then turned into a party. Thats not even the interesting part."}, | |
{ author : 'Alice Example', text : "Can we squeeze two hundred jellybeans in one package? Yah probably."}, | |
{ author : 'Bob Allan', text : "This famous celebrity is opposed to something you are too."} | |
]; |
OlderNewer