Using the DPLA API as Community Reps Webinar August 19, 2014 A PLATFORM TO BUILD UPON Danielle Cunniff

Slides:



Advertisements
Similar presentations
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Advertisements

Exploring PHP and MySQL Using an Online Travel Agency as a Case Study Charles R. Moen, M.S. Morris M. Liaw, Ph.D. October 9, 2004 ACET 2004.
Google Chrome & Search C Chapter 18. Objectives 1.Use Google Chrome to navigate the Word Wide Web. 2.Manage bookmarks for web pages. 3.Perform basic keyword.
Single Search By Rakphao Theppan, librarian Searching Online Resources.
Project 1 Introduction to HTML.
XP Browser and Basics1. XP Browser and Basics2 Learn about Web browser software and Web pages The Web is a collection of files that reside.
Overseas Library Catalog – Request Item Overseas Library Catalog Request loaned item.
Overseas Library Catalog – Basic Search Overseas Library Catalog Basic Search by Title: “ The Middle East: geography and geopolitics” by Ewan W. Anderson.
Crawler-Based Search Engine By: Bryan Chapman, Ryan Caplet, Morris Wright.
1st Project Introduction to HTML.
New Student Seminar LIBRARY INSTRUCTION Prof. Jacqueline A. Gill Ext Click the down or up arrows.
Web Programming Language Dr. Ken Cosh Week 1 (Introduction)
HTML 1 Introduction to HTML. 2 Objectives Describe the Internet and its associated key terms Describe the World Wide Web and its associated key terms.
Chapter ONE Introduction to HTML.
The Internet & Web Browsers Business Webpage Design Kelly Seale.
Christopher M. Pascucci Basic Structural Concepts of.NET Browser – Server Interaction.
Support.ebsco.com EBSCO Discovery Service Statistics Explained Tutorial.
Topics Basic Internet Concepts. Types of Information. Search Tools & Techniques. Managing Internet Resources. Browsing a mail. Composing a mail. Attaching.
Chapter 1 Introduction to HTML, XHTML, and CSS
Computer Concepts 2014 Chapter 7 The Web and .
NETWORK CENTRIC COMPUTING (With included EMBEDDED SYSTEMS)
Reading Data in Web Pages tMyn1 Reading Data in Web Pages A very common application of PHP is to have an HTML form gather information from a website's.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
What Is the Internet? The Internet is a worldwide collection of computer networks that links together millions of computers used by businesses, the government,
Comp2513 Forms and CGI Server Applications Daniel L. Silver, Ph.D.
Server-side Scripting Powering the webs favourite services.
TicorOnline Page: 2 Main Menu Prior to running a Property Report for the first time, select User Tools from the Main Menu. Note: If you already set your.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
Building Search Portals With SP2013 Search. 2 SharePoint 2013 Search  Introduction  Changes in the Architecture  Result Sources  Query Rules/Result.
Jacqueline A. Gill, Associate Professor EBSCOHOST Click the down or up arrows on your BROWSER to move forwards.
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
HTML PROJECT #1 Project 1 Introduction to HTML HTML Project 1: Introduction to HTML 2 Vocabulary Internet service provider (ISP) A company that has a.
Objective Understand concepts used to web-based digital media. Course Weight : 5%
MySQL and PHP Internet and WWW. Computer Basics A Single Computer.
JavaScript – Quiz #9 Lecture Code:
Chapter 13. Applets and HTML HTML Applets Computer Programming with JAVA.
Advanced FrontPage Forms, Page Templates and Wizards, Behaviors, CSS, DWT and Page Layout.
Chapter 6 Server-side Programming: Java Servlets
Outlook Web App Crash course. Outlook Agenda Login Login Reset Password Reset Password Getting Started in Outlook Web App Getting Started in Outlook Web.
Introducing HingX now with Capacity Development Network.
CGI Common Gateway Interface. CGI is the scheme to interface other programs to the Web Server.
HTML FORMS GET/POST METHODS. HTML FORMS HTML Forms HTML forms are used to pass data to a server. A form can contain input elements like text fields, checkboxes,
XHTML & Forms. PHP and the WWW PHP and HTML forms – Forms are the main way users can interact with your PHP scrip Typical usage of the form tag in HTML.
Intro to PHP IST2101. Review: HTML & Tags 2IST210.
How do I find works in the Repository?. University of Texas Libraries UT DR Digital Repository Search in the Repository Keyword search from the Repository.
A process of taking your best guesses. Companies have web sites where you can access your information.
XP Browser and Basics COM111 Introduction to Computer Applications.
Computer Networking.  The basic tool for observing the messages exchanged between executing protocol entities  Captures (“sniffs”) messages being sent/received.
By Mrs. Houle  It is time to visit the Internet. You are going to jump onto Google Chrome to learn how to use the web browser tools to get around. Along.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
Adapted from  2012 Prentice Hall, Inc. All rights reserved. 5 th ed: Chapter 2 and th ed: 4.11 SY306 Web and Databases for Cyber Operations.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
JavaScript and Ajax (Internet Background) Week 1 Web site:
COSC 2328 – Web Programming.  PHP is a server scripting language  It’s widely-used and free  It’s an alternative to Microsoft’s ASP and Ruby  PHP.
The Internet What is the Internet? The Internet is a lot of computers over the whole world connected together so that they can share information. It.
Internet Searching the World Wide Web. The Internet and the World Wide Web The Internet is a worldwide collection of networks that allows people to communicate.
ASP.NET WEB Applications. ASP.NET  Web application framework developed by Microsoft  Build dynamic data driven web applications and web services  Subset.
Web Services Essentials. What is a web service? web service: software functionality that can be invoked through the internet using common protocols like.
1 UNIT 13 The World Wide Web. Introduction 2 Agenda The World Wide Web Search Engines Video Streaming 3.
The Internet & Web Browsers Business Webpage Design Created by Kelly Seale Adapted by Jill Einerson.
The Web Web Design. 3.2 The Web Focus on Reading Main Ideas A URL is an address that identifies a specific Web page. Web browsers have varying capabilities.
JavaScript and Ajax (Internet Background)
Chapter 1 Introduction to HTML.
CNIT 131 Internet Basics & Beginning HTML
COMP2322 Lab 2 HTTP Steven Lee Feb. 8, 2017.
Introduction Web Environments
PHP / MySQL Introduction
WorldCat: Broad Web visibility for our collection
All About the Internet.
Download from Zotero Home Page
Presentation transcript:

Using the DPLA API as Community Reps Webinar August 19, 2014 A PLATFORM TO BUILD UPON Danielle Cunniff

THE API: ACCESS TO MILLIONS OF ITEMS, FOR ANY PURPOSE

What is an API? Application Programming Interface... a set of functions or routines that accomplish a specific task... a specification of how objects work in a given object-oriented language... an implementation of a protocol

APIs you may have used Have you ever: Accessed one library catalog from within another library catalog? Z39.50 Embedded a Google Books preview in a library catalog? Google Book Search Embedded Viewer API Geocoded addresses and place names for display on a map? GeoNames Search Webservice Google Maps API Geocoding Service

DPLA Apps

DPLA Search Widget Widget-Plugin Widget-Plugin Generates a search query that is sent to the DPLA Portal (

Behind the magic curtain 1. User puts search term into HTML form 2. Form prepends DPLA search URL ( 3. Clicking “search” sends query to DPLA API using HTTP GET 4. DPLA Portal opens in same page For discussion for how to customize this widget, see

DPLA API Search Widget Generates a search query that returns results on your own web page using the DPLA API.

Working example at dpla-search/dpla-api-search.php dpla-search/dpla-api-search.php a&api_key= a&api_key=$YOUR_KEY

Behind the magic curtain 1. User puts search term into PHP form 2. PHP prepends API search URL and appends API Key 3. Clicking “search” sends query to DPLA API using curl 4. Get results back from DPLA 5. Interpret results using a PHP function called json_decode 6. Display results For step-by-step discussion, see

DPLA API Results Note: Shown in Mozilla Firefox with JSONView Extension api.dp.la/v2/items?q=panda&api_key=$YOUR _KEY (API query with API Key appended) api.dp.la/v2/items?q=panda&api_key=$YOUR _KEY (API query with API Key appended)

DPLA API Key See Mac or Linux: Terminal (in Applications/Utilities) curl -v -XPOST ample.com Windows: CuRL or something similarCuRL Browser plugins: Poster (Firefox) Poster Postman (Chrome) Postman

DPLA API Key – Terminal Method

DPLA API Key – Postman Method Install Postman from Chrome Web Store (free)Postman Enter Request URL: Select method POST Click Send

DPLA API Key – Postman Method

DPLA API Requests Allows Boolean operators AND and OR plus wildcards (*) Allows searching within fields (similar to refinements in DPLA Portal) By Format Contributor Partner By Date By Language By Location By Subject

DPLA API Request &sourceResource.type=image&api_key=$YOUR_KEY &sourceResource.type=image&api_key=$YOUR_KEY

Searching within Fields Any field in sourceResource: title collection stateLocatedIn type description Subject Provider (Partner) dataProvider (Contributing Institution)

Discovering Facet Options &facets=sourceResource.type,provider.name &api_key=$YOUR_KEY &facets=sourceResource.type,provider.name &api_key=$YOUR_KEY Facet: Type Facet: Provider Name

Designing a DPLA Advanced Search See for ideas:

DPLA Apps

Getting Code

API Key API Query

App Wishlist

App Wishlist

visit dp.la