Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The Future of Web APIs

Phil Nash
September 30, 2014

The Future of Web APIs

APIs are changing the way we build web applications. Services that once took months to build can now be integrated in minutes with the power of third party API platforms. In this talk, Phil demonstrates the current state of API platforms, using the Twilio problem to demonstrate how many companies are revolutionising antiquated industries with modern software. To wrap up, we speculate on the future of application development.

Phil Nash

September 30, 2014
Tweet

More Decks by Phil Nash

Other Decks in Programming

Transcript

  1. c l i e n t = T w i

    t t e r : : R E S T : : C l i e n t . n e w d o | c o n f i g | c o n f i g . c o n s u m e r _ k e y = " Y O U R _ C O N S U M E R _ K E Y " c o n f i g . c o n s u m e r _ s e c r e t = " Y O U R _ C O N S U M E R _ S E C R E T " c o n f i g . a c c e s s _ t o k e n = " Y O U R _ A C C E S S _ T O K E N " c o n f i g . a c c e s s _ t o k e n _ s e c r e t = " Y O U R _ A C C E S S _ S E C R E T " e n d c l i e n t . u p d a t e ( " H e l l o f r o m F O W A ! " ) 0 1 . 0 2 . 0 3 . 0 4 . 0 5 . 0 6 . 0 7 . 0 8 .
  2. Working with HTTP APIs c u r l - X

    P O S T h t t p s : / / a p i . t w i l i o . c o m / 2 0 1 0 - 0 4 - 0 1 / A c c o u n t s / { A C C O U N T _ S I D } / M e s s a g e s . j s o n - d " B o d y = H e l l o % 2 0 F O W A ! " \ - d " F r o m = Y O U R _ T W I L I O _ N U M B E R " \ - d " T o = P H O N E _ N U M B E R " \ - u ' { A C C O U N T _ S I D } : { A U T H _ T O K E N } ' 0 1 . 0 2 . 0 3 . 0 4 . 0 5 .
  3. Helper libraries r e q u i r e '

    t w i l i o - r u b y ' c l i e n t = T w i l i o : : R E S T : : C l i e n t . n e w ( A C C O U N T _ S I D , A U T H _ T O K E N ) c l i e n t . m e s s a g e s . c r e a t e ( f r o m : Y O U R _ T W I L I O _ N U M B E R , t o : P H O N E _ N U M B E R , b o d y : ' H e l l o F O W A ! ' ) 0 1 . 0 2 . 0 3 . 0 4 . 0 5 . 0 6 . 0 7 .
  4. Helper libraries v a r c l i e n

    t = r e q u i r e ( ' t w i l i o ' ) ( ' A C C O U N T _ S I D ' , ' A U T H _ T O K E N ' ) ; c l i e n t . s e n d M e s s a g e ( { f r o m : Y O U R _ T W I L I O _ N U M B E R , t o : P H O N E _ N U M B E R , b o d y : ' H e l l o F O W A ! ' } , f u n c t i o n ( e r r , r e s p o n s e ) { / / d o s o m e t h i n g w i t h r e s p o n s e } ) ; 0 1 . 0 2 . 0 3 . 0 4 . 0 5 . 0 6 . 0 7 . 0 8 .
  5. Recap •  Web APIs were an afterthought •  API first

    makes multi platform apps easier •  APIs are now products •  APIs can be the foundation of your apps