SlideShare uma empresa Scribd logo
1 de 13
Hacking stuff together with Google Spreadsheets
Martin Hawksey (@mhawksey)

                                             This work is licensed under a Creative
                                             Commons Attribution 3.0 Unported
                                             License. CC-BY Martin Hawksey
What
   Some basic spreadsheet tricks
    •   Filter/sort data
    •   Import html and feeds
   More advanced fun with Google Apps Script
    •   Making your own interfaces
    •   Integrating with other Google Services
    •   Remixing 3rd party APIs

   All the links used in this presentation are in
    http://bit.ly/Dev8EdGoog <- case sensitive
                                                     This work is licensed under a Creative
                                                     Commons Attribution 3.0 Unported
                                                     License. CC-BY Martin Hawksey

                                                     http://bit.ly/Dev8EdGoog
Basic tricks
   =UNIQUE

   =FILTER

   =SPLIT/JOIN

   =IMPORT…

                  This work is licensed under a Creative
                  Commons Attribution 3.0 Unported
                  License. CC-BY Martin Hawksey

                  http://bit.ly/Dev8EdGoog
Example 1: Basic Voting System
   Using a Google Spreadsheet form as a basic voting
    system
   Goto http://hawksey.info/form.html and for the question
    identification enter: dev1
   What do you think will happen next with Facebook
     A. They’ll become ‘The Internet’

     B. Mark Zuckerberg will end up in prison for tax avoidance

     C. It will be revealed that Bill Gates travelled to an alternate
        universe kidnapping a younger version of himself before
        enrolling him a Stanford as … Mark Zuckerberg
     D. All of the above
                                                  Results
                                                        This work is licensed under a Creative
                                                        Commons Attribution 3.0 Unported
                                                        License. CC-BY Martin Hawksey

                                                        http://bit.ly/Dev8EdGoog
Example 2: Olympic Medal Table
     Pulling live data feeds from other sites (See Using
      importHTML to create a Winter Olympics 2010 Medal
      Map)




                                                   This work is licensed under a Creative

                             Related spreadsheet   Commons Attribution 3.0 Unported
                                                   License. CC-BY Martin Hawksey

                                                   http://bit.ly/Dev8EdGoog
More advanced: Google Apps Script
   Google Apps Script is a JavaScript cloud scripting
    language that provides easy ways to automate tasks
    across Google products and third party services.
    •   Create custom spreadsheet functions.

    •   Automate repetitive processes and workflows.

    •   Build rich graphical user interfaces and menus.

    •   Link Google products with third party services.

                  https://developers.google.com/apps-script/


                                                          This work is licensed under a Creative
                                                          Commons Attribution 3.0 Unported
                                                          License. CC-BY Martin Hawksey

                                                          http://bit.ly/Dev8EdGoog
Apps Script 101
   JavaScript executed server side

   Cloud based scripting

   Can publish ‘as service’ (exposes a url for you
    to hit with POST/GET)

   Integrates with Google authentication

                                            This work is licensed under a Creative
                                            Commons Attribution 3.0 Unported
                                            License. CC-BY Martin Hawksey

                                            http://bit.ly/Dev8EdGoog
Example 3: Custom formula to dashboard
project/course blog feeds
   Custom function to fetchUrlfromRSS()




                                                  This work is licensed under a Creative

               Related spreadsheet Related post   Commons Attribution 3.0 Unported
                                                  License. CC-BY Martin Hawksey

                                                  http://bit.ly/Dev8EdGoog
Example 4: Automating repetitive tasks and
custom interfaces in Fast-Tracking Feedback




                                              This work is licensed under a Creative

                              Related post    Commons Attribution 3.0 Unported
                                              License. CC-BY Martin Hawksey

                                              http://bit.ly/Dev8EdGoog
Example 5a: Linking to other services
(Archiving Tweets – TAGS)




                                          This work is licensed under a Creative

                           Related post   Commons Attribution 3.0 Unported
                                          License. CC-BY Martin Hawksey

                                          http://bit.ly/Dev8EdGoog
Google Spreadsheet as a datastore




                                    This work is licensed under a Creative
                                    Commons Attribution 3.0 Unported
                                    License. CC-BY Martin Hawksey

                                    http://bit.ly/Dev8EdGoog
Google Spreadsheets as a datastore




                                        This work is licensed under a Creative

                         Related post   Commons Attribution 3.0 Unported
                                        License. CC-BY Martin Hawksey

                                        http://bit.ly/Dev8EdGoog
Questions?




             Martin Hawksey
              @mhawksey


                              This work is licensed under a Creative
                              Commons Attribution 3.0 Unported
                              License. CC-BY Martin Hawksey

                              http://bit.ly/Dev8EdGoog

Mais conteúdo relacionado

Mais de Martin Hawksey

Twitter in Education: Interactively exploring the conversation with TAGS and ...
Twitter in Education: Interactively exploring the conversation with TAGS and ...Twitter in Education: Interactively exploring the conversation with TAGS and ...
Twitter in Education: Interactively exploring the conversation with TAGS and ...
Martin Hawksey
 
TEL Quality and Innovation: What can be learned from the history of computer ...
TEL Quality and Innovation: What can be learned from the history of computer ...TEL Quality and Innovation: What can be learned from the history of computer ...
TEL Quality and Innovation: What can be learned from the history of computer ...
Martin Hawksey
 
Making the complex less complicated: An introduction to social network analysis
Making the complex less complicated: An introduction to social network analysisMaking the complex less complicated: An introduction to social network analysis
Making the complex less complicated: An introduction to social network analysis
Martin Hawksey
 

Mais de Martin Hawksey (20)

Twitter in Education: Interactively exploring the conversation with TAGS and ...
Twitter in Education: Interactively exploring the conversation with TAGS and ...Twitter in Education: Interactively exploring the conversation with TAGS and ...
Twitter in Education: Interactively exploring the conversation with TAGS and ...
 
TEL Quality and Innovation: What can be learned from the history of computer ...
TEL Quality and Innovation: What can be learned from the history of computer ...TEL Quality and Innovation: What can be learned from the history of computer ...
TEL Quality and Innovation: What can be learned from the history of computer ...
 
Making the complex less complicated: An introduction to social network analysis
Making the complex less complicated: An introduction to social network analysisMaking the complex less complicated: An introduction to social network analysis
Making the complex less complicated: An introduction to social network analysis
 
Measuring Social Media Impact: Google Analytics and Twitter
Measuring Social Media Impact: Google Analytics and TwitterMeasuring Social Media Impact: Google Analytics and Twitter
Measuring Social Media Impact: Google Analytics and Twitter
 
Google Apps Script the Authentic{ated} Mobile Playground
Google Apps Script the Authentic{ated} Mobile PlaygroundGoogle Apps Script the Authentic{ated} Mobile Playground
Google Apps Script the Authentic{ated} Mobile Playground
 
Using CiviCRM in Google Drive with the new CiviService Google Script Library
Using CiviCRM in Google Drive with the new CiviService Google Script LibraryUsing CiviCRM in Google Drive with the new CiviService Google Script Library
Using CiviCRM in Google Drive with the new CiviService Google Script Library
 
