ITP 342 Mobile App Development. APIs

Similar documents
ITP 140 Mobile Technologies. Mobile Topics

ITP 342 Mobile App Development. APIs

ITP 342 Mobile App Dev

Develop Mobile Front Ends Using Mobile Application Framework A - 2

Kony MobileFabric. Release Notes. On-Premises. Release 6.5. Document Relevance and Accuracy

Build Meeting Room Management Website Using BaaS Framework : Usergrid

1. License. 2. Introduction. a. Read Leaderboard b. Write and Flush Leaderboards Custom widgets, 3D widgets and VR mode...

SOCIAL LOGIN FOR MAGENTO 2 USER GUIDE

CIS 408 Internet Computing. Dr. Sunnie Chung Dept. of Electrical Engineering and Computer Science Cleveland State University

Internet Applications. Q. What is Internet Explorer? Explain features of Internet Explorer.

STANDARD REST API FOR

Lesson 5 Nimbits. Chapter-6 L05: "Internet of Things ", Raj Kamal, Publs.: McGraw-Hill Education

CS371m - Mobile Computing. Persistence - Web Based Storage CHECK OUT g/sync-adapters/index.

Nick Terkay CSCI 7818 Web Services 11/16/2006

ITP 140 Mobile Technologies. Build vs. Buy

SOCIAL LOGIN FOR MAGENTO 2

BLACKBERRY SPARK COMMUNICATIONS PLATFORM. Getting Started Workbook

Introduction to Kony Fabric

AWS Mobile Hub. Build, Test, and Monitor Your Mobile Apps. Daniel Geske, Solutions Architect 31 May 2017

MOBILE APPLICATIONS AND CLOUD COMPUTING. Roberto Beraldi

Chapter 002 The Internet, the Web, and Electronic Commerce

Web-APIs. Examples Consumer Technology Cross-Domain communication Provider Technology

SOCIAL MEDIA. Charles Murphy

Build Mobile Cloud Apps Effectively Using Oracle Mobile Cloud Services (MCS)

RESTful Services. Distributed Enabling Platform

Chat Connect Pro Setup Guide

Part 3: Online Social Networks

Graphiq Reality. Product Requirement Document. By Team Graphiq Content. Vincent Duong Kevin Mai Navdeep Sandhu Vincent Tan Xinglun Xu Jiapei Yao

Using and Developing with Azure. Joshua Drew

Chris Schalk Ryan Boyd

7 The system should allow administrator to close a user profile. 8 The system shall make the old events invisible to avoid crowded geo scope.

Progressive Web App (PWA) Features

Android Basics Nanodegree Syllabus

Jazz for Justice Pensacola Ambassador of Justice Fundraising Page

Social Media Login M2 USER MANUAL MAGEDELIGHT.COM SUPPORT E:

Homework 9: Stock Search Android App with Facebook Post A Mobile Phone Exercise

WebRTC Gateway. Real-time communications in all browsers

Developing Enterprise Cloud Solutions with Azure

ITP 140 Mobile Technologies. Build vs. Buy

Part 1. Learn how to collect streaming data from Twitter web API.

Terms and Conditions

MOBILE TECHNOLOGY MICROSOFT TECHNOLOGY MOBILE TECHNOLOGY OPENSOURCE TECHNOLOGY. iphone. Android.

DuncanPowell RESTRUCTURING TURNAROUND FORENSIC

Using Deep Links for Growth. Phillip Nelson Director of Product, Quixey

Building Facebook & OpenSocial Applications with Java Technology

REST API Developer Preview

Fundamentals of Information Systems, Seventh Edition

Setting up your Netvibes Dashboard Adding a Blog to your Dashboard

Marketing & Back Office Management

The Internet, the Web, and Electronic Commerce The McGraw-Hill Companies, Inc. All rights reserved.

NIELSEN API PORTAL USER REGISTRATION GUIDE

Oracle Mobile Application Framework

Since 2008, medl has helped to architect, design and develop hundreds of mobile apps and technologies alongside a storied list of innovative

Open Federated Social Networks Oscar Rodríguez Rocha

Quick Start: Creating a Video and Publishing in YouTube

Social Media Tools. March 13, 2010 Presented by: Noble Studios, Inc.

HTML 5 and CSS 3, Illustrated Complete. Unit M: Integrating Social Media Tools

