2
votes

Has anybody succeeded installing locally Google's open-sourced API Explorer? I'm trying to use that tool to expose my company's API, and I find it difficult to get it running: compilation required some minor code changes and library upgrades, and at runtime, some pieces of JavaScript get downloaded from different google servers etc.

2

2 Answers

2
votes

I was able to see the API by doing the following in Chrome Version 31.0.1650.63:

  1. Hit the combination "Ctrl+Shift+N" to open a "New incognito window" (or use the "Customize and control Google Chrome" menu to the right of the address box)
  2. Enter the URL in the "incognito" window

    http://localhost:8080/_ah/api/explorer
    
  3. After the page loads, click the shield icon that appears at the far right within the address box.

  4. Click "Load unsafe script". The API appeared.

There may be a way to configure Chrome to get past these steps but I have not found that yet.

0
votes

The opensource repository for the APIs Explorer is woefully out of date, that is partially if not entirely my own fault. I'll work on that.

That being said, the APIs Explorer is not really intended for exploring just any API. It will work well for any of Google's Discovery-based APIs, which happens to include APIs created by the new Cloud Endpoints service, recently demoed at Google I/O.