Difference between revisions of "Reports"

From Advice Local Wiki
Jump to: navigation, search
(Example Response)
Line 1: Line 1:
== Trigger a Report ==
+
== Get Client Report ==
This endpoint will generate a Baseline Report.
+
This endpoint will return a large object that contains overview and data properties.  Within each of those properties is baseline data, and optionally monthly progress data if the location is active with products and services.
 
=== API Endpoint ===
 
=== API Endpoint ===
 
<syntaxhighlight lang="html">
 
<syntaxhighlight lang="html">
http://p.lssdev.com/legacyclients/{client_id}/refresh
+
http://p.lssdev.com/legacyclients/{client_id}/report
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
=== Example Request ===
 
=== Example Request ===
 
<syntaxhighlight lang="php">
 
<syntaxhighlight lang="php">
GET /legacyclients/3201926/refresh HTTP/1.1
+
GET /legacyclients/3201926/report HTTP/1.1
Host: p.lssdev.com
 
x-api-token: YOUR_API_KEY
 
Content-Type: application/json
 
</syntaxhighlight>
 
 
 
=== Example Response ===
 
<syntaxhighlight lang="json">
 
{
 
  "status": 200,
 
  "success": true,
 
  "error": null,
 
  "data": {
 
    "ResponseMetadata": {
 
      "RequestId": "xxxxxxx"
 
    },
 
    "MD5OfMessageBody": "xxxxxxx",
 
    "MessageId": "xxxxxxx"
 
  }
 
}
 
</syntaxhighlight>
 
 
 
== Directory Data Report ==
 
This endpoint returned directories report. This endpoint will keep a history of all reports per directory and may returned one to many results.
 
=== API Endpoint ===
 
<syntaxhighlight lang="html">
 
http://p.lssdev.com/legacydirectorydata?client={client_id}
 
</syntaxhighlight>
 
 
 
=== Example Request ===
 
<syntaxhighlight lang="php">
 
GET /legacydirectorydata?client=3201926 HTTP/1.1
 
 
Host: p.lssdev.com
 
Host: p.lssdev.com
 
x-api-token: YOUR_API_KEY
 
x-api-token: YOUR_API_KEY
Line 51: Line 20:
 
     "success": true,
 
     "success": true,
 
     "error": null,
 
     "error": null,
     "data": [
+
     "data": {
         {
+
        "baseline_version": "jazz",
             "client": 3201926,
+
         "overview": {
             "partner": 7,
+
             "baselineOverview": {
            "data": {
+
                "bingScore": 93,
                 "dirName": "Chamberofcommerce",
+
                "directoriesScore": 31,
                "dirHandle": "chamberofcommerce",
+
                "googleScore": 100,
                "dirQuery": "https://www.chamberofcommerce.com/search/results?what=gina%27s+pizza&where=newport+beach%2C+ca",
+
                "localsScore": 96,
                "results": 4,
+
                "napScore": 39,
                "result": [
+
                "visibilityScore": 59,
 +
                "yelpScore": 94,
 +
                "voiceScore": 72,
 +
                "localsScoreTotal": 287,
 +
                "localsTotal": 3,
 +
                "localsFound": 3,
 +
                "localsNapScore": 96,
 +
                "localsNapTotal": 287,
 +
                "directoriesTotal": 42,
 +
                "directoriesFound": 13,
 +
                "directoriesNapScore": 35,
 +
                "directoriesNapTotal": 1446,
 +
                "voiceTotal": 5,
 +
                "voiceFound": 4
 +
            }
 +
        },
 +
        "data": {
 +
             "baseline": {
 +
                "locals": [
 +
                    {
 +
                        "product": "Bing local",
 +
                        "directory": "bing",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/bing.png",
 +
                        "found": true,
 +
                        "score": 93,
 +
                        "claimed": false,
 +
                        "hours": true,
 +
                        "date": "2021-01-06T21:24:48.000Z",
 +
                        "categories": 0,
 +
                        "reviews": 24,
 +
                        "photos": 1,
 +
                        "website": "https://www.kellysartshack.com/",
 +
                        "link": "https://www.bing.com/maps?ss=ypid.YN873x2705681487866994578",
 +
                        "phone": "(214) 935-8891",
 +
                        "name": "Kelly's Art Shack",
 +
                        "address": "312 Cloyd St, McKinney, TX 75069",
 +
                        "nap": {
 +
                            "name": 82,
 +
                            "address": 96,
 +
                            "phone": 100
 +
                        }
 +
                    },
 +
                    {
 +
                        "product": "Google",
 +
                        "directory": "google",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/google.png",
 +
                        "found": true,
 +
                        "score": 100,
 +
                        "claimed": true,
 +
                        "hours": true,
 +
                        "date": "2021-01-06T21:24:46.000Z",
 +
                        "categories": 2,
 +
                        "reviews": 5,
 +
                        "photos": 1,
 +
                        "website": "https://www.kellysartshack.com/",
 +
                        "link": "https://maps.google.com/?cid=14732555693742418082",
 +
                        "phone": "(214) 935-8891",
 +
                        "name": "Kelly's Art Shack & Events",
 +
                        "address": "312 E Cloyd St, McKinney, TX 75069, USA",
 +
                        "nap": {
 +
                            "name": 100,
 +
                            "address": 100,
 +
                            "phone": 100
 +
                        }
 +
                    },
 +
                    {
 +
                        "product": "Yelp",
 +
                        "directory": "yelp",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/yelp.png",
 +
                        "found": true,
 +
                        "score": 94,
 +
                        "claimed": true,
 +
                        "hours": true,
 +
                        "date": "2021-01-06T21:24:46.000Z",
 +
                        "categories": 7,
 +
                        "reviews": 2,
 +
                        "photos": 1,
 +
                        "website": "kellysartshack.com",
 +
                        "link": "https://www.yelp.com/biz/kellys-art-shack-mckinney-2",
 +
                        "phone": "(214) 935-8891",
 +
                        "name": "Kelly's Art Shack",
 +
                        "address": "312 E Cloyd St, McKinney, TX 75069",
 +
                        "nap": {
 +
                            "name": 82,
 +
                            "address": 100,
 +
                            "phone": 100
 +
                        }
 +
                    }
 +
                ],
 +
                 "directories": [
 +
                    {
 +
                        "product": "Alignable",
 +
                        "type": "directory",
 +
                        "directory": "alignable",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/alignable.png",
 +
                        "found": false,
 +
                        "date": "2021-01-06T21:24:42.000Z"
 +
                    },
 +
                    {
 +
                        "product": "Apple",
 +
                        "type": "ftp",
 +
                        "directory": "apple",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/apple.png",
 +
                        "found": false,
 +
                        "date": "2021-01-06T21:24:42.000Z"
 +
                    },
 +
                    {
 +
                        "product": "Brownbook",
 +
                        "directory": "brownbook",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/brownbook.png",
 +
                        "found": true,
 +
                        "score": 94,
 +
                        "type": "directory",
 +
                        "date": "2021-01-06T21:24:48.000Z",
 +
                        "link": "https://brownbook.net/business/46687008/kellys-art-shack",
 +
                        "name": "Kelly's Art Shack",
 +
                        "address": "312 East Cloyd Street, McKinney, TX 75069",
 +
                        "phone": "(214) 935-8891",
 +
                        "nap": {
 +
                            "name": 82,
 +
                            "address": 100,
 +
                            "phone": 100
 +
                        }
 +
                    },
 +
                    {
 +
                        "product": "Bubblelife",
 +
                        "directory": "bubblelife",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/bubblelife.png",
 +
                        "found": true,
 +
                        "score": 94,
 +
                        "type": "directory",
 +
                        "date": "2021-01-06T21:24:48.000Z",
 +
                        "link": "http://directory.bubblelife.com/listing/351732674/Kellys_Art_Shack",
 +
                        "name": "Kelly's Art Shack",
 +
                        "address": "312 East Cloyd Street, McKinney, TX, 75069",
 +
                        "phone": "2149358891",
 +
                        "nap": {
 +
                            "name": 82,
 +
                            "address": 100,
 +
                            "phone": 100
 +
                        }
 +
                    },
 +
                    {
 +
                        "product": "Cataloxy",
 +
                        "type": "directory",
 +
                        "directory": "cataloxy",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/cataloxy.png",
 +
                        "found": false,
 +
                        "date": "2021-01-06T21:24:42.000Z"
 +
                    },
 +
                    {
 +
                        "product": "Chamberofcommerce",
 +
                        "directory": "chamberofcommerce",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/chamberofcommerce.png",
 +
                        "found": true,
 +
                        "score": 80,
 +
                        "type": "directory",
 +
                        "date": "2021-01-06T21:24:46.000Z",
 +
                        "link": "https://www.chamberofcommerce.com/united-states/texas/mckinney/art-studios/2011504185-kellys-art-shack",
 +
                        "name": "Kelly's Art ShackKelly's Art Shack",
 +
                        "address": "312 East Cloyd Street Mckinney, TX 75069, 312 East Cloyd Street Mckinney, TX 75069",
 +
                        "phone": "(214) 935-8891(214) 935-8891",
 +
                        "nap": {
 +
                            "name": 71,
 +
                            "address": 68,
 +
                            "phone": 100
 +
                        }
 +
                    },
 +
                    {
 +
                        "product": "Citysearch",
 +
                        "type": "directory",
 +
                        "directory": "citysearch",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/citysearch.png",
 +
                        "found": false,
 +
                        "date": "2021-01-06T21:24:43.000Z"
 +
                    },
 +
                    {
 +
                        "product": "Citysquares",
 +
                        "directory": "citysquares",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/citysquares.png",
 +
                        "found": true,
 +
                        "score": 94,
 +
                        "type": "directory",
 +
                        "date": "2021-01-06T21:24:46.000Z",
 +
                        "link": "https://citysquares.com/b/kelly-s-art-shack-23512625",
 +
                        "name": "Kelly's Art Shack",
 +
                        "address": "312 East Cloyd Street, Mckinney, Texas, 75069",
 +
                        "phone": "(214) 935-8891",
 +
                        "nap": {
 +
                            "name": 82,
 +
                            "address": 100,
 +
                            "phone": 100
 +
                        }
 +
                    },
 +
                    {
 +
                        "product": "Cylex",
 +
                        "directory": "cylex",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/cylex.png",
 +
                        "found": true,
 +
                        "score": 94,
 +
                        "type": "directory",
 +
                        "date": "2021-01-06T21:24:43.000Z",
 +
                        "link": "https://www.cylex.us.com/company/kelly%27s-art-shack-28002736.html",
 +
                        "name": "Kelly's Art Shack",
 +
                        "address": "312 East Cloyd Street, McKinney, TX 75069",
 +
                        "phone": "2149358891",
 +
                        "nap": {
 +
                            "name": 82,
 +
                            "address": 100,
 +
                            "phone": 100
 +
                        }
 +
                    },
 +
                    {
 +
                        "product": "Dataprovider",
 +
                        "type": "aggregator",
 +
                        "directory": "dataprovider",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/dataprovider.png",
 +
                        "found": false,
 +
                        "date": "2021-01-06T21:24:41.000Z"
 +
                    },
 +
                    {
 +
                        "product": "Dnb",
 +
                        "type": "ftp",
 +
                        "directory": "dnb",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/dnb.png",
 +
                        "found": false,
 +
                        "date": "2021-01-06T21:24:57.000Z"
 +
                    },
 +
                    {
 +
                        "product": "Ebusinesspages",
 +
                        "directory": "ebusinesspages",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/ebusinesspages.png",
 +
                        "found": true,
 +
                        "score": 94,
 +
                        "type": "directory",
 +
                        "date": "2021-01-06T21:24:57.000Z",
 +
                        "link": "http://ebusinesspages.com/Kellys-Art-Shack_e4bp6.co",
 +
                        "name": "Kelly's Art Shack",
 +
                        "address": "312 East Cloyd Street, Mckinney, TX 75069",
 +
                        "phone": "(214) 935-8891",
 +
                        "nap": {
 +
                            "name": 82,
 +
                            "address": 100,
 +
                            "phone": 100
 +
                        }
 +
                    },
 
                     {
 
                     {
                         "link": "https://www.chamberofcommerce.com/newport-beach-ca/25230470-ginas-pizza",
+
                         "product": "Elocal",
                         "methods": {
+
                        "directory": "elocal",
                            "url": "https://www.chamberofcommerce.com/search/results?what=gina%27s+pizza&where=newport+beach%2C+ca",
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/elocal.png",
                            "enclosure": "main-content",
+
                        "found": true,
                            "enctype": "class"
+
                        "score": 94,
                        },
+
                        "type": "directory",
                        "title": "Gina's Pizza",
+
                         "date": "2021-01-06T21:24:51.000Z",
                         "tech": "false",
+
                        "link": "https://www.elocal.com/profile/kellya-s-art-shack-20346625/#!/category=319",
 +
                        "name": "Kelly’s Art Shack",
 +
                        "address": "312 East Cloyd Street, McKinney, TX, 75069",
 +
                         "phone": "214-935-8891",
 
                         "nap": {
 
                         "nap": {
                             "nap": {
+
                             "name": 82,
                                "name": "Gina's Pizza",
+
                            "address": 100,
                                "address": "3142 W Balboa Blvd - Newport Beach, California 92663",
+
                            "phone": 100
                                "phone": "(949) 723-4462",
+
                        }
                                "n": {
+
                    },
                                    "percentage": 100
+
                    {
                                },
+
                        "product": "Enrollbusiness",
                                "a": {
+
                        "type": "directory",
                                    "percentage": 100
+
                        "directory": "enrollbusiness",
                                },
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/enrollbusiness.png",
                                "p": {
+
                        "found": false,
                                    "percentage": 100
+
                        "date": "2021-01-06T21:24:42.000Z"
                                }
+
                    },
                            },
+
                    {
                            "score": 100
+
                        "product": "Expressbusinessdirectory",
                         },
+
                        "type": "directory",
                         "fulfillment": false
+
                        "directory": "expressbusinessdirectory",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/expressbusinessdirectory.png",
 +
                        "found": false,
 +
                        "date": "2021-01-06T21:24:51.000Z"
 +
                    },
 +
                    {
 +
                        "product": "Ezlocal",
 +
                        "type": "directory",
 +
                        "directory": "ezlocal",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/ezlocal.png",
 +
                        "found": false,
 +
                        "date": "2021-01-06T21:24:46.000Z"
 +
                    },
 +
                    {
 +
                        "product": "Factual",
 +
                        "type": "directory",
 +
                        "directory": "factual",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/factual.png",
 +
                        "found": false,
 +
                        "date": "2021-01-06T21:24:41.000Z"
 +
                    },
 +
                    {
 +
                        "product": "Findopen",
 +
                        "type": "directory",
 +
                        "directory": "findopen",
 +
                         "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/findopen.png",
 +
                         "found": false,
 +
                        "date": "2021-01-06T21:24:44.000Z"
 
                     },
 
                     },
 
                     {
 
                     {
                         "link": "https://www.chamberofcommerce.com/newport-beach-ca/32128621-ginas-pizza",
+
                         "product": "Foursquare",
                         "methods": {
+
                        "directory": "foursquare",
                            "url": "https://www.chamberofcommerce.com/search/results?what=gina%27s+pizza&where=newport+beach%2C+ca",
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/foursquare.png",
                            "enclosure": "main-content",
+
                         "found": true,
                            "enctype": "class"
+
                        "score": 94,
                         },
+
                        "type": "aggregator",
                         "title": "Ginas Pizza Inc",
+
                        "date": "2021-01-06T21:24:51.000Z",
                         "tech": "false",
+
                        "link": "https://foursquare.com/v/kellys-art-shack/5d553f77e8791a0008842e43",
 +
                         "name": "Kelly’s Art Shack",
 +
                         "address": "312 East Cloyd Street, McKinney, TX 75069, United States",
 +
                         "phone": "(214) 935-8891",
 
                         "nap": {
 
                         "nap": {
                             "nap": {
+
                             "name": 82,
                                "name": "Ginas Pizza Inc",
+
                            "address": 100,
                                "address": "309 Palm St -  Newport Beach, California 92661",
+
                            "phone": 100
                                "phone": "(949) 673-8516",
+
                        }
                                "n": {
+
                    },
                                    "percentage": 100
+
                    {
                                },
+
                        "product": "Here",
                                "a": {
+
                        "type": "directory",
                                    "percentage": 77
+
                        "directory": "here",
                                },
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/here.png",
                                "p": {
+
                        "found": false,
                                    "percentage": 60
+
                         "date": "2021-01-06T21:24:42.000Z"
                                }
 
                            },
 
                            "score": 79
 
                        },
 
                         "fulfillment": false
 
 
                     },
 
                     },
 
                     {
 
                     {
                         "link": "https://www.chamberofcommerce.com/newport-beach-ca/44339193-ginas-pizza-newport",
+
                         "product": "Hotfrog",
                         "methods": {
+
                        "type": "directory",
                            "url": "https://www.chamberofcommerce.com/search/results?what=gina%27s+pizza&where=newport+beach%2C+ca",
+
                        "directory": "hotfrog",
                            "enclosure": "main-content",
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/hotfrog.png",
                            "enctype": "class"
+
                        "found": false,
                         },
+
                        "date": "2021-01-06T21:24:42.000Z"
                         "title": "Ginas Pizza Newport",
+
                    },
                         "tech": "false",
+
                    {
 +
                        "product": "Hubbiz",
 +
                        "type": "directory",
 +
                        "directory": "hubbiz",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/hubbiz.png",
 +
                        "found": false,
 +
                        "date": "2021-01-06T21:24:43.000Z"
 +
                    },
 +
                    {
 +
                        "product": "Ibegin",
 +
                         "directory": "ibegin",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/ibegin.png",
 +
                        "found": true,
 +
                        "score": 94,
 +
                        "type": "directory",
 +
                        "date": "2021-01-06T21:24:44.000Z",
 +
                        "link": "https://www.ibegin.com/directory/visit/17037905",
 +
                         "name": "Kelly's Art Shack",
 +
                         "address": "312 East Cloyd Street, Mckinney, Texas 75069",
 +
                         "phone": "(214) 935-8891",
 
                         "nap": {
 
                         "nap": {
                             "nap": {
+
                             "name": 82,
                                "name": "Ginas Pizza Newport",
+
                            "address": 100,
                                "address": "4507 W Coast Hwy -  Newport Beach, California 92663",
+
                            "phone": 100
                                "phone": "(949) 722-1236",
+
                         }
                                "n": {
 
                                    "percentage": 74
 
                                },
 
                                "a": {
 
                                    "percentage": 80
 
                                },
 
                                "p": {
 
                                    "percentage": 70
 
                                }
 
                            },
 
                            "score": 75
 
                         },
 
                        "fulfillment": false
 
 
                     },
 
                     },
 
                     {
 
                     {
                         "link": "https://www.chamberofcommerce.com/newport-beach-ca/34418872-ginas-pizza-inc",
+
                         "product": "Infobel",
                         "methods": {
+
                        "directory": "infobel",
                            "url": "https://www.chamberofcommerce.com/search/results?what=gina%27s+pizza&where=newport+beach%2C+ca",
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/infobel.png",
                            "enclosure": "main-content",
+
                        "found": true,
                            "enctype": "class"
+
                        "score": 59,
                        },
+
                        "type": "directory",
                         "title": "Gina's Pizza Inc",
+
                         "date": "2021-01-06T21:24:43.000Z",
                         "tech": "false",
+
                        "link": "https://www.us-info.com/en/usa/kelly_s_art_shack/mckinney/USTX102328767-2149358891/businessdetails.aspx",
 +
                        "name": "Kelly's Art Shack",
 +
                         "address": "312 Cloyd St, 75069 McKinney, Texas",
 +
                         "phone": "xIjh3b3+UefOQSaI5zdaQbBDIlsYdssNpJf2njXaJhY=",
 
                         "nap": {
 
                         "nap": {
                             "nap": {
+
                             "name": 82,
                                "name": "Gina's Pizza Inc",
+
                            "address": 96,
                                "address": "Po Box 11269 -  Newport Beach, California 92658",
+
                            "phone": 0
                                "phone": "(949) 760-0848",
+
                        }
                                "n": {
+
                    },
                                    "percentage": 100
+
                    {
                                },
+
                        "product": "Infogroup",
                                "a": {
+
                        "type": "aggregator",
                                    "percentage": 68
+
                        "directory": "infogroup",
                                },
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/infogroup.png",
                                "p": {
+
                        "found": false,
                                    "percentage": 50
+
                         "date": "2021-01-06T21:24:58.000Z"
                                }
+
                     },
                            },
+
                    {
                            "score": 73
+
                        "product": "Invalid",
                        },
+
                        "type": "directory",
                         "fulfillment": false
+
                        "directory": "invalid",
                     }
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/invalid.png",
                ]
+
                        "found": false,
            },
+
                        "date": "2021-01-06T21:24:50.000Z"
            "results": "true",
+
                    },
            "errors": "false",
+
                    {
            "score": 100,
+
                        "product": "Judysbook",
            "id": 52444619,
+
                        "directory": "judysbook",
            "batch": "320192620171213",
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/judysbook.png",
            "createdAt": "2017-12-13T22:07:55.000Z",
+
                        "found": true,
            "directory": "chamberofcommerce",
+
                        "score": 94,
            "elapsedTime": 1148
+
                        "type": "directory",
        },
+
                        "date": "2021-01-06T21:24:43.000Z",
        {
+
                        "link": "https://www.judysbook.com/Kellys-Art-Shack-Art-Studios-mckinney-tx-r39944456.htm",
            "client": 3201926,
+
                        "name": "Kelly’s Art Shack",
            "partner": 7,
+
                        "address": "312 East Cloyd Street, McKinney, TX 75069",
            "data": {
+
                        "phone": "2149358891",
                "dirName": "2findlocal",
+
                        "nap": {
                "dirHandle": "2findlocal",
+
                            "name": 82,
                "dirQuery": "http://www.2findlocal.com/search?k=gina+pizza&w=newport+beach%2C+ca",
+
                            "address": 100,
                "results": 0
+
                            "phone": 100
            },
+
                        }
            "results": "false",
+
                    },
            "errors": "false",
+
                    {
            "score": 0,
+
                        "product": "Localeze",
            "id": 52444620,
+
                        "directory": "localeze",
            "batch": "320192620171213",
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/localeze.png",
            "createdAt": "2017-12-13T22:07:56.000Z",
+
                        "found": true,
            "directory": "2findlocal",
+
                        "score": 93,
            "elapsedTime": 1606
+
                        "type": "aggregator",
        },
+
                        "date": "2021-01-06T21:24:42.000Z",
        {
+
                        "link": "https://www.neustarlocaleze.biz/directory/us/tx/mckinney/kellys-art-shack/906054103/",
            "client": 3201926,
+
                        "name": "Kelly's Art Shack",
            "partner": 7,
+
                        "address": "312 Cloyd St, Mckinney, TX, 75069",
            "data": {
+
                        "phone": "(214) 935-8891",
                "dirName": "Angieslist",
+
                        "nap": {
                "dirHandle": "angieslist",
+
                            "name": 82,
                "dirQuery": "https://www.google.com/search?q=site%3Aangieslist.com%2Fcompanylist%2F+Gina%27s+Pizza+Newport+Beach%2C+CA&ie=utf-8&hl=en&as_qdr=all&aq=t&rls=org:mozilla:us:official&client=firefox&num=2&filter=1&nojs=1",
+
                            "address": 96,
                "results": 0
+
                            "phone": 100
            },
+
                        }
            "results": "false",
+
                    },
            "errors": "false",
+
                    {
            "score": 0,
+
                        "product": "Localmint",
            "id": 52444621,
+
                        "type": "directory",
            "batch": "320192620171213",
+
                        "directory": "localmint",
            "createdAt": "2017-12-13T22:07:56.000Z",
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/localmint.png",
            "directory": "angieslist",
+
                        "found": false,
            "elapsedTime": 2089
+
                        "date": "2021-01-06T21:24:44.000Z"
        },
+
                    },
        {...},
+
                    {
        {...}
+
                        "product": "Localstack",
    ],
+
                        "directory": "localstack",
    "total": 39
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/localstack.png",
}
+
                        "found": true,
</syntaxhighlight>
+
                        "score": 94,
 
+
                        "type": "directory",
== Local Data Report ==
+
                        "date": "2021-01-06T21:24:43.000Z",
=== API Endpoint ===
+
                        "link": "https://localstack.com/biz/kellys-art-shack-mckinney-tx/3568539",
<syntaxhighlight lang="html">
+
                        "name": "Kellys Art Shack",
http://p.lssdev.com/legacylocaldata?client={client_id}
+
                        "address": "312 East Cloyd Street, McKinney, TX 75069",
</syntaxhighlight>
+
                        "phone": "(214) 935-8891",
 
+
                        "nap": {
=== Example Request ===
+
                            "name": 82,
<syntaxhighlight lang="php">
+
                            "address": 100,
GET /legacylocaldata?client=3201926 HTTP/1.1
+
                            "phone": 100
Host: p.lssdev.com
+
                        }
x-api-token: YOUR_API_KEY
+
                    },
Content-Type: application/json
+
                    {
</syntaxhighlight>
+
                        "product": "Merchantcircle",
 
+
                        "directory": "merchantcircle",
=== Example Response ===
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/merchantcircle.png",
<syntaxhighlight lang="json">
+
                        "found": true,
{
+
                        "score": 94,
    "status": 200,
+
                        "type": "directory",
    "success": true,
+
                        "date": "2021-01-06T21:24:50.000Z",
    "error": null,
+
                        "link": "https://www.merchantcircle.com/kelly-s-art-shack-mckinney-tx",
    "data": [
+
                        "name": "Kelly's Art Shack",
        {
+
                        "address": "312 East Cloyd Street, McKinney, TX, 75069",
            "client": 3201926,
+
                        "phone": "214-935-8891",
            "partner": 7,
+
                        "nap": {
            "link": "http://www.yelp.com/biz/ginas-pizza-newport-beach-2?osq=Gina%27s+Pizza",
+
                            "name": 82,
            "claimed": "null",
+
                            "address": 100,
            "hours": "true",
+
                            "phone": 100
            "description": "null",
+
                         }
            "categories": 3,
+
                    },
            "photos": 0,
+
                    {
            "website": "http://ginaspizza.com",
+
                         "product": "N49",
            "n": "Gina?s Pizza",
+
                         "type": "directory",
            "a": "3142 W Balboa Blvd Newport Beach, CA 92663",
+
                        "directory": "n49",
            "p": "(949) 723-4462",
+
                         "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/n49.png",
            "id": 6945921,
+
                        "found": false,
            "createdAt": "2017-12-13T22:08:39.000Z",
+
                        "date": "2021-01-06T21:24:41.000Z"
            "directory": "yelp",
+
                    },
            "batch": "3201926-2017-12-13 22:08:39",
+
                    {
            "nScore": 100,
+
                        "product": "Opendi",
            "aScore": 100,
+
                        "type": "directory",
            "pScore": 100,
+
                        "directory": "opendi",
            "napScore": 100,
+
                         "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/opendi.png",
            "data": {
+
                        "found": false,
                "n": "Gina?s Pizza",
+
                        "date": "2021-01-06T21:24:59.000Z"
                "link": "http://www.yelp.com/biz/ginas-pizza-newport-beach-2?osq=Gina%27s+Pizza",
+
                    },
                "a": "3142 W Balboa Blvd Newport Beach, CA 92663",
+
                    {
                "p": "(949) 723-4462",
+
                        "product": "Showmelocal",
                "local": {
+
                        "directory": "showmelocal",
                    "website": "ginaspizza.com",
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/showmelocal.png",
                    "categories": [
+
                         "found": true,
                         "pizza",
+
                         "score": 94,
                         "italian",
+
                        "type": "directory",
                         "sandwiches"
+
                        "date": "2021-01-06T21:24:50.000Z",
                    ],
+
                        "link": "https://www.showmelocal.com/profile.aspx?bid=23095653",
                    "opening_hours": [
+
                         "name": "Kelly's Art Shack",
                         {
+
                        "address": "312 East Cloyd Street, Mckinney, TX, 75069",
                            "day": "Mon",
+
                        "phone": "(214)935-8891",
                            "open": "11:00 am",
+
                         "nap": {
                            "close": "9:30 pm"
+
                             "name": 82,
                        },
+
                             "address": 100,
                        {
+
                             "phone": 100
                            "day": "Tue",
 
                            "open": "11:00 am",
 
                            "close": "9:30 pm"
 
                        },
 
                         {
 
                            "day": "Wed",
 
                            "open": "11:00 am",
 
                            "close": "9:30 pm"
 
                        },
 
                        {
 
                            "day": "Thu",
 
                            "open": "11:00 am",
 
                            "close": "9:30 pm"
 
                         },
 
                         {
 
                            "day": "Fri",
 
                            "open": "11:00 am",
 
                            "close": "10:30 pm"
 
                        },
 
                         {
 
                            "day": "Sat",
 
                            "open": "11:00 am",
 
                            "close": "10:30 pm"
 
                        },
 
                         {
 
                             "day": "Sun",
 
                             "open": "11:00 am",
 
                             "close": "9:30 pm"
 
 
                         }
 
                         }
                    ],
 
                    "rating": "3.0",
 
                    "reviews": 194
 
                },
 
                "reputation": {
 
                    "rating": "3.0",
 
                    "reviews": 194,
 
                    "contents": [
 
                        {
 
                            "author": "Nijole T.",
 
                            "avatar": "",
 
                            "rated": "4.0",
 
                            "review": "Delicious pizza at Gina's!\nWe all enjoyed the crust and ample toppings, everything is always fresh an made to order.\nAn XL fed our family of 4 with plenty of leftovers, making it a great deal for just under $30.\nService is nice, pizzas ready in about 15 minutes.\nGreat place for a casual lunch or dinner.",
 
                            "date": "2017-07-25 00:00:00"
 
                        },
 
                        {
 
                            "author": "Michael F.",
 
                            "avatar": "",
 
                            "rated": "2.0",
 
                            "review": "Had small pizza, kids pizza, bruschetta and tomato canters salad. NOT WORTH $50!!!\n\nPizza was just ok. Salad was all spring mix. All food Not much flavor and over priced. \n\nDisappointed",
 
                            "date": "2017-10-26 00:00:00"
 
                        },
 
                        {...},
 
                        {...}
 
                    ]
 
                }
 
            }
 
        },
 
        {
 
            "client": 3201926,
 
            "partner": 7,
 
            "link": "https://www.google.com/maps?cid=15412785221185897851",
 
            "claimed": "true",
 
            "hours": "true",
 
            "description": "null",
 
            "categories": 7,
 
            "photos": 1,
 
            "website": "http://www.ginaspizza.com/",
 
            "n": "Gina's Pizza",
 
            "a": "3142 W Balboa Blvd, Newport Beach, CA 92663",
 
            "p": "(949) 723-4462",
 
            "id": 6945922,
 
            "createdAt": "2017-12-13T22:08:39.000Z",
 
            "directory": "google",
 
            "batch": "3201926-2017-12-13 22:08:39",
 
            "nScore": 100,
 
            "aScore": 100,
 
            "pScore": 100,
 
            "napScore": 100,
 
            "data": {
 
                "cid": "15412785221185897851",
 
                "description": "",
 
                "name": "Gina's Pizza",
 
                "place_url": "https://www.google.com/maps?cid=15412785221185897851",
 
                "categories": [
 
                    "pizza restaurant",
 
                    "deliveries",
 
                    "fast food container",
 
                    "italian restaurant",
 
                    "pizza delivery",
 
                    "pizza",
 
                    "western food"
 
                ],
 
                "gcid": [
 
                    "gcid:pizza_restaurant",
 
                    "gcid:italian_restaurant",
 
                    "gcid:pizza_delivery_service"
 
                ],
 
                "keywords": [
 
                    "deliveries",
 
                    "fast food container",
 
                    "pizza",
 
                    "western food"
 
                ],
 
                "photos": 0,
 
                "claimed": "yes",
 
                "reviews": 84,
 
                "rating": "4.4",
 
                "address": "3142 W Balboa Blvd, Newport Beach, CA 92663",
 
                "area_code": "949",
 
                "business_phone": "(949) 723-4462",
 
                "website": {
 
                    "link": "http://www.ginaspizza.com/",
 
                    "domain": "ginaspizza.com"
 
                },
 
                "opening_hours": {
 
                    "1": {
 
                        "day": "Monday",
 
                        "hours": "11AM–10PM"
 
 
                     },
 
                     },
                     "2": {
+
                     {
                         "day": "Tuesday",
+
                        "product": "Sitecards",
                         "hours": "11AM–10PM"
+
                        "type": "directory",
 +
                        "directory": "sitecards",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/sitecards.png",
 +
                        "found": false,
 +
                        "date": "2021-01-06T21:24:50.000Z"
 +
                    },
 +
                    {
 +
                         "product": "Superpages",
 +
                         "type": "directory",
 +
                        "directory": "superpages",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/superpages.png",
 +
                        "found": false,
 +
                        "date": "2021-01-06T21:24:48.000Z"
 
                     },
 
                     },
                     "3": {
+
                     {
                         "day": "Wednesday",
+
                        "product": "Tupalo",
                         "hours": "11AM–10PM"
+
                        "type": "directory",
 +
                        "directory": "tupalo",
 +
                         "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/tupalo.png",
 +
                        "found": false,
 +
                         "date": "2021-01-06T21:24:43.000Z"
 
                     },
 
                     },
                     "4": {
+
                     {
                         "day": "Thursday",
+
                        "product": "Uscity",
                         "hours": "11AM–10PM"
+
                        "type": "directory",
 +
                        "directory": "uscity",
 +
                         "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/uscity.png",
 +
                        "found": false,
 +
                         "date": "2021-01-06T21:24:42.000Z"
 
                     },
 
                     },
                     "5": {
+
                     {
                         "day": "Friday",
+
                        "product": "Verizon411",
                         "hours": "11AM–11PM"
+
                        "type": "ftp",
 +
                        "directory": "verizon411",
 +
                         "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/verizon411.png",
 +
                        "found": false,
 +
                         "date": "2021-01-06T21:24:42.000Z"
 
                     },
 
                     },
                     "6": {
+
                     {
                         "day": "Saturday",
+
                        "product": "Whereto",
                         "hours": "11AM–11PM"
+
                        "type": "directory",
 +
                        "directory": "whereto",
 +
                         "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/whereto.png",
 +
                        "found": false,
 +
                         "date": "2021-01-06T21:24:42.000Z"
 
                     },
 
                     },
                     "7": {
+
                     {
                         "day": "Sunday",
+
                        "product": "Wherezit",
                         "hours": "11AM–10PM"
+
                        "type": "directory",
 +
                        "directory": "wherezit",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/wherezit.png",
 +
                        "found": false,
 +
                        "date": "2021-01-06T21:24:41.000Z"
 +
                    },
 +
                    {
 +
                         "product": "Yasabe",
 +
                        "directory": "yasabe",
 +
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/yasabe.png",
 +
                        "found": true,
 +
                        "score": 86,
 +
                         "type": "directory",
 +
                        "date": "2021-01-06T21:24:42.000Z",
 +
                        "link": "https://www.dev.yasabe.com/en/mckinney-tx/d-1000000963797-kellys-art-shack.html",
 +
                        "name": "Kellys Art Shack",
 +
                        "address": "312 East Cloyd Street, McKinney, TX",
 +
                        "phone": "(214)-935-8891",
 +
                        "nap": {
 +
                            "name": 82,
 +
                            "address": 75,
 +
                            "phone": 100
 +
                        }
 
                     }
 
                     }
                 },
+
                 ],
                 "place_id": null,
+
                 "voice": [
                "is_places": "no",
+
                     {
                "nap": {
+
                        "device": "google",
                    "n": 100,
+
                        "name": "Google Assistant",
                     "a": 100,
+
                        "score": 100,
                    "p": 100,
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/google-home.png"
                    "t": 100
+
                    },
                }
+
                    {
            }
+
                        "device": "siri",
        },
+
                        "name": "Apple Siri",
        {
+
                        "score": 0,
            "client": 3201926,
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/Siri-logo.png"
            "partner": 7,
+
                    },
            "link": "",
+
                    {
            "claimed": "",
+
                        "device": "bixby",
            "hours": "false",
+
                        "name": "Samsung Bixby",
            "description": "null",
+
                        "score": 75,
            "categories": 0,
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/Bixby.png"
            "photos": 0,
+
                    },
            "website": "",
+
                    {
            "n": "",
+
                        "device": "alexa",
            "a": "",
+
                        "name": "Amazon Alexa",
            "p": "",
+
                        "score": 75,
            "id": 6945923,
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/amazon-alexa.png"
            "createdAt": "2017-12-13T22:08:39.000Z",
 
            "directory": "yahoo",
 
            "batch": "3201926-2017-12-13 22:08:39",
 
            "nScore": 0,
 
            "aScore": 0,
 
            "pScore": 0,
 
            "napScore": 0,
 
            "data": null
 
        },
 
        {
 
            "client": 3201926,
 
            "partner": 7,
 
            "link": "http://www.bing.com/local?lid=YN873x105183062",
 
            "claimed": "null",
 
            "hours": "null",
 
            "description": "null",
 
            "categories": 0,
 
            "photos": 6,
 
            "website": "http://ginaspizza.com/",
 
            "n": "Gina's Pizza",
 
            "a": "3142 W Balboa Blvd, Newport Beach, CA 92663",
 
            "p": "(949) 723-4462",
 
            "id": 6945924,
 
            "createdAt": "2017-12-13T22:08:39.000Z",
 
            "directory": "bing",
 
            "batch": "3201926-2017-12-13 22:08:39",
 
            "nScore": 100,
 
            "aScore": 100,
 
            "pScore": 100,
 
            "napScore": 100,
 
            "data": {
 
                "data": {
 
                    "present": 1,
 
                    "photos": 6,
 
                    "website": "http://ginaspizza.com/",
 
                    "reviews": 0,
 
                    "bingpage": "http://www.bing.com/local?lid=YN873x105183062",
 
                    "napscore": {
 
                        "nap": {
 
                            "n": 100,
 
                            "a": 100,
 
                            "p": 100
 
                        },
 
                        "score": 100
 
 
                     },
 
                     },
                     "score": 100
+
                     {
                },
+
                        "device": "cortana",
                "nap": [
+
                        "name": "Microsoft Cortana",
                    "Gina's Pizza",
+
                        "score": 75,
                    "3142 W Balboa Blvd, Newport Beach, CA 92663",
+
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/cortana-logo.png"
                    "(949) 723-4462",
+
                    }
                    "(949) 723-4462",
 
                    "(949) 723-4462",
 
                    "http://www.bing.com/local?lid=YN873x105183062"
 
 
                 ]
 
                 ]
 
             }
 
             }
         }
+
         },
    ],
+
        "products": []
    "total": 4
+
    }
 
}
 
}
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
  
 
== General Rollup Report ==
 
== General Rollup Report ==

Revision as of 13:08, 30 August 2023

Get Client Report

This endpoint will return a large object that contains overview and data properties. Within each of those properties is baseline data, and optionally monthly progress data if the location is active with products and services.

API Endpoint

http://p.lssdev.com/legacyclients/{client_id}/report

Example Request

GET /legacyclients/3201926/report HTTP/1.1
Host: p.lssdev.com
x-api-token: YOUR_API_KEY
Content-Type: application/json

Example Response

{
    "status": 200,
    "success": true,
    "error": null,
    "data": {
        "baseline_version": "jazz",
        "overview": {
            "baselineOverview": {
                "bingScore": 93,
                "directoriesScore": 31,
                "googleScore": 100,
                "localsScore": 96,
                "napScore": 39,
                "visibilityScore": 59,
                "yelpScore": 94,
                "voiceScore": 72,
                "localsScoreTotal": 287,
                "localsTotal": 3,
                "localsFound": 3,
                "localsNapScore": 96,
                "localsNapTotal": 287,
                "directoriesTotal": 42,
                "directoriesFound": 13,
                "directoriesNapScore": 35,
                "directoriesNapTotal": 1446,
                "voiceTotal": 5,
                "voiceFound": 4
            }
        },
        "data": {
            "baseline": {
                "locals": [
                    {
                        "product": "Bing local",
                        "directory": "bing",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/bing.png",
                        "found": true,
                        "score": 93,
                        "claimed": false,
                        "hours": true,
                        "date": "2021-01-06T21:24:48.000Z",
                        "categories": 0,
                        "reviews": 24,
                        "photos": 1,
                        "website": "https://www.kellysartshack.com/",
                        "link": "https://www.bing.com/maps?ss=ypid.YN873x2705681487866994578",
                        "phone": "(214) 935-8891",
                        "name": "Kelly's Art Shack",
                        "address": "312 Cloyd St, McKinney, TX 75069",
                        "nap": {
                            "name": 82,
                            "address": 96,
                            "phone": 100
                        }
                    },
                    {
                        "product": "Google",
                        "directory": "google",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/google.png",
                        "found": true,
                        "score": 100,
                        "claimed": true,
                        "hours": true,
                        "date": "2021-01-06T21:24:46.000Z",
                        "categories": 2,
                        "reviews": 5,
                        "photos": 1,
                        "website": "https://www.kellysartshack.com/",
                        "link": "https://maps.google.com/?cid=14732555693742418082",
                        "phone": "(214) 935-8891",
                        "name": "Kelly's Art Shack & Events",
                        "address": "312 E Cloyd St, McKinney, TX 75069, USA",
                        "nap": {
                            "name": 100,
                            "address": 100,
                            "phone": 100
                        }
                    },
                    {
                        "product": "Yelp",
                        "directory": "yelp",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/yelp.png",
                        "found": true,
                        "score": 94,
                        "claimed": true,
                        "hours": true,
                        "date": "2021-01-06T21:24:46.000Z",
                        "categories": 7,
                        "reviews": 2,
                        "photos": 1,
                        "website": "kellysartshack.com",
                        "link": "https://www.yelp.com/biz/kellys-art-shack-mckinney-2",
                        "phone": "(214) 935-8891",
                        "name": "Kelly's Art Shack",
                        "address": "312 E Cloyd St, McKinney, TX 75069",
                        "nap": {
                            "name": 82,
                            "address": 100,
                            "phone": 100
                        }
                    }
                ],
                "directories": [
                    {
                        "product": "Alignable",
                        "type": "directory",
                        "directory": "alignable",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/alignable.png",
                        "found": false,
                        "date": "2021-01-06T21:24:42.000Z"
                    },
                    {
                        "product": "Apple",
                        "type": "ftp",
                        "directory": "apple",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/apple.png",
                        "found": false,
                        "date": "2021-01-06T21:24:42.000Z"
                    },
                    {
                        "product": "Brownbook",
                        "directory": "brownbook",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/brownbook.png",
                        "found": true,
                        "score": 94,
                        "type": "directory",
                        "date": "2021-01-06T21:24:48.000Z",
                        "link": "https://brownbook.net/business/46687008/kellys-art-shack",
                        "name": "Kelly's Art Shack",
                        "address": "312 East Cloyd Street, McKinney, TX 75069",
                        "phone": "(214) 935-8891",
                        "nap": {
                            "name": 82,
                            "address": 100,
                            "phone": 100
                        }
                    },
                    {
                        "product": "Bubblelife",
                        "directory": "bubblelife",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/bubblelife.png",
                        "found": true,
                        "score": 94,
                        "type": "directory",
                        "date": "2021-01-06T21:24:48.000Z",
                        "link": "http://directory.bubblelife.com/listing/351732674/Kellys_Art_Shack",
                        "name": "Kelly's Art Shack",
                        "address": "312 East Cloyd Street, McKinney, TX, 75069",
                        "phone": "2149358891",
                        "nap": {
                            "name": 82,
                            "address": 100,
                            "phone": 100
                        }
                    },
                    {
                        "product": "Cataloxy",
                        "type": "directory",
                        "directory": "cataloxy",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/cataloxy.png",
                        "found": false,
                        "date": "2021-01-06T21:24:42.000Z"
                    },
                    {
                        "product": "Chamberofcommerce",
                        "directory": "chamberofcommerce",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/chamberofcommerce.png",
                        "found": true,
                        "score": 80,
                        "type": "directory",
                        "date": "2021-01-06T21:24:46.000Z",
                        "link": "https://www.chamberofcommerce.com/united-states/texas/mckinney/art-studios/2011504185-kellys-art-shack",
                        "name": "Kelly's Art ShackKelly's Art Shack",
                        "address": "312 East Cloyd Street Mckinney, TX 75069, 312 East Cloyd Street Mckinney, TX 75069",
                        "phone": "(214) 935-8891(214) 935-8891",
                        "nap": {
                            "name": 71,
                            "address": 68,
                            "phone": 100
                        }
                    },
                    {
                        "product": "Citysearch",
                        "type": "directory",
                        "directory": "citysearch",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/citysearch.png",
                        "found": false,
                        "date": "2021-01-06T21:24:43.000Z"
                    },
                    {
                        "product": "Citysquares",
                        "directory": "citysquares",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/citysquares.png",
                        "found": true,
                        "score": 94,
                        "type": "directory",
                        "date": "2021-01-06T21:24:46.000Z",
                        "link": "https://citysquares.com/b/kelly-s-art-shack-23512625",
                        "name": "Kelly's Art Shack",
                        "address": "312 East Cloyd Street, Mckinney, Texas, 75069",
                        "phone": "(214) 935-8891",
                        "nap": {
                            "name": 82,
                            "address": 100,
                            "phone": 100
                        }
                    },
                    {
                        "product": "Cylex",
                        "directory": "cylex",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/cylex.png",
                        "found": true,
                        "score": 94,
                        "type": "directory",
                        "date": "2021-01-06T21:24:43.000Z",
                        "link": "https://www.cylex.us.com/company/kelly%27s-art-shack-28002736.html",
                        "name": "Kelly's Art Shack",
                        "address": "312 East Cloyd Street, McKinney, TX 75069",
                        "phone": "2149358891",
                        "nap": {
                            "name": 82,
                            "address": 100,
                            "phone": 100
                        }
                    },
                    {
                        "product": "Dataprovider",
                        "type": "aggregator",
                        "directory": "dataprovider",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/dataprovider.png",
                        "found": false,
                        "date": "2021-01-06T21:24:41.000Z"
                    },
                    {
                        "product": "Dnb",
                        "type": "ftp",
                        "directory": "dnb",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/dnb.png",
                        "found": false,
                        "date": "2021-01-06T21:24:57.000Z"
                    },
                    {
                        "product": "Ebusinesspages",
                        "directory": "ebusinesspages",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/ebusinesspages.png",
                        "found": true,
                        "score": 94,
                        "type": "directory",
                        "date": "2021-01-06T21:24:57.000Z",
                        "link": "http://ebusinesspages.com/Kellys-Art-Shack_e4bp6.co",
                        "name": "Kelly's Art Shack",
                        "address": "312 East Cloyd Street, Mckinney, TX 75069",
                        "phone": "(214) 935-8891",
                        "nap": {
                            "name": 82,
                            "address": 100,
                            "phone": 100
                        }
                    },
                    {
                        "product": "Elocal",
                        "directory": "elocal",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/elocal.png",
                        "found": true,
                        "score": 94,
                        "type": "directory",
                        "date": "2021-01-06T21:24:51.000Z",
                        "link": "https://www.elocal.com/profile/kellya-s-art-shack-20346625/#!/category=319",
                        "name": "Kelly’s Art Shack",
                        "address": "312 East Cloyd Street, McKinney, TX, 75069",
                        "phone": "214-935-8891",
                        "nap": {
                            "name": 82,
                            "address": 100,
                            "phone": 100
                        }
                    },
                    {
                        "product": "Enrollbusiness",
                        "type": "directory",
                        "directory": "enrollbusiness",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/enrollbusiness.png",
                        "found": false,
                        "date": "2021-01-06T21:24:42.000Z"
                    },
                    {
                        "product": "Expressbusinessdirectory",
                        "type": "directory",
                        "directory": "expressbusinessdirectory",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/expressbusinessdirectory.png",
                        "found": false,
                        "date": "2021-01-06T21:24:51.000Z"
                    },
                    {
                        "product": "Ezlocal",
                        "type": "directory",
                        "directory": "ezlocal",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/ezlocal.png",
                        "found": false,
                        "date": "2021-01-06T21:24:46.000Z"
                    },
                    {
                        "product": "Factual",
                        "type": "directory",
                        "directory": "factual",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/factual.png",
                        "found": false,
                        "date": "2021-01-06T21:24:41.000Z"
                    },
                    {
                        "product": "Findopen",
                        "type": "directory",
                        "directory": "findopen",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/findopen.png",
                        "found": false,
                        "date": "2021-01-06T21:24:44.000Z"
                    },
                    {
                        "product": "Foursquare",
                        "directory": "foursquare",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/foursquare.png",
                        "found": true,
                        "score": 94,
                        "type": "aggregator",
                        "date": "2021-01-06T21:24:51.000Z",
                        "link": "https://foursquare.com/v/kellys-art-shack/5d553f77e8791a0008842e43",
                        "name": "Kelly’s Art Shack",
                        "address": "312 East Cloyd Street, McKinney, TX 75069, United States",
                        "phone": "(214) 935-8891",
                        "nap": {
                            "name": 82,
                            "address": 100,
                            "phone": 100
                        }
                    },
                    {
                        "product": "Here",
                        "type": "directory",
                        "directory": "here",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/here.png",
                        "found": false,
                        "date": "2021-01-06T21:24:42.000Z"
                    },
                    {
                        "product": "Hotfrog",
                        "type": "directory",
                        "directory": "hotfrog",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/hotfrog.png",
                        "found": false,
                        "date": "2021-01-06T21:24:42.000Z"
                    },
                    {
                        "product": "Hubbiz",
                        "type": "directory",
                        "directory": "hubbiz",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/hubbiz.png",
                        "found": false,
                        "date": "2021-01-06T21:24:43.000Z"
                    },
                    {
                        "product": "Ibegin",
                        "directory": "ibegin",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/ibegin.png",
                        "found": true,
                        "score": 94,
                        "type": "directory",
                        "date": "2021-01-06T21:24:44.000Z",
                        "link": "https://www.ibegin.com/directory/visit/17037905",
                        "name": "Kelly's Art Shack",
                        "address": "312 East Cloyd Street, Mckinney, Texas 75069",
                        "phone": "(214) 935-8891",
                        "nap": {
                            "name": 82,
                            "address": 100,
                            "phone": 100
                        }
                    },
                    {
                        "product": "Infobel",
                        "directory": "infobel",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/infobel.png",
                        "found": true,
                        "score": 59,
                        "type": "directory",
                        "date": "2021-01-06T21:24:43.000Z",
                        "link": "https://www.us-info.com/en/usa/kelly_s_art_shack/mckinney/USTX102328767-2149358891/businessdetails.aspx",
                        "name": "Kelly's Art Shack",
                        "address": "312 Cloyd St, 75069 McKinney, Texas",
                        "phone": "xIjh3b3+UefOQSaI5zdaQbBDIlsYdssNpJf2njXaJhY=",
                        "nap": {
                            "name": 82,
                            "address": 96,
                            "phone": 0
                        }
                    },
                    {
                        "product": "Infogroup",
                        "type": "aggregator",
                        "directory": "infogroup",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/infogroup.png",
                        "found": false,
                        "date": "2021-01-06T21:24:58.000Z"
                    },
                    {
                        "product": "Invalid",
                        "type": "directory",
                        "directory": "invalid",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/invalid.png",
                        "found": false,
                        "date": "2021-01-06T21:24:50.000Z"
                    },
                    {
                        "product": "Judysbook",
                        "directory": "judysbook",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/judysbook.png",
                        "found": true,
                        "score": 94,
                        "type": "directory",
                        "date": "2021-01-06T21:24:43.000Z",
                        "link": "https://www.judysbook.com/Kellys-Art-Shack-Art-Studios-mckinney-tx-r39944456.htm",
                        "name": "Kelly’s Art Shack",
                        "address": "312 East Cloyd Street, McKinney, TX 75069",
                        "phone": "2149358891",
                        "nap": {
                            "name": 82,
                            "address": 100,
                            "phone": 100
                        }
                    },
                    {
                        "product": "Localeze",
                        "directory": "localeze",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/localeze.png",
                        "found": true,
                        "score": 93,
                        "type": "aggregator",
                        "date": "2021-01-06T21:24:42.000Z",
                        "link": "https://www.neustarlocaleze.biz/directory/us/tx/mckinney/kellys-art-shack/906054103/",
                        "name": "Kelly's Art Shack",
                        "address": "312 Cloyd St, Mckinney, TX, 75069",
                        "phone": "(214) 935-8891",
                        "nap": {
                            "name": 82,
                            "address": 96,
                            "phone": 100
                        }
                    },
                    {
                        "product": "Localmint",
                        "type": "directory",
                        "directory": "localmint",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/localmint.png",
                        "found": false,
                        "date": "2021-01-06T21:24:44.000Z"
                    },
                    {
                        "product": "Localstack",
                        "directory": "localstack",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/localstack.png",
                        "found": true,
                        "score": 94,
                        "type": "directory",
                        "date": "2021-01-06T21:24:43.000Z",
                        "link": "https://localstack.com/biz/kellys-art-shack-mckinney-tx/3568539",
                        "name": "Kellys Art Shack",
                        "address": "312 East Cloyd Street, McKinney, TX 75069",
                        "phone": "(214) 935-8891",
                        "nap": {
                            "name": 82,
                            "address": 100,
                            "phone": 100
                        }
                    },
                    {
                        "product": "Merchantcircle",
                        "directory": "merchantcircle",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/merchantcircle.png",
                        "found": true,
                        "score": 94,
                        "type": "directory",
                        "date": "2021-01-06T21:24:50.000Z",
                        "link": "https://www.merchantcircle.com/kelly-s-art-shack-mckinney-tx",
                        "name": "Kelly's Art Shack",
                        "address": "312 East Cloyd Street, McKinney, TX, 75069",
                        "phone": "214-935-8891",
                        "nap": {
                            "name": 82,
                            "address": 100,
                            "phone": 100
                        }
                    },
                    {
                        "product": "N49",
                        "type": "directory",
                        "directory": "n49",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/n49.png",
                        "found": false,
                        "date": "2021-01-06T21:24:41.000Z"
                    },
                    {
                        "product": "Opendi",
                        "type": "directory",
                        "directory": "opendi",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/opendi.png",
                        "found": false,
                        "date": "2021-01-06T21:24:59.000Z"
                    },
                    {
                        "product": "Showmelocal",
                        "directory": "showmelocal",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/showmelocal.png",
                        "found": true,
                        "score": 94,
                        "type": "directory",
                        "date": "2021-01-06T21:24:50.000Z",
                        "link": "https://www.showmelocal.com/profile.aspx?bid=23095653",
                        "name": "Kelly's Art Shack",
                        "address": "312 East Cloyd Street, Mckinney, TX, 75069",
                        "phone": "(214)935-8891",
                        "nap": {
                            "name": 82,
                            "address": 100,
                            "phone": 100
                        }
                    },
                    {
                        "product": "Sitecards",
                        "type": "directory",
                        "directory": "sitecards",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/sitecards.png",
                        "found": false,
                        "date": "2021-01-06T21:24:50.000Z"
                    },
                    {
                        "product": "Superpages",
                        "type": "directory",
                        "directory": "superpages",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/superpages.png",
                        "found": false,
                        "date": "2021-01-06T21:24:48.000Z"
                    },
                    {
                        "product": "Tupalo",
                        "type": "directory",
                        "directory": "tupalo",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/tupalo.png",
                        "found": false,
                        "date": "2021-01-06T21:24:43.000Z"
                    },
                    {
                        "product": "Uscity",
                        "type": "directory",
                        "directory": "uscity",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/uscity.png",
                        "found": false,
                        "date": "2021-01-06T21:24:42.000Z"
                    },
                    {
                        "product": "Verizon411",
                        "type": "ftp",
                        "directory": "verizon411",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/verizon411.png",
                        "found": false,
                        "date": "2021-01-06T21:24:42.000Z"
                    },
                    {
                        "product": "Whereto",
                        "type": "directory",
                        "directory": "whereto",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/whereto.png",
                        "found": false,
                        "date": "2021-01-06T21:24:42.000Z"
                    },
                    {
                        "product": "Wherezit",
                        "type": "directory",
                        "directory": "wherezit",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/wherezit.png",
                        "found": false,
                        "date": "2021-01-06T21:24:41.000Z"
                    },
                    {
                        "product": "Yasabe",
                        "directory": "yasabe",
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/yasabe.png",
                        "found": true,
                        "score": 86,
                        "type": "directory",
                        "date": "2021-01-06T21:24:42.000Z",
                        "link": "https://www.dev.yasabe.com/en/mckinney-tx/d-1000000963797-kellys-art-shack.html",
                        "name": "Kellys Art Shack",
                        "address": "312 East Cloyd Street, McKinney, TX",
                        "phone": "(214)-935-8891",
                        "nap": {
                            "name": 82,
                            "address": 75,
                            "phone": 100
                        }
                    }
                ],
                "voice": [
                    {
                        "device": "google",
                        "name": "Google Assistant",
                        "score": 100,
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/google-home.png"
                    },
                    {
                        "device": "siri",
                        "name": "Apple Siri",
                        "score": 0,
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/Siri-logo.png"
                    },
                    {
                        "device": "bixby",
                        "name": "Samsung Bixby",
                        "score": 75,
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/Bixby.png"
                    },
                    {
                        "device": "alexa",
                        "name": "Amazon Alexa",
                        "score": 75,
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/amazon-alexa.png"
                    },
                    {
                        "device": "cortana",
                        "name": "Microsoft Cortana",
                        "score": 75,
                        "logo": "https://s3.amazonaws.com/p.assets.lssdev.com/directory_images/cortana-logo.png"
                    }
                ]
            }
        },
        "products": []
    }
}


