Skip to content

Instantly share code, notes, and snippets.

@d0n601
Created April 13, 2018 19:35
Show Gist options
  • Save d0n601/df4d18400d561bf196bf0b6a72c961d4 to your computer and use it in GitHub Desktop.
Save d0n601/df4d18400d561bf196bf0b6a72c961d4 to your computer and use it in GitHub Desktop.
Example Response for Leafly Listing
{
"_id" : ObjectId("5ad0eff286e6f08857516dc5"),
"Zip" : "92626",
"FinderSponsor" : true,
"MapMarkerLevel" : 3,
"ActiveProductCodes" : [
"facebook",
"finder-sponsor",
"listing2",
"logo",
"mapicon2",
"photo-menu",
"updates",
"review-response",
"specials",
"twitter",
"photos-unlimited",
"custommapicon"
],
"CreditCards" : false,
"CheapestOunce" : 0,
"CoverPhoto" : 0,
"FollowerCount" : 0,
"SearchArea" : {
"type" : "circle",
"radius" : "20mi",
"coordinates" : [
-117.8551644,
33.7085205
]
},
"Schedule" : {
"OpenPeriods" : [
{
"close" : 1320,
"open" : 480
},
{
"close" : 2760,
"open" : 1920
},
{
"close" : 4200,
"open" : 3360
},
{
"close" : 5640,
"open" : 4800
},
{
"close" : 7080,
"open" : 6240
},
{
"close" : 8520,
"open" : 7680
},
{
"close" : 9960,
"open" : 9120
}
],
"Weekly" : {
"Monday" : {
"Close" : "1901-01-02T22:00:00Z",
"Open" : "1901-01-01T08:00:00Z",
"IsOpen" : true
},
"Tuesday" : {
"Close" : "1901-01-02T22:00:00Z",
"Open" : "1901-01-01T08:00:00Z",
"IsOpen" : true
},
"Friday" : {
"Close" : "1901-01-02T22:00:00Z",
"Open" : "1901-01-01T08:00:00Z",
"IsOpen" : true
},
"Wednesday" : {
"Close" : "1901-01-02T22:00:00Z",
"Open" : "1901-01-01T08:00:00Z",
"IsOpen" : true
},
"Thursday" : {
"Close" : "1901-01-02T22:00:00Z",
"Open" : "1901-01-01T08:00:00Z",
"IsOpen" : true
},
"Sunday" : {
"Close" : "1901-01-02T22:00:00Z",
"Open" : "1901-01-01T08:00:00Z",
"IsOpen" : true
},
"Saturday" : {
"Close" : "1901-01-02T22:00:00Z",
"Open" : "1901-01-01T08:00:00Z",
"IsOpen" : true
}
}
},
"HasEdibles" : true,
"CheapestGram" : 4,
"PremiumRank" : null,
"HasSpecials" : true,
"Approved" : true,
"CheapestEighth" : 10,
"LogoEnabled" : true,
"BrandIds" : [
9524,
8207,
8361,
2914
],
"Longitude" : -117.8551644,
"Rating" : 4.931034482758621,
"AverageEighth" : 21.8,
"LastMenuUpdate" : "2018-04-13T02:44:14.676882+00:00",
"UFCW" : false,
"BrandButtonUrl" : null,
"ProductIds" : [ ],
"SponsoredStrains" : [ ],
"CheapestQuarter" : 0,
"Label" : "Santa Ana, CA",
"State" : "CA",
"Location" : {
"Lat" : 33.70852,
"Lon" : -117.855164
},
"Latitude" : 33.7085205,
"StrainIds" : [
230992,
5636,
153775,
192,
304,
767,
58160,
17539,
190865,
297,
9,
1234,
300527,
94639,
164943,
13,
908,
211055,
75,
167471,
10703,
177423,
32,
8633,
239761,
47,
223344,
66673,
173551,
99663,
8509,
4500,
303,
252497,
6280,
744,
60,
58162,
500580,
12,
108495,
126096,
5264,
116271,
2773,
2607,
614,
83439,
925,
424,
233839
],
"PreOrderEnabled" : false,
"BrandButton" : false,
"HasClones" : false,
"Hours" : null,
"TimeZoneId" : "Pacific Standard Time",
"HasMenu" : true,
"MobileBannerHighRes" : null,
"Strains" : null,
"CoverPhotoUrl" : "https://ddd33q3967xhi.cloudfront.net/5c8NiXoXY6QDVmvRMF-FlHut1UE=/fit-in/280x0/https%3a%2f%2fs3.amazonaws.com%2fleafly-s3%2flogos%2fPIIv4nFTQ8GF8PrBjqUY_20171016_175845%25201.jpg",
"CumulativeRating" : 1287,
"VeteranDiscount" : true,
"Price3" : false,
"Price2" : false,
"Price1" : true,
"ComingSoonDate" : null,
"MobileBanner" : null,
"ExtraMarqueeSlots" : 0,
"Sauce" : 0,
"Address1" : "730 E Dyer Road",
"Address2" : null,
"Phone" : "7144776892",
"Tier" : 200,
"CanadaLP" : false,
"AzLicensed" : false,
"Marquee" : false,
"OpenVape" : false,
"ADA" : false,
"Retail" : true,
"ActiveSpecials" : [
{
"EndDateString" : null,
"StartDate" : null,
"EndDate" : null,
"Title" : "FTP DEALS",
"StrainId" : 0,
"ImageUrl" : null,
"StoreId" : 300087,
"FinePrint" : "**DEALS ARE NOT COMBINABLE, TRADEABLE, OR TRANSFERRABLE.**\n**ONLY ONE FTP DEAL PER PATIENT.**\n**DEALS ONLY APPLICABLE TO MEDICAL PATIENTS**",
"OrderNumber" : 0,
"Details" : "~ *TOP SHELF* @ $10 1/8 (3.5g)\n\n~ *ELITE* @ $10 A GRAM\n\n~ *PRIVATE RESERVE* @ $8 A GRAM \n\n++ TOKEN FOR ARCADE GAME ++",
"Active" : true,
"StartDateString" : null,
"Id" : 2001081
},
{
"EndDateString" : null,
"StartDate" : null,
"EndDate" : null,
"Title" : "FTP - FIRST TIME PLAY!",
"StrainId" : 0,
"ImageUrl" : "https://s3-us-west-2.amazonaws.com/leafly-images/deals/preset/edibles2.png",
"StoreId" : 300087,
"FinePrint" : "** DEALS APPLICABLE TO ALL PATIENTS **",
"OrderNumber" : 1,
"Details" : "Enjoy a penny for play on our exciting in-house game machines with GREAT prizes!!",
"Active" : true,
"StartDateString" : null,
"Id" : 2013650
},
{
"EndDateString" : null,
"StartDate" : null,
"EndDate" : null,
"Title" : "7 Grams for $40",
"StrainId" : 0,
"ImageUrl" : null,
"StoreId" : 300087,
"FinePrint" : "Plus TAX",
"OrderNumber" : 2,
"Details" : "Take home 7 grams of our Top Shelf or Private Reserve Popcorn",
"Active" : true,
"StartDateString" : null,
"Id" : 2015922
},
{
"EndDateString" : "03/16/2018",
"StartDate" : "2018-03-15T07:00:00+00:00",
"EndDate" : "2018-03-16T06:59:59+00:00",
"Title" : "FOOD DRIVE",
"StrainId" : 0,
"ImageUrl" : null,
"StoreId" : 300087,
"FinePrint" : "Recreational patients subject to $1 fee",
"OrderNumber" : 3,
"Details" : "Bring in 2 cans of non perishable goods or a jar of Peanut Butter and take a complimentary Top Shelf Joint",
"Active" : false,
"StartDateString" : "03/15/2018",
"Id" : 2015924
}
],
"LabTested" : false,
"TagLine" : "5 GRAM 1/8 ALL DAY EVERY ",
"Inventory" : {
"Flower" : [
17539,
190865,
297,
9,
1234,
300527,
94639,
164943,
13,
908,
211055,
75,
167471,
10703,
177423,
32,
8633,
239761,
47,
223344,
66673,
173551,
99663,
8509,
4500,
303,
252497,
6280,
744,
60,
58162,
211055,
75,
500580,
12,
108495,
167471,
126096,
5264,
6280,
614,
83439,
925,
424,
233839
],
"Concentrate" : [
230992,
5636,
153775,
192,
192,
304,
767,
153775,
58160,
116271,
2773,
2607
]
},
"City" : "Santa Ana",
"ComingSoon" : false,
"BoostBonus" : 0,
"LogoId" : 0,
"CityLowercase" : "santa ana",
"IconPath2x" : "https://ddd33q3967xhi.cloudfront.net/kvizhhZIneEGyO2VPbN2cDCS3vY=/https%3a%2f%2fleafly-s3.s3.amazonaws.com%2fleaflystatic%2ffiles%2fstrainstationstorefrontmarker_18f8.png",
"NumReviews" : 261,
"Delivery" : false,
"CheapestHalf" : 0,
"FeaturedImage" : null,
"InventoryLevel" : 2,
"Name" : "Strain Station - Santa Ana",
"Country" : "United States",
"Medical" : true,
"Atm" : true,
"FinderLogo" : "https://ddd33q3967xhi.cloudfront.net/rTSA2DGuJl4OZWxhrRoW6j9KRNw=/fit-in/64x64/filters:fill(transparent%2ctrue):format(png)/https%3a%2f%2fs3.amazonaws.com%2fleafly-s3%2flogos%2fUq1TZxWR96gMXxN4ykOA_strain%2520logo.jpg",
"Flags" : [
"Medical",
"Recreational",
"Storefront"
],
"Storefront" : true,
"UrlName" : "strain-station-santa-ana-ca",
"HasConcentrates" : true,
"CustomScoreBoost" : 0,
"Licensed" : false,
"IconPath" : "https://ddd33q3967xhi.cloudfront.net/n31LLppx6wrGgEiAi1DccNjstjA=/https%3a%2f%2fleafly-s3.s3.amazonaws.com%2fleaflystatic%2ffiles%2fstrainstationstorefrontmarker_6504.png",
"Id" : 300087
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment