1 / 40

Modeler

Modeler. API Paradox. API Data Useful for Career Decisions?. Yes. No. Access to API Data without learning API Mechanics?. Learn a Skill Not Needed for a Job. No. API Skills Required for Job?. Yes. 14,954. 0.4%. 3,491,915. API Templates: Authorizatio n. import oauth2 as oauth

wauna
Download Presentation

Modeler

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Modeler

  2. API Paradox API Data Useful for Career Decisions? Yes No Access to API Data without learning API Mechanics? Learn a Skill Not Needed for a Job No API Skills Required for Job? Yes 14,954 0.4% 3,491,915

  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= "<Enter your access token key here>" access_token_secret = "<Enter your access token secret here>" consumer_key = "<Enter consumer key>" consumer_secret = "<Enter 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. API Templates: Pull Data deffetchsamples(): 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()

  5. API OverviewApplication 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. With the eBay API, communicate directly with the eBay database in XML format.  partners JSON ODBC Source: eBay

  8. Source: eBay

  9. ebay.com Source: ebay

  10. HTML: Hyper Text Markup Language

  11. With the eBay API, communicate directly with the eBay database in XML format.  JSON JSON ODBC Web Scraping Source: ebay

  12. XML:eXtensibleMarkup Language http://open.api.ebay.com/shopping?callname=FindPopularItems&responseencoding=XML&appid=JohnVero-34f1-4c5f-9423-cf1fd36337be&siteid=0&QueryKeywords=redsox&version=849

  13. IF an API is Public WYSIWYG What You See Is What You Get

  14. most organizations require you to register you will then receive an API Key

  15. http://open.api.ebay.com/shopping?callname=FindPopularItems&responseencoding=XML&appid=JohnVero-XXXX&siteid=0&QueryKeywords=redsox&version=849http://open.api.ebay.com/shopping?callname=FindPopularItems&responseencoding=XML&appid=JohnVero-XXXX&siteid=0&QueryKeywords=redsox&version=849

  16. URL CONTENT ORG API FORMAT KEYWORD API KEY Oauth XML JSON http://open.api.ebay.com/ &QueryKeywords=redsox &responseencoding=XML shopping?callname=FindPopularItems &appid=JohnVero-XXXXXXXXXXXXXXXXXXXXXX &Page &Parameters &Sort

  17. XML - eXtensibleMarkup Language

  18. JSON: JavaScript Object Notation

  19. Applications Analytics

  20. Javascript Code

  21. Job and Career APIs

  22. Mobile • MBTA

  23. 175m+ professionals (as of August 2, 2012) https://developer.linkedin.com/partner

  24. https://developer.linkedin.com/documents/authentication

More Related