General Rollup Report

This endpoint returned client rollup report averages, sum totals, and count.

API Endpoint

https://praxis.lssdev.com/api/v2/partner/{partner_id}/rollup/get-scores/

Example Request

GET /api/v2/partner/{partner_id}/rollup/get-scores/ HTTP/1.1
Host: praxis.lssdev.com
x-api-token: YOUR_API_KEY
Content-Type: application/json

Example Response

{
    "avgs": {
        "baseline_accurate": 5,
        "baseline_acuracy": 92,
        "baseline_directory": 20,
        "baseline_inaccurate": 30,
        "baseline_local": 41,
        "baseline_monitored": 35,
        "baseline_nap": 28,
        "baseline_presence": 14,
        "baseline_present": 5,
        "baseline_visibility": 28,
        "monthly_accuracy": 92,
        "monthly_accurate": 38,
        "monthly_bing": 59,
        "monthly_google": 49,
        "monthly_inaccurate": 3,
        "monthly_local": 49,
        "monthly_monitored": 42,
        "monthly_nap": 81,
        "monthly_presence": 95,
        "monthly_present": 40,
        "monthly_visivility": 81,
        "monthly_yelp": 40,
        "montlhy_directory": 98
    },
    "count": 211,
    "totals": {
        "baseline_accurate": 1004,
        "baseline_acuracy": 19349,
        "baseline_directory": 4232,
        "baseline_inaccurate": 6325,
        "baseline_local": 8744,
        "baseline_monitored": 7329,
        "baseline_nap": 5813,
        "baseline_presence": 3049,
        "baseline_present": 1140,
        "baseline_visibility": 5809,
        "monthly_accuracy": 19349,
        "monthly_accurate": 8113,
        "monthly_bing": 12349,
        "monthly_google": 10408,
        "monthly_inaccurate": 693,
        "monthly_local": 10414,
        "monthly_monitored": 8806,
        "monthly_nap": 17072,
        "monthly_presence": 20059,
        "monthly_present": 8404,
        "monthly_visivility": 17068,
        "monthly_yelp": 8494,
        "montlhy_directory": 20692
    }
}


Insight Data

This endpoint provides historical data for insights provided by Google My Business if enabled and activated. Dates can be filtered using where clauses in the as a JSON parameter like where={ recordedAt: { ">": "2020-03-01" } }. The same type of logic can be applied to multiple data points. When calling for multiple data points, it is important to included the ?limit and ?skip parameters to properly pagination results to improve performance. Insight data requires the partner key of the corresponding client/location.

API Endpoint

https://p.lssdev.com/legacyinsightdata?client={clientid}

Example Request

GET /legacyinsightdata?client={clientid} HTTP/1.1
Host: p.lssdev.com
x-api-token: YOUR_API_KEY
Content-Type: application/json

Example Response

{
    "status": 200,
    "success": true,
    "error": null,
    "data": [
        {
            "client": 123,
            "partner": 123456,
            "id": 3,
            "store_code": 0,
            "LA_score": 36,
            "brand_score": 0,
            "influence_score": 100,
            "listing_score": 80,
            "reputation_score": 0,
            "engagement_score": 0,
            "website_visits": 0,
            "phone_calls_clicks": 0,
            "phone_calls_tracked": 0,
            "directions": 0,
            "calls_directions": 0,
            "conv_rate": 0,
            "total_conversions": 0,
            "avg_sale_price": 0,
            "potential_revenue": 0,
            "investment": 0,
            "potential_roi": 0,
            "review_rating": 0,
            "photo_views": 28,
            "discovery_impressions": 6,
            "direct_impressions": 0,
            "chain_impressions": 0,
            "search_impressions_from_chain": 0,
            "listing_views": 6,
            "total_calls": 0,
            "first_time_caller": 0,
            "duration_seconds": 0,
            "active_location": 0,
            "cost_per_location": 0,
            "total_impressions": 6,
            "total_actions": 0,
            "cost_per_actions": 0,
            "createdAt": "2020-05-14T19:26:58.000Z",
            "recordedAt": "2020-05-07T12:00:00.000Z",
            "updatedAt": "2020-05-14T19:27:31.000Z"
        }
    ]
}


Voice Data

This endpoint provides information on voice enabled locations via the AdVoice product. All 3 query parameters are required. Unlike the other endpoints in our system, there are no conditionals that you can include in the request. The data returned is always an aggregate. You are free to set any range you wish and the endpoint will provide the totals for you.

API Endpoint

https://p.lssdev.com/legacyvoicedata?client={clientid}&startDate={startDate}&endDate={endDate}

Example Request

GET /legacyvoicedata?client={clientid}&startDate=2020-01-01&endDate=2020-07-01 HTTP/1.1
Host: p.lssdev.com
x-api-token: YOUR_API_KEY
Content-Type: application/json

Example Response

{
    "status": 200,
    "success": true,
    "error": null,
    "data": {
        "users_total": 115,
        "sessions_total": 210,
        "requests_total": 726,
        "users": [
            {
                "count": 41,
                "assistant": "GoogleAssistant"
            },
            {
                "count": 74,
                "assistant": "Alexa"
            }
        ],
        "requests": [
            {
                "count": 41,
                "assistant": "GoogleAssistant"
            },
            {
                "count": 74,
                "assistant": "Alexa"
            }
        ]
    }
}