Google Analytics Workout (#IWMW16)
Google Analytics Workout (#IWMW16)Google Analytics Workout (#IWMW16)
Google Analytics Workout (#IWMW16)
 
Extracting and analyzing discussion data with google sheets and google analytics
Extracting and analyzing discussion data with google sheets and google analyticsExtracting and analyzing discussion data with google sheets and google analytics
Extracting and analyzing discussion data with google sheets and google analytics
 
Using WordPress as a badge platform #openbadgesHE
Using WordPress as a badge platform #openbadgesHEUsing WordPress as a badge platform #openbadgesHE
Using WordPress as a badge platform #openbadgesHE
 
Looking at creativity and culture in computer science to inspire better educa...
Looking at creativity and culture in computer science to inspire better educa...Looking at creativity and culture in computer science to inspire better educa...
Looking at creativity and culture in computer science to inspire better educa...
 
Google Apps Script: The authentic{ated} playground [2015 Ed.]
Google Apps Script: The authentic{ated} playground [2015 Ed.]Google Apps Script: The authentic{ated} playground [2015 Ed.]
Google Apps Script: The authentic{ated} playground [2015 Ed.]
 
Creating personal tutoring environments with Google Apps Script
Creating personal tutoring environments with Google Apps ScriptCreating personal tutoring environments with Google Apps Script
Creating personal tutoring environments with Google Apps Script
 
Learning analytics gaining good actionable insight
Learning analytics   gaining good actionable insightLearning analytics   gaining good actionable insight
Learning analytics gaining good actionable insight
 
Custom reporting from CiviCRM with Google Sheets
Custom reporting from CiviCRM with Google SheetsCustom reporting from CiviCRM with Google Sheets
Custom reporting from CiviCRM with Google Sheets
 
Learning analytics: Threats and opportunities
Learning analytics: Threats and opportunitiesLearning analytics: Threats and opportunities
Learning analytics: Threats and opportunities
 
Google Apps Script: The Authentic{ated} Playground
Google Apps Script: The Authentic{ated} PlaygroundGoogle Apps Script: The Authentic{ated} Playground
Google Apps Script: The Authentic{ated} Playground
 
Breaking the Cell #WebExpo
Breaking the Cell #WebExpo  Breaking the Cell #WebExpo
Breaking the Cell #WebExpo
 
Open Badges in Open Education – Do They Count? #eas14
Open Badges in Open Education – Do They Count? #eas14Open Badges in Open Education – Do They Count? #eas14
Open Badges in Open Education – Do They Count? #eas14
 
IWMW14: Hyper-connectED (ocTEL, Open Badges and the Personal Knowledge Graph)
IWMW14: Hyper-connectED (ocTEL, Open Badges and the Personal Knowledge Graph)IWMW14: Hyper-connectED (ocTEL, Open Badges and the Personal Knowledge Graph)
IWMW14: Hyper-connectED (ocTEL, Open Badges and the Personal Knowledge Graph)
 
Customising Google Apps for Education with Google Apps Script GEUG14
Customising Google Apps for Education with Google Apps Script GEUG14Customising Google Apps for Education with Google Apps Script GEUG14
Customising Google Apps for Education with Google Apps Script GEUG14
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 

Hacking stuff together with Google Spreadsheets

  • 1. Hacking stuff together with Google Spreadsheets Martin Hawksey (@mhawksey) This work is licensed under a Creative Commons Attribution 3.0 Unported License. CC-BY Martin Hawksey
  • 2. What  Some basic spreadsheet tricks • Filter/sort data • Import html and feeds  More advanced fun with Google Apps Script • Making your own interfaces • Integrating with other Google Services • Remixing 3rd party APIs  All the links used in this presentation are in http://bit.ly/Dev8EdGoog <- case sensitive This work is licensed under a Creative Commons Attribution 3.0 Unported License. CC-BY Martin Hawksey http://bit.ly/Dev8EdGoog
  • 3. Basic tricks  =UNIQUE  =FILTER  =SPLIT/JOIN  =IMPORT… This work is licensed under a Creative Commons Attribution 3.0 Unported License. CC-BY Martin Hawksey http://bit.ly/Dev8EdGoog
  • 4. Example 1: Basic Voting System  Using a Google Spreadsheet form as a basic voting system  Goto http://hawksey.info/form.html and for the question identification enter: dev1  What do you think will happen next with Facebook A. They’ll become ‘The Internet’ B. Mark Zuckerberg will end up in prison for tax avoidance C. It will be revealed that Bill Gates travelled to an alternate universe kidnapping a younger version of himself before enrolling him a Stanford as … Mark Zuckerberg D. All of the above Results This work is licensed under a Creative Commons Attribution 3.0 Unported License. CC-BY Martin Hawksey http://bit.ly/Dev8EdGoog
  • 5. Example 2: Olympic Medal Table  Pulling live data feeds from other sites (See Using importHTML to create a Winter Olympics 2010 Medal Map) This work is licensed under a Creative Related spreadsheet Commons Attribution 3.0 Unported License. CC-BY Martin Hawksey http://bit.ly/Dev8EdGoog
  • 6. More advanced: Google Apps Script  Google Apps Script is a JavaScript cloud scripting language that provides easy ways to automate tasks across Google products and third party services. • Create custom spreadsheet functions. • Automate repetitive processes and workflows. • Build rich graphical user interfaces and menus. • Link Google products with third party services. https://developers.google.com/apps-script/ This work is licensed under a Creative Commons Attribution 3.0 Unported License. CC-BY Martin Hawksey http://bit.ly/Dev8EdGoog
  • 7. Apps Script 101  JavaScript executed server side  Cloud based scripting  Can publish ‘as service’ (exposes a url for you to hit with POST/GET)  Integrates with Google authentication This work is licensed under a Creative Commons Attribution 3.0 Unported License. CC-BY Martin Hawksey http://bit.ly/Dev8EdGoog
  • 8. Example 3: Custom formula to dashboard project/course blog feeds  Custom function to fetchUrlfromRSS() This work is licensed under a Creative Related spreadsheet Related post Commons Attribution 3.0 Unported License. CC-BY Martin Hawksey http://bit.ly/Dev8EdGoog
  • 9. Example 4: Automating repetitive tasks and custom interfaces in Fast-Tracking Feedback This work is licensed under a Creative Related post Commons Attribution 3.0 Unported License. CC-BY Martin Hawksey http://bit.ly/Dev8EdGoog
  • 10. Example 5a: Linking to other services (Archiving Tweets – TAGS) This work is licensed under a Creative Related post Commons Attribution 3.0 Unported License. CC-BY Martin Hawksey http://bit.ly/Dev8EdGoog
  • 11. Google Spreadsheet as a datastore This work is licensed under a Creative Commons Attribution 3.0 Unported License. CC-BY Martin Hawksey http://bit.ly/Dev8EdGoog
  • 12. Google Spreadsheets as a datastore This work is licensed under a Creative Related post Commons Attribution 3.0 Unported License. CC-BY Martin Hawksey http://bit.ly/Dev8EdGoog
  • 13. Questions? Martin Hawksey @mhawksey This work is licensed under a Creative Commons Attribution 3.0 Unported License. CC-BY Martin Hawksey http://bit.ly/Dev8EdGoog

Notas do Editor

  1. What is Google Apps Script?Google Apps Script is a JavaScript cloud scripting language that provides easy ways to automate tasks across Google products and third party services.With Google Apps Script you can:Automate repetitive processes and workflows. Create scripts to automate expense approvals, time-sheet tracking, ticket management, order fulfillment, and much more.Link Google products with third party services. A script can send custom emails and a calendar invitation to a list from a MySQL database.Create custom spreadsheet functions. Apply customized formatting or do complex analysis on data in Google Spreadsheets.Build rich graphical user interfaces and menus. With Google Apps Script, a company could power an internal application for purchasing office supplies, where users could shop via a customized menu interface.https://developers.google.com/apps-script