Live data from Hacker News

The API-ization of everything

blog.garrytan.com

61–70 of 77 posts

Re: The API-ization of everything

#61
post #35

Along these lines, I've been thinking of a building a business around building APIs for small businesses. I'm thinking of local mom and pop grocery stores, local restaurants, my dry cleaner, my car wash guy, etc. Imagine a world where all businesses offered an API to interact with them.

What would an API for a mom and pop grocery store do and who would use it?

items Stock, Location, Open Hours... All that in a phone app or on google map ?

Re: The API-ization of everything

#62
Well, "enterprise" software does have APIs in the form of EDI protocols.

http://en.wikipedia.org/wiki/Electronic_data_interchange

Admittedly they're not perfect, but "hackers" weren't the first ones to think of automating back office processes. Most invoicing, payables, receivables etc. happen over these protocols.

Naturally these functions will probably eventually move to REST over time as the broader enterprise software ecosystem moves in that direction, but it's not like wild uncharted territory.

Re: The API-ization of everything

#63
We built a product that we built about 7 years ago using SOAP web services. We built a large front-end (something like 500 screens) in Adobe Flex. Now, we're rewriting it using the latest JavaScript web libraries, html, css, etc... We wrapped the SOAP/XML service calls inside a JSON parser/interpreter...

Bottom line, it's amazing how easy it has been rebuilding the front-end when the original app was already built from a backend API. I don't think we purposely knew how future-proof we were making our server APIs.

Now days I thought this was an obvious choise. Even if the API is for internal applications.

Re: The API-ization of everything

#64
post #37
post #36

Earlier quoted context omitted.

This is a very interesting idea - a formalized representation of contact information would help a lot in fighting the walled-garden effect of Facebook/etc. Unfortunately, as currently implemented, this seems to be yet another centralized service that that is a single point of failure. Would you consider taking a moment to write up a (draft) protocol first? Core features of the internet (representation of personal met…

Admittedly, I was in something of a rush to throw it together, and altogether skipped that step. As you'd expect, the result was a bunch of second guessing, and false starts. That said, I'm absolutely trending that direction, but I felt like there was enough that I didn't know that attempting a spec out of the gate would have led to a bad spec and a bad implementation, and the way that I've always worked, it's easier…

Did you take a look at FOAF project or similar (or the whole semantic web ecosystem I guesS), its a good place to start for defining an ontology.

Re: The API-ization of everything

#65
post #35

Along these lines, I've been thinking of a building a business around building APIs for small businesses. I'm thinking of local mom and pop grocery stores, local restaurants, my dry cleaner, my car wash guy, etc. Imagine a world where all businesses offered an API to interact with them.

While this is a fun--and potentially useful--idea, can I recommend you spend some time hanging around/working for small businesses? You'll find the experience pretty useful.

On one hand, you may discover (as I fear) that mom-and-pop don't need an API or don't have the resources to pay for one. Perhaps even if they did, nobody would use it.

On the other, you may conveniently find yourself with the first few customers you'll need. They'll already know and trust you, and you'll have very clear idea of what their challenges are.

Re: The API-ization of everything

#66
post #47
post #6

The final sentence in the article really struck a chord with me... > Where there is paper to push, a call to answer, or a purchase to approve, there is an API coming to replace it. I've made a pretty decent living in life by following the old mantra that anywhere you see an Excel spreadsheet being used in a business process, there's an opportunity to exploit. That idiom has now moved even further, at this point, and…

Seems most useful for information that changes often. Say, for example, you move around a lot and I want to know when you're in town. I could poll your API (and others like you) and see who's in town this week. Or maybe, as a freelancer it could be used to signal that you have free time. And the consumer could then find 5 rails programmers, who also know whatever , with at least a week of free time coming up.

Sort of responding to you and Nick Lothian (nl) at the same time, but that's the main difference I see between something like this and webfinger, is the ease of updating.

Further, I see a distinction between Personable (the site) and the "Personal API", is that I see Personable as also having services that actively monitor other social sites and update Personable automatically. Checkins to Foursquare, Facebook, etc could be automatically read in to Personable, which would show your 'current location' as whichever the most current update is, regardless of which provider you used.

Same thing with RSS feeds, Youtube videos, etc., etc.

Perhaps not much of a distinction, but that's my thought process anyway.

Re: The API-ization of everything

#67
What I would really like is 1 api format that is uniform. This would end the wild growth of libraries for languages, you could import a single module that would be a universal API resolver. Just point it to the url and all methods can be magically used. Would be really nice if you could explore the api like this as well.. A man can dream.

Re: The API-ization of everything

#68
post #4

This is incredibly interesting. According to some people we're looking at unprecedented growth in the space. Right now there's roughly 9k public APIs. By 2019 that number could be over 100,000. The question becomes though who does the integrations? Not everyone is a developer. The world needs plumbers for toilets and electricians for lights. I think the future of web development looks a lot like these industries. If…

I think the answer to that lies in HTTP discovery protocols. I'm imagining self-organizing applications based on the need of the user, wiring together representations of disparate data sources into a cohesive interface. You shouldn't have to be a dev to take advantage of the API universe. You'll just need tools that are able to reason about the data available.

That's the goal of the semantic web/linked data, and it already works for simple cases. But to take advantage of that you can't be stuck in the popular "REST-but-not-really" custom APIs; you need standard formats and protocols (e.g. RDF/a and SPARQL) that can be queried by software that knows nothing about that particular service.

Re: The API-ization of everything

#69
post #35

Along these lines, I've been thinking of a building a business around building APIs for small businesses. I'm thinking of local mom and pop grocery stores, local restaurants, my dry cleaner, my car wash guy, etc. Imagine a world where all businesses offered an API to interact with them.

Don't think API, think structured data in HTML. You could get all those benefits by just convincing the web developer to properly markup that information using RDFa or similar.

In fact, location is already supported by Google: https://support.google.com/webmasters/answer/146861?hl=en

Re: The API-ization of everything

#70
post #27

Armed with APIs, developers will drive the composable enterprise http://gigaom.com/2013/10/12/armed-with-apis-developers-will... SUMMARY: The rise of APIs as a source for web services and data means that developers don’t have to reinvent the wheel on every feature — they can source it from an API. This trend brings about the composable enterprise.

There's always the danger of relying on APIs that are subsequently retired with little notice though.

It is OK as long as you have an exit plan/alternative. If you know you can roll your own or switch to one of a number of providers in a week or so and that is a known risk you an can manage it.

Depending on what data you are trusting the APIs with there is also the security risk. CirleCI have just suffered from MongoHQ's security failure in a way that is extremely urgent and customer affecting.

Post reply on HN