13/03/2017. Author Bartosz Zurawski (C ) Project Coordinator Joseph K. Research

Feature: Online App Builder Studio

Windows Azure Mobile Services

PROCE55 Mobile: Web API App. Web API.

ONE SOCIAL. A Writing Project. Presented to. The Faculty of the Department of Computer Science. San José State University

Social Networking in Action

The Internet, the Web, and Electronic Commerce The McGraw-Hill Companies, Inc. All rights reserved.

G, William James. The smartphone & tablet have changed the course of real estate

Web & Automotive. Paris, April Dave Raggett

Startups and Mobile Apps on AWS. Dave Schappell, Startup Business Development Manager, AWS September 11, 2013

Web 2.0, AJAX and RIAs

Storify Tutorial. Click join now! and create an account using your Facebook, Twitter, or address.

CPET 581 E-Commerce & Business Technologies. Topics

Connect and Transform Your Digital Business with IBM

Curriculum Vitae. Android Developer EDUCATION EDUCATION. Radioelectronics Electronic-optical machine building

A Virtual Smartphone

Introduction to Worklight Integration IBM Corporation

Android Online Training

ORACLE APPLICATION EXPRESS, ORACLE REST DATA SERVICES, & WEBLOGIC 12C AUTHOR: BRAD GIBSON SENIOR SOLUTIONS ARCHITECT ADVIZEX

RAD SERVER. Marco Cantu, Delphi Product Manager

Android Basics Nanodegree Syllabus

Settings. Overview. OU Campus Settings Page 1 of 13

Development And Management

Principles of Information Systems textbook: Principles of Information Systems, Sixth Edition. Dr.Amer Alzaidi Department of Information Systems

ELLUCIAN GO HOW-TO GUIDE

Beating the Final Boss: Launch your game!

Developing Ajax Web Apps with GWT. Session I

Oracle Mobile Hub. Complete Mobile Platform

Web Technology for Test and Automation Applications

Prototyping a Social Network. AngularJS: Firebase integration with AngularFire

Copyright 2014 Blue Net Corporation. All rights reserved

Building Facebook Application using Python

<?php function preprocess_drupalcon($presentation) { if ($drupal && $ionic) { if ($ionic[ app ] = Megalomaniac ) { create $presentation } } }?

All About Open & Sharing

ORACLE UNIVERSITY AUTHORISED EDUCATION PARTNER (WDP)

Web services. CSCI 470: Web Science Keith Vertanen

Connecting Max to the Internet

If you re a Facebook marketer, you re likely always looking for ways to

Privacy and Security in Online Social Networks Department of Computer Science and Engineering Indian Institute of Technology, Madras

Make your application real-time with PubSubHubbub. Brett Slatkin May 19th, 2010

Homework 8: Ajax, JSON and Responsive Design Travel and Entertainment Search (Bootstrap/Angular/AJAX/JSON/jQuery /Cloud Exercise)

Comparison: OneDrive versus Google Drive, Dropbox and icloud

WELCOME Mobile Applications Testing. Copyright

Transcription:

ITP 342 Mobile App Development APIs

API Application Programming Interface (API) A specification intended to be used as an interface by software components to communicate with each other An API is usually related to a software library An API can also be related to a software framework An API can also be an implementation of a protocol The practice of publishing APIs has allowed web communities to create an open architecture for sharing content and data between communities and applications 2

REST Representational state transfer (REST) is a style of software architecture for distributed hypermedia systems such as the World Wide Web Conforming to the REST constraints is referred to as being RESTful RESTful web service (or RESTful web API) is a simple web service implemented using HTTP and the principles of REST It is a collection of resources with 4 defined aspects 3

4

RESTful Web Services The base URI for the web service, such as http://example.com/resources/ The Internet media type of the data supported by the web service Often JSON (JavaScript Object Notation), XML (Extensible Markup Language) or YAML but can be any other valid Internet media type The set of operations supported by the web service using HTTP methods (e.g., GET, PUT, POST, or DELETE) The API must be hypertext driven 5

REST Services Many web sites are now offering their facilities through REST Web Services REST Services can be used to access sites that perform the following functions: Web Search (e.g.yahoo s BOSS Search, Google Custom Search) Geolocation (e.g Yahoo s Placefinder) Photo Sharing (e.g. Yahoo s Flickr, Google s Picasa) Social Networking (e.g. Facebook, Twitter, MySpace) Mapping (e.g. Google Maps) Many of these services limit daily usage by a single website, and require payment when the thresholds are breached 6

