WEB API: WHY THEY MATTER ECOL 453/553 2012 Nirav Merchant

Slides:



Advertisements
Similar presentations
12 October 2011 Andrew Brown IMu Technology EMu Global Users Group 12 October 2011 IMu Technology.
Advertisements

Building and using REST information services Rion Dooley.
ARINs RESTful Provisioning Interface Tim Christensen.
Building RESTful Interfaces
1 CGICGI Common Gateway Interface Server-side Programming Lecture.
ADVANTAGE WEBAPI PETER FUNK SOFTWARE ENGINEER, ADVANTAGE R&D MAY 20, 2011.
IST 221 Internet Concepts and Applications Internet, WWW and HTML 1.
Introduction to eValid Presentation Outline What is eValid? About eValid, Inc. eValid Features System Architecture eValid Functional Design Script Log.
JSON (JavaScript Object Notation).  A lightweight data-interchange format  A subset of the object literal notation of JavaScript (or ECMA-262).  A.
Introduction to Perl Part III By: Cedric Notredame Adapted from (BT McInnes)
Database System Concepts, 6 th Ed. ©Silberschatz, Korth and Sudarshan See for conditions on re-usewww.db-book.com ICOM 5016 – Introduction.
BUILDING A FACEBOOK APP. STEP 1 Create a Developers License. Make sure to take note/record the app id/key.
© 2011 Autodesk Automating Autodesk® Revit® Server Rod Howarth Software Development Manager – Bornhorst + Ward.
Chapter 1: Introduction to Web
JSON The Fat Free Alternative to XML. Data Interchange The key idea in Ajax. An alternative to page replacement. Applications delivered as pages. How.
REST.  REST is an acronym standing for Representational State Transfer  A software architecture style for building scalable web services  Typically,
Is Apache CouchDB for you?
The Pipeline Processing Framework LSST Applications Meeting IPAC Feb. 19, 2008 Raymond Plante National Center for Supercomputing Applications.
JavaScript Programming B.Ramamurthy 6/113/2014B. Ramamurthy CSE6511.
Web Services for Earth Science Data Edward Armstrong, Thomas Huang, Charles Thompson, Nga Quach, Richard Kim, Zhangfan Xing Winter ESIP 2014 Washington.
Other formats for data Linked lists, Hash tables, JSON, Big Data, Hadoop & MapReduce. REST. Parallel processing exercise Homework: Plans for group sorting.
Python and REST Kevin Hibma. What is REST? Why REST? REST stands for Representational State Transfer. (It is sometimes spelled "ReST".) It relies on a.
Putting it all together Dynamic Data Base Access Norman White Stern School of Business.
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
Some Design Notes Iteration - 2 Method - 1 Extractor main program Runs from an external VM Listens for RabbitMQ messages Starts a light database engine.
10/25/20151 Single Sign-On Web Service Supervisors: Viktor Kulikov Alexander Sherman Liana Lipstov Pavel Bilenko.
RESTful Web Service 2014 년 12 월 한연희
JSON and A Comparison of Scripts. JSON: JavaScript Object Notation Based on a subset of the JavaScript Programming Language provides a standardized data.
A FIRST TOUCH ON NOSQL SERVERS: COUCHDB GENOVEVA VARGAS SOLAR, JAVIER ESPINOSA CNRS, LIG-LAFMIA, FRANCE
Chapter 11 Working with Credit Card Methods of Processing Credit Cards Preparing for Cyber Cash Authoring a Credit card Transaction.
1 Applied CyberInfrastructure Concepts ISTA 420/520 Fall Nirav Merchant Bio Computing & iPlant Collaborative Eric Lyons.
ECMM6018 Enterprise Networking for Electronic Commerce Tutorial 7
CMap Version 0.16 Ben Faga. CMap CMap Version 0.16 Bug fixes and code optimizations More intuitive menu system Asynchronous loading of comparative map.
RESTful Web Services What is RESTful?
The business logic engine for Microsoft IIS Speaker T.M. Arnett.
RESTful Web Services A MIDAS MISSION PRESENTATION APRIL 29, 2015.
Web Technologies Lecture 10 Web services. From W3C – A software system designed to support interoperable machine-to-machine interaction over a network.
AJAX and REST. Slide 2 What is AJAX? It’s an acronym for Asynchronous JavaScript and XML Although requests need not be asynchronous It’s not really a.
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.
IN THIS LESSON WE WILL REVIEW THE STRUCTURE OF THE INTERNET AND HOW BROWSERS ASSEMBLE WEBSITES BASED ON INSTRUCTIONS THEY RECEIVE FROM SERVERS. Internet.
Feeling RESTful? Well, first we’ll define a Web Service –A web page meant to be consumed by a computer via an autonomous program as opposed to a web browser.
Orion Contextbroker PROF. DR. SERGIO TAKEO KOFUJI PROF. MS. FÁBIO H. CABRINI PSI – 5120 – TÓPICOS EM COMPUTAÇÃO EM NUVEM
Using Retrofit framework in implementation of Android REST client David Ante Macan*, Zlatko Stapić, Milan Pavlović* University of Zagreb Faculty of Organization.
REST API Design. Application API API = Application Programming Interface APIs expose functionality of an application or service that exists independently.
MESA A Simple Microarray Data Management Server. General MESA is a prototype web-based database solution for the massive amounts of initial data generated.
Web Page Design The Basics. The Web Page A document (file) created using the HTML scripting language. A document (file) created using the HTML scripting.
Using Docker in a CyVerse World. To install Docker GO TO Click “Get Started”, follow the directions.
National College of Science & Information Technology.
Web Development. Agenda Web History Network Architecture Types of Server The languages of the web Protocols API 2.
Business Directory REST API
The Client-Server Model
REST: Web Services Abel Sanchez.
Node.js Express Web Services
AJAX and REST.
Unit – 5 JAVA Web Services
DSRA -Relative Web technology clarification in Technology Architecture
CMPE 280 Web UI Design and Development October 24 Class Meeting
Applied Cyber Infrastructure Concepts Fall 2017
New Mexico State University
JSON++ - A Simple class library for JSON
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Lesson 10: Dictionaries Class Chat: Attendance: Participation
REST APIs Maxwell Furman Department of MIS Fox School of Business
access to everything over the web
Python and REST Kevin Hibma.
Web APIs In computer programming, an application programming interface (API) is a set of subroutine definitions, protocols, and tools for building application.
Week 05 Node.js Week 05
Consuming Web Services with 2E Generated Objects
NEECOM – May 22, 2019 Todd L Gould, CEO
Chengyu Sun California State University, Los Angeles
Presentation transcript:

WEB API: WHY THEY MATTER ECOL 453/ Nirav Merchant

WHAT IS A WEB API  API: Application Programming Interface  Calling API over the web (http)  What is this http thing you keep talking about ?  So why do you want to call API over the web ?  Data size  Data Complexity  Linked data  Specialized databases and data structure  It allows for automation (mashup, workflows)  How is this different then a perl module ?

WHERE HAVE YOU SEEN WEB API  Internet apps  Science apps  =Medical&protocol=REST =Medical&protocol=REST  We will use EBI and TogoWS for our class today  Getting started …

SOME TERMS  RESTful (Representational State Transfer)  Architectural Styles and the Design of Network-based Software Architectures Fielding, Roy Thomas (2000) Doctoral dissertation, University of California, Irvine  Some concepts  GET  POST  PUT  DELETE

JSON (AND SOME XML)  JSON (JavaScript Object Notation) lightweight data-interchange format  It is easy for humans to read and write  It is easy for machines to parse and generate  It is based on a subset of the JavaScript Programming Language  Built on two structures:  A collection of name/value pairs. (object, record, struct, dictionary, hash table, keyed list, or associative array)  An ordered list of values (array, vector, list, or sequence)

JSON EXAMPLE

EXERCISE (MORE TERMS)  Go to  Let’s follow some URL  Now can you do this for 100 id’s ?  Log on to your HPC account  Utilities you need  wget  curl  JSON pretty printing: python –mjson.tool  Unix pipe | to connect things together

MORE EXERCISE

LETS LOOK AT PERL TAB ON THE PAGE  What modules do we need  use  use JSON;  use strict;  use warnings;  use Data::Dumper;

LETS GET THE ONES WE ARE MISSING 

HOW DO WE GET THE MODULE  wget to rescue  Copy and paste url !  tar –xvzf  Make a directory in your home perl-module  Go to downloaded dir (HTTP-Tiny-0.024)  perl Makefile.PL PREFIX=~/perl-module  make  make test  make install  check perl-module for installed files !

HOW DO YOU USE IT  setenv PERL5LIB ~/perl-module/share/perl5/  Now you can run the program  To make your life easy I have already built the modules that you can use  Its in /genome/perl-lib/share/perl5/ SO:  set PERL5LIB /genome/perl-lib/share/perl5/ Now you can run the sample perl scripts from ensembl rest services !