SlideShare une entreprise Scribd logo
1  sur  33
Télécharger pour lire hors ligne
Open APIs
Concepts. Applications. Visualizations.
Me. Christian Dalager
Coding for fun & profit
Web. Not design.
Eksponent.com
@dalager
We really need to talk about... stuff
● Short story of closed and open.
● What is APIs?
● Applications
● Implications
https://www.flickr.com/photos/mlrs193/6015396482
The Internet - Open Information
Democratization of media and information
● blogging (early 00s)
● citizen journalism / knowledge
● disrupting monopolistic structures
● cracks in the walls of organizations
● whistleblowing/wikileaks
Open Source
Software Ecosystem
● Linux - open operating system
● Wordpress - open publishing platform
● Github - open source distribution platform
Open Data
“Open data is the idea that certain data
should be freely available to everyone
to use and republish as they wish,
without restrictions from copyright,
patents or other mechanisms of
control”
http://en.wikipedia.org/wiki/Open_data
● Wikipedia
● Creative Commons
● OpenStreetMap
● http://data.kk.dk
Open Hardware
Taking the “open movement” into the real
● Maker / Tinker Movement
● Arduino / Raspberry PI
● 3D Printing
So. Friendship across borders.
API Time
Understanding APIs
Application Programming Interface
Updating data
“Hey fitbit, update dalagers
weight to 91.3 kg”
Or “the way that machines talk to each other”
Reading information
“Hey twitter, give me a list of
@dalagers last five tweets”
{
"coordinates": null,
"favorited": false,
"truncated": false,
"created_at": "Wed Aug 29 17:12:
58 +0000 2012",
"id_str": "240859602684612608",
"entities": {
"urls": [
{
"expanded_url": "https:
//dev.twitter.com/blog/twitter-certified-products",
"url": "https://t.
co/MjJ8xAnT",
"indices": [
52,
73
],
"display_url": "dev.
twitter.com/blog/twitter-cu2026"
}
],
"hashtags": [
],
"user_mentions": [
]
},
"in_reply_to_user_id_str": null,
"contributors": null,
"text": "Introducing the Twitter
Certified Products Program: https://t.co/MjJ8xAnT",
"retweet_count": 121,
"in_reply_to_status_id_str":
null,
"id": 240859602684612608,
"geo": null,
"retweeted": false,
"possibly_sensitive": false,
"in_reply_to_user_id": null,
"place": null,
"user": {
"profile_sidebar_fill_color":
"DDEEF6",
"profile_sidebar_border_color": "C0DEED",
"profile_background_tile":
false,
"name": "Twitter API",
"profile_image_url": "http:
//a0.twimg.
com/profile_images/2284174872/7df3h38zabcvjylnyfe3_n
ormal.png",
"created_at": "Wed May 23 06:
01:13 +0000 2007",
"location": "San Francisco,
CA",
"follow_request_sent": false,
"profile_link_color":
"0084B4",
"is_translator": false,
"id_str": "6253282",
"entities": {
"url": {
"urls": [
{
"expanded_url": null,
"url": "http://dev.
twitter.com",
"indices": [
0,
22
]
}
]
},
"description": {
"urls": [
]
"default_profile": true,
"contributors_enabled": true,
"favourites_count": 24,
"url": "http://dev.twitter.com",
"profile_image_url_https": "https://si0.
twimg.
com/profile_images/2284174872/7df3h38zabcvjylnyfe3_normal.
png",
"utc_offset": -28800,
"id": 6253282,
"profile_use_background_image": true,
"listed_count": 10775,
"profile_text_color": "333333",
"lang": "en",
"followers_count": 1212864,
"protected": false,
"notifications": null,
"profile_background_image_url_https":
"https://si0.twimg.com/images/themes/theme1/bg.png",
"profile_background_color": "C0DEED",
"verified": true,
"geo_enabled": true,
"time_zone": "Pacific Time (US &
Canada)",
"description": "The Real Twitter API. I
tweet about API changes, service issues and happily answer
questions about Twitter and our API. Don't get an answer?
It's on my website.",
"default_profile_image": false,
"profile_background_image_url": "http:
//a0.twimg.com/images/themes/theme1/bg.png",
"statuses_count": 3333,
"friends_count": 31,
"following": null,
"show_all_inline_media": false,
"screen_name": "twitterapi"
},
"in_reply_to_screen_name": null,
"source": "<a href="//sites.google.
com/site/yorufukurou/"" rel=""nofollow"">YoruFukurou</a>",
"in_reply_to_status_id": null
}
Tweet: “Introducing the Twitter
Certified Products Program: https://t.
co/MjJ8xAnT”
Open APIs
● Setting data free
● Holes in the garden walls
● Categories
○ Embedding - Twitter widgets, like buttons
○ Datafeeds - JSON/RSS (Really Simple Syndication)
○ Full access (read/write/delete) “on behalf of” -
typically w OAuth2 or similar security.
Where can I find an API?
● Discover it: programmableweb.com
● Ask it: “Do you have an API?”
Why create an API for a service?
● Open APIs are the shoulders of digital giants
○ users will build value (for free) on top of your stuff
● participate in internet ecosystem
● help users use their own data / your data
● create ties to your API consumers
● let 3rd party mobile apps use your service
Applications
What people are using it for
Mashing it up / Mixing the openness
● Innovative services, creating new value through APIs - Uber,Mechanical Turk, IFTTT
● Visualisations - http://variable.io/ (Martin Ignac, CIID alumni), D3.js cases
● Activism - ggautoblocker, visitationszone.dk, face-to-facebook, They Rule, Please rob me, Buycott
● Journalism - dk national budget 2015, Million dollars blocks
● Websites - ie twitter widgets
● Art - seb.ly, various installations (activism list is also arty)
● Tools - gazillion examples. But Slack does A LOT.
On visualizations
No data, nothing to visualize.
(big) Data
Visualization
Existing data? Need to collect? How?
Sources: CSV, GeoJSON, Txt, Databases, Google Fusion
Tables
Target audience?
Tech: Excel/GoogleChart, D3.js, Graph tools, JavaScript,
Html/CSS3, Plask
Intent
Solving a problem? (reducing/communicating complexity)
Exploring unknown territory?
A few samples
wordle.net +
kea.dk content
Sociallytic.dk +
HipChat +
D3.js
D3.js +
Google spreadsheet
http://dalager.github.
io/SocialNetworkMapper/
Crazy dataviz
Statistician Hans Rosling
TED Talk: The Best Stats You’ve ever seen
Animated chart: Wealth & Health of Nations
Variable.io
https://vimeo.com/65343213 - Bids/Offers in asian fuel
markets
https://vimeo.com/70374059 - Simulation driven by
Vodafone network data
https://vimeo.com/42304469 - Visualization of Maersk
ships in 2011
Implications
Life in the algorithmic and API-driven world
“If the product is free,
you are the product.”
Open APIs are an investment. You are the ROI.
Dark side of open APIs
● There is ALWAYS a price: every external API you use will tie you up one way
or another
● As a service you also tie close bonds to your consumers.
○ They depend on you.
○ If you die they die.
APIs as interfaces to human labor
● Mechanical turk, TaskRabbit, Uber, Translation services
● "Jobs above the api vs jobs below the API"
● Making it hard to advance through the API layer.
● Decoupling human labor from business layer will make
the next step trivial: replacing humans with robots or
software.
http://rein.pk/replacing-middle-management-with-apis/
Get started
How to get started...
● ARGH I’m not a programmer!!!!
○ There are online services.
○ Code ‘n paste will get you far
But...
Everyone should learn to code
● At some point you need to get dirty hands.
● Empower yourself
● Find your pain points and start there
● JavaScript can do everything
○ button click on website, alert(“you clicked me!”)
○ unity3d scripting
○ advanced visualization stuff
○ control your Philips Hue lightbulb
○ enhance your google spreadsheet
On working with maps
Map visualizations are cool.
But consider if geography is
a core part of what you are
trying to communicate.
Maplinks
http://geojson.org/
http://geojson.io/ - simple map editor
http://leafletjs.com/ - styling
http://mapbox.com
https://mangomap.com/
http://openlayers.org/
Geojson data for countries:
http://geojson-maps.kyd.com.au/
Thank you. The end.
Contact:
christian.dalager@eksponent.com / @dalager
Links
37 tools for datavisualizations
- http://www.creativebloq.com/design-tools/data-visualization-712402
D3 example gallery
- https://github.com/mbostock/d3/wiki/Gallery

Contenu connexe

En vedette

Karamat o-wasilay-ka-saboot
Karamat o-wasilay-ka-sabootKaramat o-wasilay-ka-saboot
Karamat o-wasilay-ka-saboot
anjumannk
 
Mazratat e-aulia-aur-tawasul
Mazratat e-aulia-aur-tawasulMazratat e-aulia-aur-tawasul
Mazratat e-aulia-aur-tawasul
anjumannk
 
Aberdeen Talent Assessment Strategies Report Pi Cover
Aberdeen Talent Assessment Strategies Report Pi CoverAberdeen Talent Assessment Strategies Report Pi Cover
Aberdeen Talent Assessment Strategies Report Pi Cover
mikewillard
 

En vedette (8)

Karamat o-wasilay-ka-saboot
Karamat o-wasilay-ka-sabootKaramat o-wasilay-ka-saboot
Karamat o-wasilay-ka-saboot
 
Azure Mobile Services (Danish)
Azure Mobile Services (Danish)Azure Mobile Services (Danish)
Azure Mobile Services (Danish)
 
Mazratat e-aulia-aur-tawasul
Mazratat e-aulia-aur-tawasulMazratat e-aulia-aur-tawasul
Mazratat e-aulia-aur-tawasul
 
Sporting parents
Sporting parentsSporting parents
Sporting parents
 
Australian Swimming Coaches and Teachers Association Convention Presentation ...
Australian Swimming Coaches and Teachers Association Convention Presentation ...Australian Swimming Coaches and Teachers Association Convention Presentation ...
Australian Swimming Coaches and Teachers Association Convention Presentation ...
 
Aberdeen Talent Assessment Strategies Report Pi Cover
Aberdeen Talent Assessment Strategies Report Pi CoverAberdeen Talent Assessment Strategies Report Pi Cover
Aberdeen Talent Assessment Strategies Report Pi Cover
 
Tag trykket af dit (eksterne) API med Azure WebJobs
Tag trykket af dit (eksterne) API med Azure WebJobsTag trykket af dit (eksterne) API med Azure WebJobs
Tag trykket af dit (eksterne) API med Azure WebJobs
 
Sanjay
SanjaySanjay
Sanjay
 

Similaire à Open APIs - concepts. applications. visualizations.

The AI Platform Business Revolution: Matchmaking, Empathetic Technology, and ...
The AI Platform Business Revolution: Matchmaking, Empathetic Technology, and ...The AI Platform Business Revolution: Matchmaking, Empathetic Technology, and ...
The AI Platform Business Revolution: Matchmaking, Empathetic Technology, and ...
Steve Omohundro
 

Similaire à Open APIs - concepts. applications. visualizations. (20)

The real value of open source: ROI and beyond
The real value of open source: ROI and beyondThe real value of open source: ROI and beyond
The real value of open source: ROI and beyond
 
Goodle Developer Days Munich 2008 - Open Social Update
Goodle Developer Days Munich 2008 - Open Social UpdateGoodle Developer Days Munich 2008 - Open Social Update
Goodle Developer Days Munich 2008 - Open Social Update
 
Kono.IntelCraft.Weekly.AI.LLM.Landscape.2024.02.28.pdf
Kono.IntelCraft.Weekly.AI.LLM.Landscape.2024.02.28.pdfKono.IntelCraft.Weekly.AI.LLM.Landscape.2024.02.28.pdf
Kono.IntelCraft.Weekly.AI.LLM.Landscape.2024.02.28.pdf
 
The Future is Malleable - Aleksandra Sikora
The Future is Malleable - Aleksandra SikoraThe Future is Malleable - Aleksandra Sikora
The Future is Malleable - Aleksandra Sikora
 
WikiLoop: Big tech's Open Knowledge contributions
WikiLoop: Big tech's Open Knowledge contributionsWikiLoop: Big tech's Open Knowledge contributions
WikiLoop: Big tech's Open Knowledge contributions
 
Algorithm Marketplace and the new "Algorithm Economy"
Algorithm Marketplace and the new "Algorithm Economy"Algorithm Marketplace and the new "Algorithm Economy"
Algorithm Marketplace and the new "Algorithm Economy"
 
Artificial Intelligence (AI) – Powering Data and Conversations.pptx
Artificial Intelligence (AI) – Powering Data and Conversations.pptxArtificial Intelligence (AI) – Powering Data and Conversations.pptx
Artificial Intelligence (AI) – Powering Data and Conversations.pptx
 
Crowds and Clouds
Crowds and CloudsCrowds and Clouds
Crowds and Clouds
 
The case for a unified way of speaking to things
The case for a unified way of speaking to thingsThe case for a unified way of speaking to things
The case for a unified way of speaking to things
 
Yahoo for the Masses
Yahoo for the MassesYahoo for the Masses
Yahoo for the Masses
 
Goodle Developer Days London 2008 - Open Social Update
Goodle Developer Days London 2008 - Open Social UpdateGoodle Developer Days London 2008 - Open Social Update
Goodle Developer Days London 2008 - Open Social Update
 
ANIn Pune July 2023 |Prompt Engineering and AI first SDLC by Abhijit Shah
ANIn Pune July 2023 |Prompt Engineering and AI first SDLC by Abhijit ShahANIn Pune July 2023 |Prompt Engineering and AI first SDLC by Abhijit Shah
ANIn Pune July 2023 |Prompt Engineering and AI first SDLC by Abhijit Shah
 
Open Source Software Development by TLV Partners
Open Source Software Development by TLV PartnersOpen Source Software Development by TLV Partners
Open Source Software Development by TLV Partners
 
Open source presentation
Open source presentationOpen source presentation
Open source presentation
 
Introduction To Open Web Protocols
Introduction To Open Web ProtocolsIntroduction To Open Web Protocols
Introduction To Open Web Protocols
 
EMFcamp2022 - What if apps logged into you, instead of you logging into apps?
EMFcamp2022 - What if apps logged into you, instead of you logging into apps?EMFcamp2022 - What if apps logged into you, instead of you logging into apps?
EMFcamp2022 - What if apps logged into you, instead of you logging into apps?
 
New Era of Software with modern Application Security v1.0
New Era of Software with modern Application Security v1.0New Era of Software with modern Application Security v1.0
New Era of Software with modern Application Security v1.0
 
The AI Platform Business Revolution: Matchmaking, Empathetic Technology, and ...
The AI Platform Business Revolution: Matchmaking, Empathetic Technology, and ...The AI Platform Business Revolution: Matchmaking, Empathetic Technology, and ...
The AI Platform Business Revolution: Matchmaking, Empathetic Technology, and ...
 
2013 - Yhat - YC app.pdf
2013 - Yhat - YC app.pdf2013 - Yhat - YC app.pdf
2013 - Yhat - YC app.pdf
 
What companies need to know about web accessibility in 2020
What companies need to know about web accessibility in 2020What companies need to know about web accessibility in 2020
What companies need to know about web accessibility in 2020
 

Dernier

Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
soniya singh
 
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
imonikaupta
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
sexy call girls service in goa
 
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
soniya singh
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
ellan12
 

Dernier (20)

All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
 
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
 
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls DubaiDubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
 
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
 
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
 
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024
 
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
 
Russian Call Girls in %(+971524965298 )# Call Girls in Dubai
Russian Call Girls in %(+971524965298  )#  Call Girls in DubaiRussian Call Girls in %(+971524965298  )#  Call Girls in Dubai
Russian Call Girls in %(+971524965298 )# Call Girls in Dubai
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
 
VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
 
Al Barsha Night Partner +0567686026 Call Girls Dubai
Al Barsha Night Partner +0567686026 Call Girls  DubaiAl Barsha Night Partner +0567686026 Call Girls  Dubai
Al Barsha Night Partner +0567686026 Call Girls Dubai
 
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
 
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
 
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
 

Open APIs - concepts. applications. visualizations.

  • 2. Me. Christian Dalager Coding for fun & profit Web. Not design. Eksponent.com @dalager
  • 3. We really need to talk about... stuff ● Short story of closed and open. ● What is APIs? ● Applications ● Implications
  • 5. The Internet - Open Information Democratization of media and information ● blogging (early 00s) ● citizen journalism / knowledge ● disrupting monopolistic structures ● cracks in the walls of organizations ● whistleblowing/wikileaks
  • 6. Open Source Software Ecosystem ● Linux - open operating system ● Wordpress - open publishing platform ● Github - open source distribution platform
  • 7. Open Data “Open data is the idea that certain data should be freely available to everyone to use and republish as they wish, without restrictions from copyright, patents or other mechanisms of control” http://en.wikipedia.org/wiki/Open_data ● Wikipedia ● Creative Commons ● OpenStreetMap ● http://data.kk.dk
  • 8. Open Hardware Taking the “open movement” into the real ● Maker / Tinker Movement ● Arduino / Raspberry PI ● 3D Printing
  • 11. Application Programming Interface Updating data “Hey fitbit, update dalagers weight to 91.3 kg” Or “the way that machines talk to each other” Reading information “Hey twitter, give me a list of @dalagers last five tweets”
  • 12. { "coordinates": null, "favorited": false, "truncated": false, "created_at": "Wed Aug 29 17:12: 58 +0000 2012", "id_str": "240859602684612608", "entities": { "urls": [ { "expanded_url": "https: //dev.twitter.com/blog/twitter-certified-products", "url": "https://t. co/MjJ8xAnT", "indices": [ 52, 73 ], "display_url": "dev. twitter.com/blog/twitter-cu2026" } ], "hashtags": [ ], "user_mentions": [ ] }, "in_reply_to_user_id_str": null, "contributors": null, "text": "Introducing the Twitter Certified Products Program: https://t.co/MjJ8xAnT", "retweet_count": 121, "in_reply_to_status_id_str": null, "id": 240859602684612608, "geo": null, "retweeted": false, "possibly_sensitive": false, "in_reply_to_user_id": null, "place": null, "user": { "profile_sidebar_fill_color": "DDEEF6", "profile_sidebar_border_color": "C0DEED", "profile_background_tile": false, "name": "Twitter API", "profile_image_url": "http: //a0.twimg. com/profile_images/2284174872/7df3h38zabcvjylnyfe3_n ormal.png", "created_at": "Wed May 23 06: 01:13 +0000 2007", "location": "San Francisco, CA", "follow_request_sent": false, "profile_link_color": "0084B4", "is_translator": false, "id_str": "6253282", "entities": { "url": { "urls": [ { "expanded_url": null, "url": "http://dev. twitter.com", "indices": [ 0, 22 ] } ] }, "description": { "urls": [ ] "default_profile": true, "contributors_enabled": true, "favourites_count": 24, "url": "http://dev.twitter.com", "profile_image_url_https": "https://si0. twimg. com/profile_images/2284174872/7df3h38zabcvjylnyfe3_normal. png", "utc_offset": -28800, "id": 6253282, "profile_use_background_image": true, "listed_count": 10775, "profile_text_color": "333333", "lang": "en", "followers_count": 1212864, "protected": false, "notifications": null, "profile_background_image_url_https": "https://si0.twimg.com/images/themes/theme1/bg.png", "profile_background_color": "C0DEED", "verified": true, "geo_enabled": true, "time_zone": "Pacific Time (US & Canada)", "description": "The Real Twitter API. I tweet about API changes, service issues and happily answer questions about Twitter and our API. Don't get an answer? It's on my website.", "default_profile_image": false, "profile_background_image_url": "http: //a0.twimg.com/images/themes/theme1/bg.png", "statuses_count": 3333, "friends_count": 31, "following": null, "show_all_inline_media": false, "screen_name": "twitterapi" }, "in_reply_to_screen_name": null, "source": "<a href="//sites.google. com/site/yorufukurou/"" rel=""nofollow"">YoruFukurou</a>", "in_reply_to_status_id": null } Tweet: “Introducing the Twitter Certified Products Program: https://t. co/MjJ8xAnT”
  • 13. Open APIs ● Setting data free ● Holes in the garden walls ● Categories ○ Embedding - Twitter widgets, like buttons ○ Datafeeds - JSON/RSS (Really Simple Syndication) ○ Full access (read/write/delete) “on behalf of” - typically w OAuth2 or similar security.
  • 14. Where can I find an API? ● Discover it: programmableweb.com ● Ask it: “Do you have an API?”
  • 15. Why create an API for a service? ● Open APIs are the shoulders of digital giants ○ users will build value (for free) on top of your stuff ● participate in internet ecosystem ● help users use their own data / your data ● create ties to your API consumers ● let 3rd party mobile apps use your service
  • 17. Mashing it up / Mixing the openness ● Innovative services, creating new value through APIs - Uber,Mechanical Turk, IFTTT ● Visualisations - http://variable.io/ (Martin Ignac, CIID alumni), D3.js cases ● Activism - ggautoblocker, visitationszone.dk, face-to-facebook, They Rule, Please rob me, Buycott ● Journalism - dk national budget 2015, Million dollars blocks ● Websites - ie twitter widgets ● Art - seb.ly, various installations (activism list is also arty) ● Tools - gazillion examples. But Slack does A LOT.
  • 18. On visualizations No data, nothing to visualize. (big) Data Visualization Existing data? Need to collect? How? Sources: CSV, GeoJSON, Txt, Databases, Google Fusion Tables Target audience? Tech: Excel/GoogleChart, D3.js, Graph tools, JavaScript, Html/CSS3, Plask Intent Solving a problem? (reducing/communicating complexity) Exploring unknown territory?
  • 23. Crazy dataviz Statistician Hans Rosling TED Talk: The Best Stats You’ve ever seen Animated chart: Wealth & Health of Nations Variable.io https://vimeo.com/65343213 - Bids/Offers in asian fuel markets https://vimeo.com/70374059 - Simulation driven by Vodafone network data https://vimeo.com/42304469 - Visualization of Maersk ships in 2011
  • 24. Implications Life in the algorithmic and API-driven world
  • 25. “If the product is free, you are the product.” Open APIs are an investment. You are the ROI.
  • 26. Dark side of open APIs ● There is ALWAYS a price: every external API you use will tie you up one way or another ● As a service you also tie close bonds to your consumers. ○ They depend on you. ○ If you die they die.
  • 27. APIs as interfaces to human labor ● Mechanical turk, TaskRabbit, Uber, Translation services ● "Jobs above the api vs jobs below the API" ● Making it hard to advance through the API layer. ● Decoupling human labor from business layer will make the next step trivial: replacing humans with robots or software. http://rein.pk/replacing-middle-management-with-apis/
  • 29. How to get started... ● ARGH I’m not a programmer!!!! ○ There are online services. ○ Code ‘n paste will get you far But...
  • 30. Everyone should learn to code ● At some point you need to get dirty hands. ● Empower yourself ● Find your pain points and start there ● JavaScript can do everything ○ button click on website, alert(“you clicked me!”) ○ unity3d scripting ○ advanced visualization stuff ○ control your Philips Hue lightbulb ○ enhance your google spreadsheet
  • 31. On working with maps Map visualizations are cool. But consider if geography is a core part of what you are trying to communicate. Maplinks http://geojson.org/ http://geojson.io/ - simple map editor http://leafletjs.com/ - styling http://mapbox.com https://mangomap.com/ http://openlayers.org/ Geojson data for countries: http://geojson-maps.kyd.com.au/
  • 32. Thank you. The end. Contact: christian.dalager@eksponent.com / @dalager
  • 33. Links 37 tools for datavisualizations - http://www.creativebloq.com/design-tools/data-visualization-712402 D3 example gallery - https://github.com/mbostock/d3/wiki/Gallery