REST Services Access is provided using one or both of these methods: Direct URL, returning a response in one or more formats (XML, JSON, PHP) Library-based APIs, embedded in JavaScript, Java, C#, Objective-C and other source and binary library formats Many of these services now require or include OAuth user authentication Oauth is a standard for clients to access server resources on behalf of a resource owner E.g. see http://en.wikipedia.org/wiki/oauth 7

ASIHTTPRequest RESTful API Easy to use wrapper around the CFNetwork API Suitable for basic HTTP requests and interacting with REST-based services http://allseeing-i.com/asihttprequest/ Developing RESTful ios Apps with RestKit http://mobile.tutsplus.com/tutorials/iphone/ restkit_ios-sdk/ 8

Facebook https://developers.facebook.com/mobile/ Things you can do: Login with Facebook Fetch User Data Publish to Feed Send Requests 9

Twitter https://dev.twitter.com Embedded Timelines Make it easy to syndicate any public Twitter timeline to your website with one line of code You can embed a timeline for Tweets from an individual user, a user s favorites, Twitter lists, or any search query or hashtag Twitter Cards Attach media experiences to Tweets that link to your content Embedded Tweets Allows websites to generate copy and paste-able HTML markup to render a Tweet on any third-party website 10

Twitter REST API https://dev.twitter.com/docs/api Provides simple interfaces for most Twitter functionality Streaming APIs https://dev.twitter.com/docs/streaming-apis A family of powerful real-time APIs for Tweets and other social events ios Twitter Framework https://developer.apple.com/library/ios/ documentation/twitter/reference/ TwitterFrameworkReference/_index.html 11

Available at: http:// developers.google.com APIs available for: Google+ Android App Engine Chrome Games Google Maps Google Apps Google TV Commerce YouTube Google APIs 12

Twilio http://www.twilio.com Brings voice and messaging to your web and mobile applications A cloud communications IaaS (Infrastructure as a Service) company Allows software developers to programmatically make and receive phone calls and send and receive text messages using its web service APIs Twilio's services are accessed over HTTP and are billed based on usage As of October 2012, more than 150,000 developers use the service Make phone calls to anywhere in the world They use geographically distributed datacenters to connect with carriers around the globe Send text messages to anywhere in the world Connected to over 1,000 mobile carriers globally Send messages in whatever language your users speak In June 2010 Twilio launched OpenVBX An open source product that lets business users configure phone numbers to receive and route phone calls 13

Cloud Computing Layers 14

Cloud Computing SaaS software as a service "on-demand software" or "application service providers" (ASPs) Software and associated data are centrally hosted on the cloud PaaS platform as a service Cloud providers deliver a computing platform typically including operating system, programming language execution environment, database, and web server IaaS infrastructure as a service Offer computers - physical or (more often) virtual machines - and other resources 15

Cloud Computing BaaS backend as a service Mobile backend as a service (MBaaS) A model for providing web and mobile app developers with a way to link their applications to backend cloud storage while also providing features such as user management, push notifications, and integration with social networking services These services are provided via the use of custom software development kits (SDKs) and application programming interfaces (APIs) The global BaaS market had an estimated value of $216.5 million in 2012 16

Mobile App Development Back-end as a service Database, login info, data for each user Back-end Tools Firebase Parse StackMob Kinvey

icloud icloud Storage APIs enable your apps to store content in icloud, keeping your apps up to date automatically Use icloud to give your users a consistent and seamless experience across icloud-enabled devices https://developer.apple.com/icloud/index.php icloud Web Tools to view the content your app has stored in icloud https://developer.icloud.com 18

Passbook Passbook gives users a whole new way to organize boarding passes, tickets, gift cards, and loyalty cards You can bring up passes in your app with Pass Kit APIs, send them via email, or post them on the web You can also set items to appear at certain times or locations and update items with push notifications https://developer.apple.com/passbook/ 19

Game Center Games on ios and OS X can take advantage of Game Center, Apple s social gaming network Game Center enables your users to track their best scores on a leaderboard, compare their achievements, invite friends to play a game, and start a multiplayer game through auto-matching https://developer.apple.com/game-center/ 20