IST256 : Applications Programming for Information Systems

Slides:



Advertisements
Similar presentations
Let's say we want to access domain - reliablescribe.com First we need to buy a computer We need to subscribe to an Internet Service Provider (ISP) The.
Advertisements

UFCEKG-20-2 Data, Schemas & Applications Lecture 6 The Web of Data, API’s & PHP.
Writing All Your Code In OpenEdge Architect Peter van Dam.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 24 How Websites Work with Databases How Websites Work with Databases.
GIS technologies and Web Mapping Services
HOW ACCESS TO WWW Student Name : Hussein Alkhaldi.
1 HTML (Set Up Public Folder) Some material on these slides is taken directly from
Building Websites and weblogs for university Professors Razi herbal medicines research center workshop Presenter: Mehdi Pedram.
Google Maps API. Static Maps send an HTTP GET request receive an image (PNG, GIF, JPEG) no javascript needed encode params in URL example:
Getting Started with the ASP.NET Web API Dhananjay Kumar Infragistics Consultant Microsoft MVP
Jacqueline A. Gill, Associate Professor EBSCOHOST Click the down or up arrows on your BROWSER to move forwards.
HOW WEB SERVER WORKS? By- PUSHPENDU MONDAL RAJAT CHAUHAN RAHUL YADAV RANJIT MEENA RAHUL TYAGI.
Ajax. –Asynchronous JavaScript and XML –Umbrella term for technologies that often: Use client-side scripting for layout and formatting Use less than full.
The Internet and World Wide Web Sullivan University Library.
RESTful Web Services A MIDAS MISSION PRESENTATION APRIL 29, 2015.
How Web Database Architectures Work CPS181s April 8, 2003.
Google Map API The Google Maps API lets you embed Google Maps in your own web pages with JavaScript The API provides a number of utilities for manipulating.
How Web Servers and The Internet Work The Basic Process.
1 UNIT 13 The World Wide Web. Introduction 2 Agenda The World Wide Web Search Engines Video Streaming 3.
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.
HTML PROJECT #1 Project 1 Introduction to HTML. HTML Project 1: Introduction to HTML 2 Project Objectives 1.Describe the Internet and its associated key.
1 ODF and Web Mashups Basic techniques Rob Weir, IBM :15.
How Much Do You Know About the Internet?. What is the Internet? The Internet is the world’s largest computer network, connecting more than 4 million computers.
Lesson 11: Web Services and API's
COMP2322 Lab 4 Socket Programming
Chapter 10: Web Basics.
IS1500: Introduction to Web Development
Android Application Web 1.
Introduction to gathering and analyzing data via APIs Gus Cavanaugh
Chapter 10: Web Basics.
API (Application Program Interface)
Accessing the Catalog. An Introduction to Discovery: The New Catalog at the Dominican Theological Library.
Lesson 10: Dictionaries Topic: Introduction to Programming, Zybook Ch 9, P4E Ch 9. Slides on website.
CISC103 Web Development Basics: Web site:
Chapter 1 Introduction to HTML.
IST256 : Applications Programming for Information Systems
IST256 : Applications Programming for Information Systems
EBSCO eBooks.
Project 1 Introduction to HTML.
Lesson 11: Web Services & API's
IST256 : Applications Programming for Information Systems
A Brief Introduction to the Internet
IST256 : Applications Programming for Information Systems
LaunchPad First Day of Class macmillanlearning.com
CISC103 Web Development Basics: Web site:
PHP + Oracle = Data-Driven Websites
The Application Lifecycle
IST256 : Applications Programming for Information Systems
Web Browser server client 3-Tier Architecture Apache web server PHP
JavaScript Form Validation
Hyper Text Transfer Protocol
IST256 : Applications Programming for Information Systems
Sending a text message (and more)
Lesson 11: Web Services and API's
MIS JavaScript and API Workshop (Part 3)
Lesson 10: Dictionaries Class Chat: Attendance: Participation
IST346: Web Services and API’s
BOF #1 – Fundamentals of the Web
Introduction to AJAX and JSON
Ajax and JSON Jeremy Shafer Department of MIS Fox School of Business
Client-Server Model: Requesting a Web Page
API Overview Application Programming Interface
Sending a text message (and more)
Ajax and JSON Jeremy Shafer Department of MIS Fox School of Business
Q/ Compare between HTTP & HTTPS? HTTP HTTPS
IST256 : Applications Programming for Information Systems
Sioux City Community Schools Computer System
Murach's JavaScript and jQuery (3rd Ed.)
IST256 : Applications Programming for Information Systems
CGS 3066: Web Programming and Design Fall 2019
Presentation transcript:

IST256 : Applications Programming for Information Systems The HTTP Protocol and Web Services

Agenda Connection Activity Teaching: Practice Activities (3) Attendance Teaching: HTTP Web Services Practice Activities (3) Thursday

9901 Connect Activity https://goo.gl/TJOuaW Sign in with your NetID and Password Enter Today’s PIN 9901

HTTP The Protocol of The Web When you type a URL into your browser you’re making a request. The site processing your request sends a response. Part of the response is the status code. This indicates “what happened” The other part of the response is content (HTML) which is rendered by the browser. HTTP is a text based protocol.

Watch Me Code A Non-Python Demo of HTTP What happens when you request a site? Like syr.edu? Short and sweet demo

What is a Web API? An API is short for Application Programming Interface. A Web API uses HTTP Protocol to communicate with your program. Web API’s can return data in many formats. We’ll focus on the JSON (JavaScript Object Notation) format which converts easily to Python lists and dictionaries.

Watch Me Code Google’s Geocoding API Get a GPS coordinate (Latitude and Longitude) for a City or Street Address HTTP GET: http://maps.googleapis.com/maps/api/geocode/json?address=addr Short and sweet demo

Web API: Weather Forecasting https://darksky.net/dev Darksky.net / Forecast IO Sign up for an API key 1000 free requests / day

Watch Me Code Let’s Continue Our Geocode Example: Get Current weather for Lat/Lng Refactor as a function Write a program to ask for a location, show current conditions for location! Short and sweet demo

Other Web API’s https://itunes.apple.com/search?term - iTunes Search https://swapi.co/ - Star Wars API https://www.omdbapi.com/ - Movie Database API http://www.pokeapi.co/ - Pokemon API http://open-notify.org/ - Space API http://earthquake.usgs.gov/earthquakes/feed/v1.0/geojs on.php - Earthquake API

Help me Code Let’s write a program to ask you for a sub-Reddit and then print the titles of the top stories in that sub-Reddit Example API Call: (news) sub-Reddit https://www.reddit.com/r/news/top.json First we get it to work with this url Then let’s write the full program

Your “Ticket Out” Conclusion Activity http://bit.ly/2eBCPM7 The activity will be effort graded.