On Github Hackapalooza / API-Integration
Thanks to Pearl Chen and Mark Reale for creating the foundation for today's content
The client–server model of computing is a distributed application structure that partitions tasks or workloads between the providers of a resource or service, called servers, and service requesters, called clients. Often clients and servers communicate over a computer network on separate hardware, but both client and server may reside in the same system. A server host runs one or more server programs which share their resources with clients. A client does not share any of its resources, but requests a server's content or service function. Clients therefore initiate communication sessions with servers which await incoming requests.
<iframe src="somewebsite.com/"
width="612"
height="710"
frameborder="0"
scrolling="no"
allowtransparency="true">
</iframe>
<iframe src="//instagram.com/p/bNTUnwB0Kw/embed/"
width="612"
height="710"
frameborder="0"
scrolling="no"
allowtransparency="true">
</iframe>
<iframe width="420"
height="315"
src="//www.youtube.com/embed/Q-WM-x__BOk"
frameborder="0"
allowfullscreen>
</iframe>
YouTube embed options can make your videos look less YouTube-y
YouTube Embedded Players and Player Parameters
<iframe src="//player.vimeo.com/video/77178239?title=0&byline=0&portrait=0&badge=0&color=FFB700"
width="500"
height="281"
frameborder="0"
webkitallowfullscreen
mozallowfullscreen
allowfullscreen>
</iframe>
<p>
<a href="http://vimeo.com/77178239">Caveirão</a> from
<a href="http://vimeo.com/guitv">Guilherme Marcondes</a> on
<a href="https://vimeo.com">Vimeo</a>.
</p>
Caveirão from Guilherme Marcondes on Vimeo.
<iframe src="https://www.eventbrite.com/tickets-external?eid=4653432542&ref=etckt&v=2"
frameborder="0"
height="256"
width="100%"
vspace="0"
hspace="0"
marginheight="5"
marginwidth="5"
scrolling="auto"
allowtransparency="true">
</iframe>
<a href="http://www.eventbrite.com/event/4653432542?ref=ebtn"
target="_blank">
<img border="0"
src="https://www.eventbrite.com/custombutton?eid=4653432542"
alt="Register for Eventbrite API - Office Hours on Eventbrite" />
</a>
<iframe width="425"
height="350"
frameborder="0"
scrolling="no"
marginheight="0"
marginwidth="0"
src="https://maps.google.ca/maps?f=q&source=s_q&hl=en&geocode=&q=City+Hall+Library,+Queen+Street+West,+Toronto,+ON&aq=0&oq=city+hal&sll=43.656877,-79.32085&sspn=0.927981,2.113495&ie=UTF8&hq=City+Hall+Library,&hnear=Queen+Street+West,+Old+Toronto,+Toronto,+Toronto+Division,+Ontario&t=m&z=14&iwloc=A&cid=2599218500484294781&ll=43.653023,-79.383602&output=embed">
</iframe>
<br />
<small>
<a href="https://maps.google.ca/maps?f=q&source=embed&hl=en&geocode=&q=City+Hall+Library,+Queen+Street+West,+Toronto,+ON&aq=0&oq=city+hal&sll=43.656877,-79.32085&sspn=0.927981,2.113495&ie=UTF8&hq=City+Hall+Library,&hnear=Queen+Street+West,+Old+Toronto,+Toronto,+Toronto+Division,+Ontario&t=m&z=14&iwloc=A&cid=2599218500484294781&ll=43.653023,-79.383602"
style="color:#0000FF;text-align:left">View Larger Map
</a>
</small>
Embed a map (classic Maps)
Embed a map (new Google Maps)
https://maps.google.ca/maps?f=q&source=s_q&hl=en&geocode=&q=City+Hall+Library,+Queen+Street+West,+Toronto,+ON&aq=0&oq=city+hal&sll=43.656877,-79.32085&sspn=0.927981,2.113495&ie=UTF8&hq=City+Hall+Library,&hnear=Queen+Street+West,+Old+Toronto,+Toronto,+Toronto+Division,+Ontario&t=m&z=14&iwloc=A&cid=2599218500484294781&ll=43.653023,-79.383602&output=embed
https://maps.google.ca/maps?
f = q
source = s_q
hl = en
geocode =
q = City+Hall+Library,+Queen+Street+West,+Toronto,+ON
aq = 0
oq = city+hal
sll = 43.656877,-79.32085
sspn = 0.927981,2.113495
ie = UTF8
hq = City+Hall+Library,
hnear = Queen+Street+West,+Old+Toronto,+Toronto,+Toronto+Division,+Ontario
t = m
z = 14
iwloc = A
cid = 2599218500484294781
ll = 43.653023,-79.383602
output = embed
# ruby example
person: {
name: "Sally",
height: "5 feet, 4 inches",
age: 27
}
<a class="twitter-timeline"
data-dnt="true"
href="https://twitter.com/llcodedotcom"
data-widget-id="475512175075667968">
Tweets by @josh_teneycke
</a>
! function (d, s, id) {
var js,
fjs = d.getElementsByTagName(s)[0],
p = /^http:/.test(d.location) ? 'http' : 'https';
if(!d.getElementById(id)) {
js = d.createElement(s);
js.id = id;
js.src = p + "://platform.twitter.com/widgets.js";
fjs.parentNode.insertBefore(js, fjs);
}
}(document, "script", "twitter-wjs");
Embedded TweetsEmbedded TimelinesTweet Button
<a href="//www.pinterest.com/pin/create/button/?url=http%3A%2F%2Fwww.flickr.com%2Fphotos%2Fkentbrew%2F6851755809%2F&media=http%3A%2F%2Ffarm8.staticflickr.com%2F7027%2F6851755809_df5b2051c9_z.jpg&description=Next%20stop%3A%20Pinterest"
data-pin-do="buttonPin"
data-pin-config="above">
<img src="//assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png" />i
</a>
<!-- Please call pinit.js only once per page -->
<script type="text/javascript"
async
src="//assets.pinterest.com/js/pinit.js">
</script>