Wilson Mar bio photo

Wilson Mar

Hello!

Calendar YouTube Github

LinkedIn

Oh the places we go

US (English)   Norsk (Norwegian)   Español (Spanish)   Français (French)   Deutsch (German)   Italiano   Português   Estonian   اَلْعَرَبِيَّةُ (Egypt Arabic)   Napali   中文 (简体) Chinese (Simplified)   日本語 Japanese   한국어 Korean

Overview

An inventory of APIs is available from:

Below are some major ones API developers should know about:

Retail

Enterprise

Social

Travel

  • Expedia travel

  • Everytrail has rich information on travel sites and media about them. It returns XML. A wiki is provided.

Finance

Music

Flickr API

Flickr provides an API to access images contributed by its users.

Flicker was purchased by Yahoo, which is why API keys for it are obtained through a Yahoo sign-on.

The description:

  https://www.flickr.com/services/developer

and the App Garden at:

  https://www.flickr.com/services/api/

of code using code from:

  http://code.flickr.net/

Management console:

http://apigee.com/console/flickr

Google

Google’s maps is the most-referenced API according to ProgrammableWeb.

Among Google’s many API products:

  • Google’s Civic Infomation API enables developers to build applications that let citizens and voters know about their political representation and voting locations. First released in 2012, it supplies official information for every state and the District of Columbia. Version 2 released in 2015 adds ballot drop-off and early voting locations.

Data.gov

US federal jobs

http://usasearch.howto.gov/developer/jobs.html collects jobs posted by government at several levels (federal, state, etc.).

No API is required for access.

A sample free-form query:

http://api.usa.gov/jobs/search.json?query=telecommute+jobs

US Weather

http://graphical.weather.gov/xml/rest.php provides weather prediction in XML.

A sample request:

http://graphical.weather.gov/xml/sample_products/browser_interface/ndfdXMLclient.php?lat=48.99&lon=-77.01&product=glance

Elements are described at http://graphical.weather.gov/xml/docs/elementInputNames.php

  • product “time-series”
  • end=2016-05-01T0:00:00

BLAH: Sample code to present the information is not provided by the site.

US Census

http://www.census.gov/developers contains a wide list of data available freely.

BLAH: Even though this site is maintained by a federal organization, not all datasets have data for the entire nation (all 50 states of the union and territories).

The javascript SDK for US Census Bureau data stored at GitHub CitySDK and described at https://uscensusbureau.github.io/citysdk, includes simple integrations to facilitate mash-up of other open datasets.

The JavaScript uses the “Module pattern” of coding that uses a “closure”.

A sample end point for data from the 2010 census for all states:

api.census.gov/data/2010/sf1?key=...&get=P0010001,NAME=&for=state:*

The … above is replaced by each user’s own API key obtained from email after registration at http://api.census.gov/data/citysdk.html

US White House

https://github.com/WhiteHouse/api-standards#pragmatic-rest was created with participation by Kin Lane.

Other APIs

https://shkspr.mobi/blog/2014/04/wanted-simple-apis-without-authentication/ lists several.

  • Ford
  • GM
  • Citrix

Mashups

A mashup app combines data from several Web APIs in its presentation.

More on API Microservices

This is one of a series: