Mirror API introduction

1,821 views

Published on

Introduction to the Mirror API basics for #hack4wear at Campus London on 30th Nov 2013

Published in: Technology, News & Politics
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,821
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
7
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Mirror API introduction

  1. 1. Mirror PI rorriM introduction slideshare.net/ linkedin.com/in/ twitter.com/ google.com/+ } radeksimko
  2. 2. How?
  3. 3. OAuth dance
  4. 4. Insert a new card PS /irrv/ieieHT/. OT mro/1tmln TP11 Hs:wwgolai.o ot w.ogepscm Atoiain Bae at tkn uhrzto: err uh oe CnetTp:apiainjo otn-ye plcto/sn CnetLnt:2 otn-egh 6 {"et:"el wrd } tx" Hlo ol"
  5. 5. Card with HTML PS /irrv/ieieHT/. OT mro/1tmln TP11 Hs:wwgolai.o ot w.ogepscm Atoiain Bae at tkn uhrzto: err uh oe CnetTp:apiainjo otn-ye plcto/sn CnetLnt:2 otn-egh 6 {"tl:"atce<eto> hm" <ril>scin <>hs<mqoain/m pTi e>utto<e> i <togsrn<srn>/> s srn>tog/tog<p <scin<atce"} /eto>/ril>
  6. 6. Updating an existing card PT/irrv/ieie{d HT/. U mro/1tmln/i} TP11 Hs:wwgolai.o ot w.ogepscm Atoiain Bae at tkn uhrzto: err uh oe CnetTp:apiainjo otn-ye plcto/sn {"et:"el wrd, tx" Hlo ol" "oain:{..} lcto" . "eutm" [ mnIes: {"cin:"AIAE } ato" NVGT" ] }
  7. 7. Updating an existing card PTH/irrv/ieie{d HT/. AC mro/1tmln/i} TP11 Hs:wwgolai.o ot w.ogepscm Atoiain Bae at tkn uhrzto: err uh oe CnetTp:apiainjo otn-ye plcto/sn {"et:"el wrd } tx" Hlo ol"
  8. 8. Deleting a card DLT /irrv/ieie{d HT/. EEE mro/1tmln/i} TP11 Hs:wwgolai.o ot w.ogepscm Atoiain Bae at tkn uhrzto: err uh oe
  9. 9. Menu Items PS /irrv/ieieHT/. OT mro/1tmln TP11 Hs:wwgolai.o ot w.ogepscm Atoiain Bae at tkn uhrzto: err uh oe CnetTp:apiainjo otn-ye plcto/sn { "et:"oe ismdlrstae., tx" Lrm pu oo i mt" "paalTx" "oebrn sml wrs, sekbeet: Sm oig ape od" "eutm" [ mnIes: {"cin:"EDAOD } ato" RA_LU" , {"cin:"OGEPNE"} ato" TGL_IND , ] }
  10. 10. Subscriptions API When a user selects a menu item When a user shares content with a contact The user's location, every 10 mins
  11. 11. Subscribe to a user's location PS /irrv/usrpin HT/. OT mro/1sbcitos TP11 Atoiain Bae at tkn uhrzto: err uh oe CnetTp:apiainjo otn-ye plcto/sn CnetLnt:lnt otn-egh egh { "olcin:"oain, cleto" lcto" "prto" ["PAE ] oeain: UDT" , "alakr" "tp:/xml.o/alak clbcUl: hts/eapecmclbc" }
  12. 12. Location API GT/irrv/oain HT/. E mro/1lctos TP11 Atoiain Bae at tkn uhrzto: err uh oe CnetTp:apiainjo otn-ye plcto/sn CnetLnt:lnt otn-egh egh { "d:"aet i" lts" }
  13. 13. Insert a new contact with callback PS /irrv/otcsHT/. OT mro/1cnat TP11 Atoiain Bae at tkn uhrzto: err uh oe CnetTp:apiainjo otn-ye plcto/sn CnetLnt:lnt otn-egh egh { "d:"ntga" i" isarm, "ipaNm" "ntga" dslyae: Isarm, "cetye" ["mg/"] acpTps: iae* , "mgUl" ["ntga.p"] iaers: isarmjg }
  14. 14. When user shares a picture PS /irrv/usrpin HT/. OT mro/1sbcitos TP11 Atoiain Bae at tkn uhrzto: err uh oe CnetTp:apiainjo otn-ye plcto/sn CnetLnt:lnt otn-egh egh { "olcin:"ieie, cleto" tmln" "prto" ["PAE ] oeain: UDT" , "alakr" "tp:/xml.o/alak clbcUl: hts/eapecmclbc" }
  15. 15. When user shares a picture { "olcin:"ieie, cleto" tmln" "tmd:"hdmxzr_ad30bb0_8pl" ieI" 3iv0e68dcb13864hrlg, "prto" "PAE, oeain: UDT" "srcin" [ ueAtos: { "ye:"HR" tp" SAE } ] }
  16. 16. When user shares a picture { "d:"hdmxzr_ad30bb0_8pl" i" 3iv0e68dcb13864hrlg, "tahet" [ atcmns: { "otnTp" "mg/pg, cnetye: iaeje" "d:"ATCMN_D" i" <TAHETI> } ] , "eiins:[ rcpet" { "id:"ls#otc" kn" gascnat, "ore:"p:SRIEI>, suc" ai<EVC_D" "d:"CNATI>, i" <OTC_D" "ipaNm" "CNATDSLYNM>, dslyae: <OTC_IPA_AE" "mgUl" [ iaers: "CNATIO_R> <OTC_CNUL" ] } ] }
  17. 17. Guidelines Design for Glass Keep it timely and relevant Do not get in the way (CNN, Twitter, GMail) Avoid the unexpected (time, frequency, location)
  18. 18. Thanks, stay in touch slideshare.net/ linkedin.com/in/ twitter.com/ google.com/+ } radeksimko

×