Skip to content

Instantly share code, notes, and snippets.

@dance2die
Created June 19, 2017 00:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dance2die/f4e3fb47fe75fac1fb65cebc13f88acc to your computer and use it in GitHub Desktop.
Save dance2die/f4e3fb47fe75fac1fb65cebc13f88acc to your computer and use it in GitHub Desktop.
thirdAttempt()
var proxify = require('proxify-url');
...
thirdAttempt() {
// GoodReads API returns result in "XML" format.
// "XML" is the "input" format fed into YQL
let proxyUrl = proxify(this.url, { inputFormat: 'xml' });
this.logResult(proxyUrl);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment