Skip to content

Instantly share code, notes, and snippets.

"result": [
{
"@context": "http://schema.org",
"@type": "Thing",
"description": "Rideshare with Lyft. Lyft is your friend with a car, whenever you need one. Download the app, and get a ride from a friendly driver within minutes.",
"image": "https://www.lyft.com/assets/img/lyft_facebook_share_1200.jpg",
"name": "A ride whenever you need one",
"potentialAction": {
"@type": "TravelAction",
"description": "Book a Ride",
#import "ViewController.h"
#import <URXSearch/URX.h>
#import <URXWidgets/URXWidgets.h>
@interface ViewController ()
@property (strong, nonatomic) IBOutlet URXListenButtonView *listenButtonView;
@end
@implementation ViewController
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<div class="aritcle-title">
<h1>Drake Releases New Album</h1>
</div>
<img src="http://static.urx.io/units/web/urx-unit-loader.gif" style="display:none;" onload="
var a=document.createElement('script');a.setAttribute('src','//static.urx.io/units/web/1bff0e8c-7440-4227-8d9c-bd89518d33e9.min.js'),this.parentNode.insertBefore(a,this);">
{
"@context": [
"http://schema.org/",
"http://vocabs.urx.io/"
],
"@type": "SearchAction",
"actionStatus": "CompletedActionStatus",
"query": "ed sheeran domain:spotify.com",
"result": [
{
result": [
{
"@context": "http://schema.org",
"@type": "Thing",
"description": "Allegedly \"shrouded in mystery\" despite a social media presence (with accompanying photos) on Twitter, Tumblr, Facebook, Soundcloud, and YouTube, as well as major support from fellow Torontonian Drake, alternative R&amp;B act the Weeknd -- a solo outlet for vocalist Abel Tesfaye -- surfaced in March 2011 with House of Balloons.",
"image": "https://img.urx.io/img?url=http%3A%2F%2Fo.scdn.co%2Fcover%2F2adb640684adf725303a89f6e132f036f30c82e0",
"name": "The Weeknd",
"potentialAction": {
"@type": "ListenAction",
"description": "Listen",
<script>
$urx.setApiKey("Rd1519_TuwzGQZkbDtQESD9gOKlOb6tN2NX9KsMbntOiAaybLRWUAnsNlA_ZpHE=.Rd1519_TuwzGQZkbDtQESD9gOKlOb6tN");
var domainFilter = " domain:lyft.com"
$urx.search(domainFilter, function(response) {
var searchResult = response.results[0];
}, function(req, errorMessage){
// SEARCH FAILURE HANDLER
console.log(errorMessage);
});
</script>
&app=Fun-App1,Fun-App2&source=facebook,twitter,pinterest
@nhindman
nhindman / sample.js
Created December 29, 2016 13:34
sample.js
&app=Fun-App1,Fun-App2&source=facebook,twitter,pinterest
https://api.singular.net/api/v2.0/reporting?api_key={ENTER_YOUR_API_KEY}&app=Fun-App1,Fun-App2&source=facebook,twitter,pinterest
{
"status": 0,
"substatus": 0,
"value": {
"dimensions": [{
"name": "app",
"display_name": "App",
"values": [{
"display_name": "APP 1",
"name": "app-1"