Pearson Plug & Play @PearsonAPI
Dec 02, 2014
Pearson Plug & Play@PearsonAPI
Pearson, the world's leading learning company,and includes…
3
What is Pearson Plug & Play
Pearson Plug & Play is exploring the potential of an ‘open data’approach to Pearson’s content, creating data feeds (APIs) anda developer ecosystem.
Goals of the project are toincrease innovation, reachcustomer satisfaction, and sales.
In support, the Plug & Play teamworked with Pearson business unitsto identify initial data to release,make the data available, andestablish underlying infrastructure.
20+ Data Sets explored
4
What API’s are available today?
DK’s Eyewitness London Travel Guide of besthotels, restaurants, bars and shops in London
FT Press’ titles on business,marketing and science fromaward winning authors
Longman Dictionary of ContemporaryEnglish, 230,000+ words plus examplesand pronunciations in video and pictures
Pearson Developer Website
Browse the site.
All the Pearson APIscurrently available are inExplore/the APIs tab. Thiswhere you’ll find all thedocumentation andmethods for each API, theterms & conditions, prices,etc.
Register
To register, just provide yourname and email address.
You’ll automatically get a freesandbox API key, with whichyou can play with the APIs inthe test tab and report bugs.
Apply for a productionAPI key for yourapplication…
…using the applicationform behind the APIKey Get started
You select the APIs youwish to use along withthe price plan. Once thePearson API team hashave approved yourproduction API key,you’re good to go.
Take part in thePearson DevelopersCommunity by askingyour questions andsharing your findings onthe APIs in the Forums,or using the contactform
Why work with Pearson APIs?
High quality, curated content from recognisable brands
Pearson datasets can be used for free
Sandbox key gives you access to all the APIs
Unique content from one of the first publishers of its size &diverse reach to provide open access via APIs
RESTful APIs (JSON, XML, HTML) built for the web
!"#$%&""'""()*+&,-"(),./$,%&0""'""1(2)3$4"56"7855
ShowMe London Android mobile app for phone and tablet
!"#$#%&''()*%9):,/$46"#$%&%%%
Metia London www.metia.com
!"#$%&""'""()*+&,-"(),./$,%&0""'""1(2)3$4"56"7855
Metia Labs
●;$&*"<=2>=,"#$%&"?),/),
●9)(:@"),"$A+0)4=,B"&++0=(&%),@
$*$4B=,B"2$(>,)0)B=$@
●C,/$42&D$"4&+=/"+4)2)2-+=,B"&,/
E4))F")F"G),($+2@
●9$$/3&(D"0$&4,=,B@"2)"):4
(:@2)*$4@"&,/"=,2)"34)&/$4
/$H$0)+*$,2""2$&*@
I
;>$"J):B>"K:=/$"2)"2>$"L)40/
<<<M24&=,>):,/M()M:D
!"#$%&""'""()*+&,-"(),./$,%&0""'""1(2)3$4"56"7855
Overview
●G4$&2$"&"E4))F")F"G),($+2●9=,/",$<"<&-@"2)":@$"E$&4@),N@"(),2$,2"&@@$2@O●K4$&2"$A+$4=$,($@●P//$/":%0=2-6"$,4=(>$/"H&0:$●9$$/3&(D"2)"2>$"E0:B"Q"E0&-"E0&R)4*"2$&*"2)"=*+4)H$"2>$"PES
58
!"#$%&""'""()*+&,-"(),./$,%&0""'""1(2)3$4"56"7855
Scoping
55
G)4$"=/$&O"C@$"2>$"TU"V-$<=2,$@@"/&2&@$2"2)
(4$&2$"&"+,-('#%(./#0102%3'1//#0%<>=(>"<):0/$,&30$"1%40#1"%"01$#'%#53#0(#/6#M
●S/$&@
●9$&2:4$@
●S*&B=,&%),
●W=A"<$$D@"2)"/$0=H$4
●E4))F")F"G),($+26",)2"&"F:00-
F$&2:4$/6"*&2:4$"@$4H=($
●C@$"(&@$@"Q"+$4@),&@">$0+
4&%),&0=@$
● ;&4&6"E&:0=,$"&,/"P4(>=$
78#1' 9#1'("2
!"#$%&""'""()*+&,-"(),./$,%&0""'""1(2)3$4"56"7855
User experience
57
!"#$%&""'""()*+&,-"(),./$,%&0""'""1(2)3$4"56"7855
Brand
5X
!"#$%&""'""()*+&,-"(),./$,%&0""'""1(2)3$4"56"7855
Design
5Y
!"#$%&""'""()*+&,-"(),./$,%&0""'""1(2)3$4"56"7855
App
5Z
• W$&4(>"3-"(&2$B)4=$@"2)
(4$&2$""*:0%+0$"=%,$4&4=$@
2)"+0&,"-):4"24=+
• #&+"=%,$4&4=$@"&,/
&[4&(%),@6"2)"/=@()H$4"<>&2
$0@$"=@",$&43-
• E0)2"-):4"=%,$4&4=$@"&,/
H$,:$@"),"K))B0$"#&+@
• ?&-$4"&//=%),&0"=,F)4*&%),
F4)*"L=D=+$/=&
!"#$%&""'""()*+&,-"(),./$,%&0""'""1(2)3$4"56"7855
Technology
5\
• ];#?Z6"GWW"X6"^&H&W(4=+2
• _&%H$"&++0=(&%),"<4&++$4
• P,/4)=/"7M7`"&,/"XM8
• 94),2"$,/"/$H$0)+$4@"&30$"2)"<4=2$
*)3=0$"&++@"<=2>):2">&H=,B"2)
0$&4,"&",$<"0&,B:&B$
• E)42&30$"2)")2>$4"+0&R)4*@6"@:(>"&@
2>$"=E>),$"&,/"=E&/CSS 3
JavaScript
!"#$%&""'""()*+&,-"(),./$,%&0""'""1(2)3$4"56"7855
Thank you
:,;/',18%!<,;=#%>,/8,/%/,;%1"?<@3)?AA+10B#"C1/80,(8C6,+A
!"#$#%&''()@2$H$a*$%&M()*
a@2$H$$00=@
<<<M*$%&M()*
5b
Winner Digital Publishing Solution - iAwards 2011
Winner Innovation in Content Delivery - ACCOM Awards 2011
Winner Best Mobile Product and Best Marketing - AIMIA 2011
Winner Outstanding Export Achievement - ATS Award 2010
Winner for Digital Publishing - PANPA Award 2010
Finalist, Telstra Business Awards, 2011, 2010
Deloitte Technology Fast 50: 2007, 2008, 2009 and 2010
Winner D&AD Yellow Pencil, Mobile Marketing 2009
New York
London
Sydney
Melbourne
Dubai
Singapore
Buenos Aires
Client Services
Development
Hub Offices
E$&4@),"E0:B"Q"E0&-"PES
• J)3:@2"PES
• W:++)42"F)4"*:0%+0$"F)4*&2@"=M$M"^W1_"Q"c#?
• V&@-"&(($@@"2)"0)2@")F"(),2$,2
• W=*+0$"(),@=@2$,20-"@24:(2:4$/"(&00@
• W$&4(>"0$H$4&B=,B"PES
9&($3))D"1+$,"K4&+>
• K=H$@"&"@)(=&0"(),2$A2"2)"<$3d3&@$/"/&2&
• P4%(0$@"&4$"*)/$0$/"&@"1+$,"K4&+>")3e$(2@
• P00)<@":@"2)"@>&4$"&,/"0=D$"&4%(0$@
• 94)*"2>=@"=,F)"<$N4$"&30$"2)"3:=0/"&"+4).0$")F"2>$":@$4@"4$&/=,B"+&[$4,@
• L$"2>$,":@$/"2>=@"2)"F$$/"):4"(&2$B)4-"<$=B>%,B"&0B)4=2>*
Email me at [email protected] Tweet me @lepapa
API Documentation
Behind the APIs/Explore tab
For each API on sale on the website, you'llfind:
• A overview of the dataset underlyingthe API
• Description and documentation oneach of the API methods
• An access to the Sandbox APIs to testthe Pearson APIs using your freesandbox key.
The sandbox APIs available in the testareas in APIs are the same as the fullproduction APIs, but the underlying datais only a subset of the full productiondata.For example, the sandbox LongmanDictionary API displays letters A to C,but the full production LongmanDictionary API goes to letter Z
• A Report a Bug function (we knowwe’re not perfect)
Using the API Explorer
Calling an API using jQuery
var apiKey = '27***************************73';var searchUrl= 'https://api.pearson.com/longman/dictionary/0.1/entry.json’;
function doSearch(searchFor){var data = 'apikey=' + apiKey + '&q=' + searchFor$.ajax({
type: 'GET', url: searchUrl, data: data, dataType: 'jsonp', jsonp: 'jsonp', success: function(data){
handleResponse(data);},error: function(req, err, text ) {
debugLog.append('Error: ' + status + '(' + text +')<br/>');}
});}
Don’t leave your keys under the flowerpot !
• Keys are valuable• They provide access to a service• They are monitored and rate limited
• If someone gets hold of your key• You may find they use up your quota• They may use it inappropriately
• Keep them safe, don’t put them in/on the client• Adopt a proxy approach• Best practice anyway (potential caching advantage)
Questions ?