Más contenido relacionado La actualidad más candente (19) Similar a Open APIs: What's Hot, What's Not? (20) Open APIs: What's Hot, What's Not?2. yea rs
7
Is
,000
AP tor ies
5
new s
s
3 ,000
6. POST
/GetStock
HTTP/1.1
GET
hRp://example.org/stock/IBM
Host:
www.example.org
Content-‐Type:
applicaHon/soap+xml
<?xml
version="1.0"?>
<soap:Envelope
xmlns:soap="hRp://www.w3.org/2001/12/soap-‐
envelope"
soap:encodingStyle="hRp://www.w3.org/
2001/12/soap-‐encoding">
<soap:Body
xmlns:m="hRp://www.example.org/
stock">
<m:GetStockPrice>
<m:StockName>IBM</m:StockName>
</m:GetStockPrice>
</soap:Body>
</soap:Envelope>
HOT or NOT
7. SOAP REST
POST
/GetStock
HTTP/1.1
GET
hRp://example.org/stock/IBM
Host:
www.example.org
Content-‐Type:
applicaHon/soap+xml
<?xml
version="1.0"?>
<soap:Envelope
xmlns:soap="hRp://www.w3.org/2001/12/soap-‐
envelope"
soap:encodingStyle="hRp://www.w3.org/
2001/12/soap-‐encoding">
<soap:Body
xmlns:m="hRp://www.example.org/
stock">
<m:GetStockPrice>
<m:StockName>IBM</m:StockName>
</m:GetStockPrice>
</soap:Body>
</soap:Envelope>
HOT or NOT
8. API protocols and styles
Based on directory of 4,000 web APIs listed at ProgrammableWeb, December 2011
9. {
<?xml
version="1.0"?>
"symbol":
”IBM",
<soap:Envelope
"price":
94.72,
xmlns:soap="hRp://www.w3.org/2001/12/soap-‐
envelope"
}
soap:encodingStyle="hRp://www.w3.org/
2001/12/soap-‐encoding">
<soap:Body
xmlns:m="hRp://www.example.org/
stock">
<m:GetStockPriceResponse>
<m:Price>34.5</m:Price>
</m:GetStockPriceResponse>
</soap:Body>
</soap:Envelope>
HOT or NOT
10. JSON XML
{
<?xml
version="1.0"?>
"symbol":
”IBM",
<soap:Envelope
"price":
94.72,
xmlns:soap="hRp://www.w3.org/2001/12/soap-‐
envelope"
}
soap:encodingStyle="hRp://www.w3.org/
2001/12/soap-‐encoding">
<soap:Body
xmlns:m="hRp://www.example.org/
stock">
<m:GetStockPriceResponse>
<m:Price>34.5</m:Price>
</m:GetStockPriceResponse>
</soap:Body>
</soap:Envelope>
HOT or NOT
11. Percentage of APIs with JSON support
Based on directory of 4,000 web APIs listed at ProgrammableWeb, December 2011
14. API Billionaires
13 billion API calls / day (May 2011)
10 billion API calls / month (January 2011)
Over 260 billion objects stored in S3 (January 2011)
1.6 billion API-delivered stories / month (October 2010)
5 billion API calls / day (April 2010)
1.1 billion API calls / day (April 2011)
10 billion API calls / month (December 2011)
12 billion API calls / month (May 2011)
19. OAuth HTTP Auth
HOT or NOT
27. A VC fund for your API
REST
API billionaires
JSON
Hackathons
OAuth
Interactive documentation
Invisible mashups
29. Photo
credits
Hackers:
hRp://www.flickr.com/photos/hackny/5684846071/
Money:
hRp://www.flickr.com/photos/amagill/3366720659
Million
dollars:
hRp://www.flickr.com/photos/ari/3706865646/
Pennies:
hRp://www.flickr.com/photos/puuikibeach/6746802715/
Bored
conference:
hRp://www.flickr.com/photos/padorange/2580180117/