Using APIs for Success in
                  Government
    Richard Fong, Technical Implementation Consultant
    September 13, 2012




1
Agenda

    • What’s an API?
    • Why do APIs matter?
    • GovDelivery API
    • Success Stories
    • Questions




2
Setting the Stage

    • Get to the Web because that is where your customers are!
    • “The web browser is no longer the exclusive gateway”*

    • People access the content with different devices…
         − Smartphones
         − Tablets
         − Intelligent devices




    *What is an API – 3scale.com




3
What is an API?


    • Application Programming Interface  APIs
    • “API is specification intended to be used as an interface
     by software components to communicate with each other”
      - Wikipedia

    • Software-to-software
    • Applications communicate with each other
    • Facilitates the exchange & integration of data between
     different systems
    • Extend the platform


4
What is an API?


    Not new and many types




                             *What is an API – 3scale.com




5
What is an API?
    High level view




          Requester         Provider
                      API




6
What is a Web API?


    • REpresentational State Transfer architecture
      −REST
    • Accessible over HTTP
    • Operations
      −GET, POST, PUT, DELETE
    • Messaging via XML or JSON
    • Collection of resources
      −URIs




7
APIs In The News!




8
Real World Examples

    • Examples include
      • Weather.com
        • Global forecast
        • Current conditions
        • Weather alerts
      • Amazon.com
        • Product information
        • Fulfillment
        • Payment
      • Google Maps
        • Location based
        • Mobile apps
        • Visualized spatial data



9
GovDelivery Web API




10
Overview of Digital Communication Management
           Messaging                  Reach more people


             GovDelivery Network      Cross-promote for more impact


                 Social               Drive deeper engagement



                   Automation         Enable tight integration



                 Mobile               Communicate anytime, anywhere


              Analytics & Filtering   Measure the impact


          Emergency Notification      Keep the public safe and informed
11
How the Public Uses DCM




 1. Citizens see        2. Citizens select only    3. Personalized messages    4. Citizens share
    opportunity to         the types of               are sent automatically      message with friends
    stay engaged with      information they want      via email, text             and acquaintance
    organization of        to receive.                message, or RSS             and reach of original
    interest                                                                      communication is
                                                                                  extended.




12
How You Use DCM




 1. Identify existing   2. Simply point     3. GovDelivery            4. GovDelivery creates
     content – web         GovDelivery to      proactively monitors      and sends formatted,
     pages, RSS            the content         sources for changes       multi-channel
     feeds, social                             or updates                messages to
     media accounts                                                      subscribers (or a draft
     and/or document                                                     is created for your
     files.                                                              approval)




13
Deep experience – Substantial scale
      •   More than 550 public sector organizations manage their digital communications
          though GovDelivery
      •   More than one billion messages are sent quarterly by government agencies
          through GovDelivery
      •   30,000 people sign up every day through GovDelivery to receive digital messages
          from the government
      •   Client messages have an industry-leading deliverability rate greater than 99%
      •   Clients typically grow the base of people they reach by 75% in the first year




14
GovDelivery Web API

     • Representational State Transfer (REST) architecture
       − Industry standard

     • All requests goes through SSL
       − Secure

     • Messaging via XML
     • Client implementations using
       − JAVA
       − .NET C#, ASP, VB
       − PERL
       − php

     • Open the GovDelivery platform to solve problems

15
GovDelivery API
     • Exposed resources (URIs)




16
GovDelivery API




          Create subscribers
          Manage topics
          Send bulletins



      GovDelivery Platform     GovDelivery
                                  API




17
Success Stories




18
GovDelivery API – Examples

     U.S. Census Bureau Mobile Application
     • Provides access to key economic
      indicators about the U.S. economy
     • Allow subscribers to get alerts
      to 13 different economic
      indicator topics
     • Android and iOS
     • Extend their reach




19
GovDelivery API – Examples

     Health Resources and Services Administration (HRSA)
     • Subscriber and Subscriber Topics call
     • Create and update subscribers
     • Assign and update subscribers
       to more than 15 grants topics
     • Daily batch process to sync
       internal grantees database
       with GovDelivery
     • Automate process and
       reduce staff resources



20
GovDelivery API – Examples

     U.S. Federal Aviation
     Administration
     • Bulletins APIs
     • Provide airworthiness
      information for all parts of an
      airplane
     • Provide critical updates on
      equipment to keep public
      safe & inform stakeholders



21
GovDelivery API – Examples

     Internal Revenue Service
     • Check on refund status
     • Access easy-to-understand tax tips
     • Get tax tips email alerts
     • Subscriber API
     • Increase reach and capture many
      new subscribers




22
GovDelivery API – Examples

     National Weather Service
     • Automate tsunami Warning
      Messages
     • Near real-time alerts
     • Email and SMS
     • Send bulletin call
     • Automate the delivery of
      messages
     • Life-saving, critical
      information with high
      deliverability guarantee

23
GovDelivery API – Examples

     National Heart Lung and
     Blood Institute (NHLBI)
     • Category and Topics API
     • Customized
      subscription form
     • Offers greater
      control over agency
      branding




24
GovDelivery API – Examples

     City of Fullerton, CA
     • Subscriber API
     • Crime alert updates
     • Offers quick subscribe
      capability to specific police
      district via mapping tool or
      address match
     • Greater integration across
      various databases, helps
      keep citizens safe &
      informed

25
GovDelivery API – Examples

     Medicines and Healthcare
     products Regulatory Agency,
     UK
     • Bulletins API
     • Ensure medicines and medical
      devices work
     • Effectively communicate
      accurate and timely information




26
GovDelivery API – Examples
     Pure Michigan -- Michigan’s Official Travel Site
     • Subscriber and Subscriber Topics call
     • Create and update subscribers
     • Assign subscribers to Fall Colors Updates
     • More flexibility in integrating to existing forms




27
GovDelivery API – Examples

     Bay Area Rapid Transit
     • Send bulletin call
     • Near real-time alerts
       • Services disruptions

       • Elevator issues

     • Email and SMS
     • Proactive
      communications for
      riders to increase/
      maintain satisfaction


28
Questions?

     Richard Fong
     Technical Implementation Consultant
     richard.fong@govdelivery.com




29
Upcoming Event: Digital Government & Communications
     Keynote Speaker: Peter Sims, author of Little
     Bets: How Breakthrough Idea Emerge from
     Small Discoveries
     Location: Grand Hyatt, 1000 H Street NW,
     Washington D.C. 20001
     Date/Time: Tuesday, October 16, 2012,
     7:30am – 12:30pm
     Cost: There is no charge for government
     employees, officials, and contractors –
     breakfast is included


                 Register online at
            http://bit.ly/GovComms1016

30

Using APIs for Success in Government

  • 1.
    Using APIs forSuccess in Government Richard Fong, Technical Implementation Consultant September 13, 2012 1
  • 2.
    Agenda • What’s an API? • Why do APIs matter? • GovDelivery API • Success Stories • Questions 2
  • 3.
    Setting the Stage • Get to the Web because that is where your customers are! • “The web browser is no longer the exclusive gateway”* • People access the content with different devices… − Smartphones − Tablets − Intelligent devices *What is an API – 3scale.com 3
  • 4.
    What is anAPI? • Application Programming Interface  APIs • “API is specification intended to be used as an interface by software components to communicate with each other” - Wikipedia • Software-to-software • Applications communicate with each other • Facilitates the exchange & integration of data between different systems • Extend the platform 4
  • 5.
    What is anAPI? Not new and many types *What is an API – 3scale.com 5
  • 6.
    What is anAPI? High level view Requester Provider API 6
  • 7.
    What is aWeb API? • REpresentational State Transfer architecture −REST • Accessible over HTTP • Operations −GET, POST, PUT, DELETE • Messaging via XML or JSON • Collection of resources −URIs 7
  • 8.
    APIs In TheNews! 8
  • 9.
    Real World Examples • Examples include • Weather.com • Global forecast • Current conditions • Weather alerts • Amazon.com • Product information • Fulfillment • Payment • Google Maps • Location based • Mobile apps • Visualized spatial data 9
  • 10.
  • 11.
    Overview of DigitalCommunication Management Messaging Reach more people GovDelivery Network Cross-promote for more impact Social Drive deeper engagement Automation Enable tight integration Mobile Communicate anytime, anywhere Analytics & Filtering Measure the impact Emergency Notification Keep the public safe and informed 11
  • 12.
    How the PublicUses DCM 1. Citizens see 2. Citizens select only 3. Personalized messages 4. Citizens share opportunity to the types of are sent automatically message with friends stay engaged with information they want via email, text and acquaintance organization of to receive. message, or RSS and reach of original interest communication is extended. 12
  • 13.
    How You UseDCM 1. Identify existing 2. Simply point 3. GovDelivery 4. GovDelivery creates content – web GovDelivery to proactively monitors and sends formatted, pages, RSS the content sources for changes multi-channel feeds, social or updates messages to media accounts subscribers (or a draft and/or document is created for your files. approval) 13
  • 14.
    Deep experience –Substantial scale • More than 550 public sector organizations manage their digital communications though GovDelivery • More than one billion messages are sent quarterly by government agencies through GovDelivery • 30,000 people sign up every day through GovDelivery to receive digital messages from the government • Client messages have an industry-leading deliverability rate greater than 99% • Clients typically grow the base of people they reach by 75% in the first year 14
  • 15.
    GovDelivery Web API • Representational State Transfer (REST) architecture − Industry standard • All requests goes through SSL − Secure • Messaging via XML • Client implementations using − JAVA − .NET C#, ASP, VB − PERL − php • Open the GovDelivery platform to solve problems 15
  • 16.
    GovDelivery API • Exposed resources (URIs) 16
  • 17.
    GovDelivery API Create subscribers Manage topics Send bulletins GovDelivery Platform GovDelivery API 17
  • 18.
  • 19.
    GovDelivery API –Examples U.S. Census Bureau Mobile Application • Provides access to key economic indicators about the U.S. economy • Allow subscribers to get alerts to 13 different economic indicator topics • Android and iOS • Extend their reach 19
  • 20.
    GovDelivery API –Examples Health Resources and Services Administration (HRSA) • Subscriber and Subscriber Topics call • Create and update subscribers • Assign and update subscribers to more than 15 grants topics • Daily batch process to sync internal grantees database with GovDelivery • Automate process and reduce staff resources 20
  • 21.
    GovDelivery API –Examples U.S. Federal Aviation Administration • Bulletins APIs • Provide airworthiness information for all parts of an airplane • Provide critical updates on equipment to keep public safe & inform stakeholders 21
  • 22.
    GovDelivery API –Examples Internal Revenue Service • Check on refund status • Access easy-to-understand tax tips • Get tax tips email alerts • Subscriber API • Increase reach and capture many new subscribers 22
  • 23.
    GovDelivery API –Examples National Weather Service • Automate tsunami Warning Messages • Near real-time alerts • Email and SMS • Send bulletin call • Automate the delivery of messages • Life-saving, critical information with high deliverability guarantee 23
  • 24.
    GovDelivery API –Examples National Heart Lung and Blood Institute (NHLBI) • Category and Topics API • Customized subscription form • Offers greater control over agency branding 24
  • 25.
    GovDelivery API –Examples City of Fullerton, CA • Subscriber API • Crime alert updates • Offers quick subscribe capability to specific police district via mapping tool or address match • Greater integration across various databases, helps keep citizens safe & informed 25
  • 26.
    GovDelivery API –Examples Medicines and Healthcare products Regulatory Agency, UK • Bulletins API • Ensure medicines and medical devices work • Effectively communicate accurate and timely information 26
  • 27.
    GovDelivery API –Examples Pure Michigan -- Michigan’s Official Travel Site • Subscriber and Subscriber Topics call • Create and update subscribers • Assign subscribers to Fall Colors Updates • More flexibility in integrating to existing forms 27
  • 28.
    GovDelivery API –Examples Bay Area Rapid Transit • Send bulletin call • Near real-time alerts • Services disruptions • Elevator issues • Email and SMS • Proactive communications for riders to increase/ maintain satisfaction 28
  • 29.
    Questions? Richard Fong Technical Implementation Consultant richard.fong@govdelivery.com 29
  • 30.
    Upcoming Event: DigitalGovernment & Communications Keynote Speaker: Peter Sims, author of Little Bets: How Breakthrough Idea Emerge from Small Discoveries Location: Grand Hyatt, 1000 H Street NW, Washington D.C. 20001 Date/Time: Tuesday, October 16, 2012, 7:30am – 12:30pm Cost: There is no charge for government employees, officials, and contractors – breakfast is included Register online at http://bit.ly/GovComms1016 30