Download presentation
Presentation is loading. Please wait.
Published byDerick Bishop Modified over 9 years ago
1
Modeler
2
API Data Useful for Career Decisions? API Skills Required for Job? No API Paradox Yes Learn a Skill Not Needed for a Job 14,954 Access to API Data without learning API Mechanics? 3,491,915 0.4%
3
API Templates: Authorization import oauth2 as oauth import urllib2 as urllib # See Assignment 1 instructions # or README for how to get these credentials access_token_key = " " access_token_secret = " " consumer_key = " " consumer_secret = " " _debug = 0 oauth_token = oauth.Token(key=access_token_key, secret=access_token_secret) oauth_consumer = oauth.Consumer(key=consumer_key, secret=consumer_secret)
4
def fetchsamples(): url = "https://stream.twitter.com/1/statuses/sample.json" parameters = [] response = twitterreq(url, "GET", parameters) for line in response: print line.strip() if __name__ == '__main__': fetchsamples() API Templates: Pull Data
5
API Overview Application Programming Interface E-Bay Short Examples – R, Javascript, PhP Career Related APIs
6
Users buy and sell items using the eBay online interface Source: eBay
7
ODBC With the eBay API, communicate directly with the eBay database in XML format. Source: eBay JSON partners
8
Source: eBay
9
ebay.com Source: ebay
10
HTML: Hyper Text Markup Language
11
ODBC With the eBay API, communicate directly with the eBay database in XML format. Source: ebay Web Scraping JSON
12
XML: eXtensible Markup Language http:// open.api.ebay.com/shopping?callname=FindPopularItems&responseencoding=XML&appid= JohnVero-34f1-4c5f-9423-cf1fd36337be&siteid=0&QueryKeywords=redsox&version=849
15
WYSIWYG What You See Is What You Get an API is Public IF
19
most organizations require you to register you will then receive an API Key
22
http:// open.api.ebay.com/shopping?callname=FindPopularItems&responseencoding=XML&appid= JohnVero-XXXX&siteid=0&QueryKeywords=redsox&version=849
23
URL XMLJSON API KEY CONTENT KEYWORDFORMAT ORG API shopping?callname=FindPopularItems http:// open.api.ebay.com/ &QueryKeywords=redsox &appid=JohnVero-XXXXXXXXXXXXXXXXXXXXXX &responseencoding=XML Oauth &Page &Parameters &Sort
24
XML - eXtensible Markup Language
25
JSON: JavaScript Object Notation
27
Applications Analytics
29
Javascript Code
32
Job and Career APIs
35
Mobile MBTA
38
175m+ professionals (as of August 2, 2012) What$ Million Hiring Solutions$121.6M Marketing Solutions$63.1M Premium Subscriptions$43.5M Total Revenue$228.2 https://developer.linkedin.com/partner
40
https://developer.linkedin.com/documents/authentication
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.