SlideShare ist ein Scribd-Unternehmen logo
1 von 33
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Andere mochten auch

Karamat o-wasilay-ka-saboot
Karamat o-wasilay-ka-sabootKaramat o-wasilay-ka-saboot
Karamat o-wasilay-ka-sabootanjumannk
 
Azure Mobile Services (Danish)
Azure Mobile Services (Danish)Azure Mobile Services (Danish)
Azure Mobile Services (Danish)Christian Dalager
 
Mazratat e-aulia-aur-tawasul
Mazratat e-aulia-aur-tawasulMazratat e-aulia-aur-tawasul
Mazratat e-aulia-aur-tawasulanjumannk
 
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 ...Wayne Goldsmith
 
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 Covermikewillard
 
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 WebJobsChristian Dalager
 

Andere mochten auch (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
 

Ähnlich wie Open APIs - concepts. applications. visualizations.

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 beyondJeffrey McGuire
 
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 UpdatePatrick Chanezon
 
The Future is Malleable - Aleksandra Sikora
The Future is Malleable - Aleksandra SikoraThe Future is Malleable - Aleksandra Sikora
The Future is Malleable - Aleksandra SikoraWey Wey Web
 
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 contributionsAll Things Open
 
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"Diego Oppenheimer
 
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.pptxBrian Pichman
 
Crowds and Clouds
Crowds and CloudsCrowds and Clouds
Crowds and CloudskingsBSD
 
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 thingsLuca Mattia Ferrari
 
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 UpdatePatrick Chanezon
 
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 ShahAgileNetwork
 
Open source presentation
Open source presentationOpen source presentation
Open source presentationRona Segev Gal
 
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 PartnersRoy Leiser
 
Introduction To Open Web Protocols
Introduction To Open Web ProtocolsIntroduction To Open Web Protocols
Introduction To Open Web ProtocolsMohan Krishnan
 
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?Chris Swan
 
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.0Dinis Cruz
 
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
 
2013 - Yhat - YC app.pdf
2013 - Yhat - YC app.pdf2013 - Yhat - YC app.pdf
2013 - Yhat - YC app.pdfAustin Ogilvie
 
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 2020Lisandra Armas
 

Ähnlich wie 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
 
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 presentation
Open source presentationOpen source presentation
Open source presentation
 
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
 
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
 
Open Social
Open SocialOpen Social
Open Social
 

Kürzlich hochgeladen

Presentation2.pptx - JoyPress Wordpress
Presentation2.pptx -  JoyPress WordpressPresentation2.pptx -  JoyPress Wordpress
Presentation2.pptx - JoyPress Wordpressssuser166378
 
LESSON 5 GROUP 10 ST. THOMAS AQUINAS.pdf
LESSON 5 GROUP 10 ST. THOMAS AQUINAS.pdfLESSON 5 GROUP 10 ST. THOMAS AQUINAS.pdf
LESSON 5 GROUP 10 ST. THOMAS AQUINAS.pdfmchristianalwyn
 
WordPress by the numbers - Jan Loeffler, CTO WebPros, CloudFest 2024
WordPress by the numbers - Jan Loeffler, CTO WebPros, CloudFest 2024WordPress by the numbers - Jan Loeffler, CTO WebPros, CloudFest 2024
WordPress by the numbers - Jan Loeffler, CTO WebPros, CloudFest 2024Jan Löffler
 
Check out the Free Landing Page Hosting in 2024
Check out the Free Landing Page Hosting in 2024Check out the Free Landing Page Hosting in 2024
Check out the Free Landing Page Hosting in 2024Shubham Pant
 
Computer 10 Lesson 8: Building a Website
Computer 10 Lesson 8: Building a WebsiteComputer 10 Lesson 8: Building a Website
Computer 10 Lesson 8: Building a WebsiteMavein
 
Benefits of doing Internet peering and running an Internet Exchange (IX) pres...
Benefits of doing Internet peering and running an Internet Exchange (IX) pres...Benefits of doing Internet peering and running an Internet Exchange (IX) pres...
Benefits of doing Internet peering and running an Internet Exchange (IX) pres...APNIC
 
LESSON 10/ GROUP 10/ ST. THOMAS AQUINASS
LESSON 10/ GROUP 10/ ST. THOMAS AQUINASSLESSON 10/ GROUP 10/ ST. THOMAS AQUINASS
LESSON 10/ GROUP 10/ ST. THOMAS AQUINASSlesteraporado16
 
Bio Medical Waste Management Guideliness 2023 ppt.pptx
Bio Medical Waste Management Guideliness 2023 ppt.pptxBio Medical Waste Management Guideliness 2023 ppt.pptx
Bio Medical Waste Management Guideliness 2023 ppt.pptxnaveenithkrishnan
 
Vision Forward: Tracing Image Search SEO From Its Roots To AI-Enhanced Horizons
Vision Forward: Tracing Image Search SEO From Its Roots To AI-Enhanced HorizonsVision Forward: Tracing Image Search SEO From Its Roots To AI-Enhanced Horizons
Vision Forward: Tracing Image Search SEO From Its Roots To AI-Enhanced HorizonsRoxana Stingu
 
TYPES AND DEFINITION OF ONLINE CRIMES AND HAZARDS
TYPES AND DEFINITION OF ONLINE CRIMES AND HAZARDSTYPES AND DEFINITION OF ONLINE CRIMES AND HAZARDS
TYPES AND DEFINITION OF ONLINE CRIMES AND HAZARDSedrianrheine
 
Zero-day Vulnerabilities
Zero-day VulnerabilitiesZero-day Vulnerabilities
Zero-day Vulnerabilitiesalihassaah1994
 
Introduction to ICANN and Fellowship program by Shreedeep Rayamajhi.pdf
Introduction to ICANN and Fellowship program  by Shreedeep Rayamajhi.pdfIntroduction to ICANN and Fellowship program  by Shreedeep Rayamajhi.pdf
Introduction to ICANN and Fellowship program by Shreedeep Rayamajhi.pdfShreedeep Rayamajhi
 

Kürzlich hochgeladen (12)

Presentation2.pptx - JoyPress Wordpress
Presentation2.pptx -  JoyPress WordpressPresentation2.pptx -  JoyPress Wordpress
Presentation2.pptx - JoyPress Wordpress
 
LESSON 5 GROUP 10 ST. THOMAS AQUINAS.pdf
LESSON 5 GROUP 10 ST. THOMAS AQUINAS.pdfLESSON 5 GROUP 10 ST. THOMAS AQUINAS.pdf
LESSON 5 GROUP 10 ST. THOMAS AQUINAS.pdf
 
WordPress by the numbers - Jan Loeffler, CTO WebPros, CloudFest 2024
WordPress by the numbers - Jan Loeffler, CTO WebPros, CloudFest 2024WordPress by the numbers - Jan Loeffler, CTO WebPros, CloudFest 2024
WordPress by the numbers - Jan Loeffler, CTO WebPros, CloudFest 2024
 
Check out the Free Landing Page Hosting in 2024
Check out the Free Landing Page Hosting in 2024Check out the Free Landing Page Hosting in 2024
Check out the Free Landing Page Hosting in 2024
 
Computer 10 Lesson 8: Building a Website
Computer 10 Lesson 8: Building a WebsiteComputer 10 Lesson 8: Building a Website
Computer 10 Lesson 8: Building a Website
 
Benefits of doing Internet peering and running an Internet Exchange (IX) pres...
Benefits of doing Internet peering and running an Internet Exchange (IX) pres...Benefits of doing Internet peering and running an Internet Exchange (IX) pres...
Benefits of doing Internet peering and running an Internet Exchange (IX) pres...
 
LESSON 10/ GROUP 10/ ST. THOMAS AQUINASS
LESSON 10/ GROUP 10/ ST. THOMAS AQUINASSLESSON 10/ GROUP 10/ ST. THOMAS AQUINASS
LESSON 10/ GROUP 10/ ST. THOMAS AQUINASS
 
Bio Medical Waste Management Guideliness 2023 ppt.pptx
Bio Medical Waste Management Guideliness 2023 ppt.pptxBio Medical Waste Management Guideliness 2023 ppt.pptx
Bio Medical Waste Management Guideliness 2023 ppt.pptx
 
Vision Forward: Tracing Image Search SEO From Its Roots To AI-Enhanced Horizons
Vision Forward: Tracing Image Search SEO From Its Roots To AI-Enhanced HorizonsVision Forward: Tracing Image Search SEO From Its Roots To AI-Enhanced Horizons
Vision Forward: Tracing Image Search SEO From Its Roots To AI-Enhanced Horizons
 
TYPES AND DEFINITION OF ONLINE CRIMES AND HAZARDS
TYPES AND DEFINITION OF ONLINE CRIMES AND HAZARDSTYPES AND DEFINITION OF ONLINE CRIMES AND HAZARDS
TYPES AND DEFINITION OF ONLINE CRIMES AND HAZARDS
 
Zero-day Vulnerabilities
Zero-day VulnerabilitiesZero-day Vulnerabilities
Zero-day Vulnerabilities
 
Introduction to ICANN and Fellowship program by Shreedeep Rayamajhi.pdf
Introduction to ICANN and Fellowship program  by Shreedeep Rayamajhi.pdfIntroduction to ICANN and Fellowship program  by Shreedeep Rayamajhi.pdf
Introduction to ICANN and Fellowship program by Shreedeep Rayamajhi.pdf
 

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