Created
March 5, 2015 00:16
-
-
Save nhindman/b7a63b2766328eb9e00e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script> | |
| $urx.setApiKey("API KEY GOES HERE"); | |
| var geoFilter = "near:40.748441,-73.985664"; | |
| var actionFilter = " action:BuyAction"; | |
| var domainFilter = " domain:seatgeek.com domain:stubhub.com domain:ticketmaster.com" | |
| $urx.search(geoFilter + actionFilter + domainFilter, function(response) { | |
| var searchResult = response.results[0]; | |
| }, function(req, errorMessage){ | |
| // SEARCH FAILURE HANDLER | |
| console.log(errorMessage); | |
| }); | |
| </script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment