Skip to content

Instantly share code, notes, and snippets.

@moduscreate
Last active October 21, 2016 15:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moduscreate/396dbbb600b3e743d323318df6cba082 to your computer and use it in GitHub Desktop.
Save moduscreate/396dbbb600b3e743d323318df6cba082 to your computer and use it in GitHub Desktop.
GORUCK data dump proposal
{
"timestamp": 1476970157974, // Let's use this to determine changes.
// Sourced from http://www.goruck.com/event-landing
"eventLocations" : {
"eventTypes": [
{
"eventTypeId": 1004,
"eventTypeName": "Ascent",
"eventCategoryId": 2,
"eventCategoryName": "Expeditions",
"eventMapImageName": "expeditions-01.png"
},
{
"eventTypeId": 1005,
"eventTypeName": "Beached",
"eventCategoryId": 2,
"eventCategoryName": "Expeditions",
"eventMapImageName": "expeditions-01.png"
}
],
"states": [
{
"stateId": 3,
"stateName": "Alabama"
},
{
"stateId": 4,
"stateName": "Alaska"
}
],
"featuredTypes": [
{
"featuredTypeId": 1,
"featuredTypeName": "Fourth of July",
"featuredTypeDescriptionHTML": "Happy Birthday America! The first description of how Independence Day was to \r\nbe celebrated was with \"pomp and parade, with shows, games, sports, guns, bells, \r\nbonfires, and illuminations\". Celebrate the modern Independence Day with fellow \r\npatriots and some Good Livin’ GORUCK Style. Cadre will give you a history lesson of \r\nindependence you will not soon forget. Then, beers and fireworks and the singing of \r\nHappy Birthday are in order.",
"sortOrder": 10,
"dayOfYear": 185
},
{
"featuredTypeId": 2,
"featuredTypeName": "9/11",
"featuredTypeDescriptionHTML": "The terrorist attacks of September 11, 2001, changed America and the lives of \r\nAmericans forever. Our Cadre conduct 9/11 Commemorative events around the \r\ncountry to honor and remember those we lost: the courageous First Responders \r\nand the soldiers who fought in the Global War on Terrorism. Cadre and all willing \r\nparticipants will share their 9/11 story: where were you, how did it change your \r\nlife? Never Forget.",
"sortOrder": 10,
"dayOfYear": 254
}
],
"locations": [
{
"locationId": 1224,
"locationName": "Pittsburgh",
"latitude": 40.4313684,
"longitude": -79.9805005,
"stateId": 48,
"countryId": 1,
"locationTierId": 4,
"events": [
{
"eventId": 10764,
"eventName": "HTL",
"eventTypeId": 1002,
"featuredTypeId": null,
"eventCategoryId": 1,
"startUTCDt": "2016-10-21T02:00:00.000Z",
"eventLocalDate": "2016-10-20T22:00:00.000Z",
"mozuProductCode": "E010764",
"patchImageName": null
}
]
}
],
"countries": [
{
"countryId": 1,
"countryName": "United States"
},
{
"countryId": 2,
"countryName": "Canada"
},
{
"countryId": 3,
"countryName": "Argentina"
}
]
},
// Cadre is sourced from https://www.goruck.com/cadre
"cadre": [
{
"CadreId": 1036,
"ImageURL": "https://www.goruck.com/cms/files/cadre-aaron-1113.jpg",
"Alias": "Aaron",
"Title": null,
"CadreBranchName": "Army Special Forces",
"Deployments": "Afghanistan, Philippines, Asia",
"FacebookURL": "https://www.facebook.com/cadre.aaron?fref=ts",
"Bio": "Nice velvet slippers, GQ. Aaron teaches future freedom fighting Green Berets... when not practicing how to turn left."
},
{
"CadreId": 1202,
"ImageURL": "https://www.goruck.com/cms/files/cadre-aaron-jammer-2279.jpg",
"Alias": "Aaron \"Jammer\"",
"Title": null,
"CadreBranchName": "Force Recon Marine",
"Deployments": "Iraq, Africa, Asia, Pacific Rim",
"FacebookURL": null,
"Bio": "Aaron grew up in small town Kansas but now resides in Southern Arizona. When he’s not totaling his motorcycles or RZR, he enjoys chasing various species of big game through the mountains. He loves steak, Guinness, and lunges."
},
],
// Cadre is sourced from https://www.goruck.com/cadre
"trainingpartnermap": {
"locations": [
{
"locationId": 1002,
"locationName": "Albany",
"latitude": 42.6681398,
"longitude": -73.8113997,
"stateId": 40,
"countryId": 1,
"locationTierId": 5,
"trainingPartners": [
{
"trainingPartnerId": 1538,
"trainingPartnerName": "CrossFit Round Lake",
"linkURL": "http://crossfitroundlake.com",
"description": "Prepare to GO RUCKING all year round at the Capital District's largest functional fitness gym located on Route 9 between Clifton Park and Malta. Join people who use CrossFit as their preferred choice of training for running, obstacle course racing, and rucking. With 7,000 sq. ft of indoor space, as well as a network of outdoor trails and resources, we've got what you need to prepare for your next GORUCK Challenge!",
"ownerName": "Melissa Manzer",
"address": "2101 U.S. 9 Round Lake",
"address2": null,
"city": "Round Lake",
"stateId": 40,
"countryId": 1,
"phoneNumber": "607.624.5308",
"emailAddress": "team@crossfitroundlake.com",
"logoImageName": "CF_Round_Lake_Logo.jpg",
"logoImageAspectRatio": 1.5152
}
]
}
]
},
// These come from me scraping each page individually.
"events" : [
{
"mozuProductCode" : "E010203",
"properties": {
// "tenant~product-upsell": "GEAR-000574",
"mzint_avalara~taxcode": "GORUCK Events",
"Tenant~featured-type": "9/11",
// "tenant~insurance-fee-required": "",
"tenant~event-cross-sell-json": {
// Please keep this in. I plan on using this in the future.
"CrossSellEvents": [
{
"EventId": 10204,
"EventFullName": "Light Challenge: New York, NY 09/11/2016",
"EventTypeId": 1000,
"ProductCode": "E010204",
"MozuURL": "http://www.goruck.com/light-challenge-new-york-ny-09-11-2016-10204/p/E010204",
"Price": 85,
"PriceFormatted": "$85",
"StartDt": "2016-09-11T18:00:00",
"UTCOffsetMinutes": -240,
"StartDtLocal": "2016-09-11T14:00:00"
},
{
"EventId": 10694,
"EventFullName": "Tough Challenge: New York, NY 09/11/2016",
"EventTypeId": 1001,
"ProductCode": "E010694",
"MozuURL": "http://www.goruck.com/tough-challenge-new-york-ny-09-11-2016-10694/p/E010694",
"Price": 160,
"PriceFormatted": "$160",
"StartDt": "2016-09-11T05:00:00",
"UTCOffsetMinutes": -240,
"StartDtLocal": "2016-09-11T01:00:00"
}
]
},
"tenant~gplus-url": "https://plus.google.com/u/0/b/107886514797510492384/events/c9q6l6l1j4ph2jse65s4m3pvl8k",
"tenant~featured-type-description-html": "The terrorist attacks of September 11, 2001, changed America and the lives of \r\nAmericans forever. Our Cadre conduct 9/11 Commemorative events around the \r\ncountry to honor and remember those we lost: the courageous First Responders \r\nand the soldiers who fought in the Global War on Terrorism. Cadre and all willing \r\nparticipants will share their 9/11 story: where were you, how did it change your \r\nlife? Never Forget.",
"tenant~featured-type-page-url": "http://www.goruck.com/9-11-challenges/c/89",
"tenant~add-to-cart-redirect-url": "/c/47",
// "tenant~is-bundle-marker": "",
// "Tenant~waiver-name": 1000,
"Tenant~price-tier-json": {
"PriceTiers": [
{
"DateFormatted": "Before 6/13/2016",
"PriceFormatted": "$150"
},
{
"DateFormatted": "Before 8/12/2016",
"PriceFormatted": "$160",
"IsActive": true
},
{
"DateFormatted": "8/12/2016 and after",
"PriceFormatted": "$170"
}
]
},
"Tenant~event-category": "Good Livin'",
"Tenant~Event_Type": "Tough Challenge",
"Tenant~location-links-json": {
"LocationLinks": [
{
"Name": "CrossFit Valkyrie",
"URL": "http://www.CrossFitValkyrie.com",
"Description": "Irvington, NY"
},
{
"Name": "Outer Bridge CrossFit",
"URL": "http://www.outerbridgecrossfit.com",
"Description": "Staten Island, NY"
},
{
"Name": "Vita Athletics",
"URL": "http://vitaathletics.com",
"Description": "Cedar Grove, NJ"
},
{
"Name": "Title Boxing Club",
"URL": "http://hackensack.titleboxingclub.com",
"Description": "Hackensack, NJ"
}
]
},
"Tenant~location-name": "New York, New York",
"Tenant~start-local-date-time": "Saturday, September 10, 2016 10:00 PM",
"Tenant~event-type-description-html": "Additional Information· Get special discounts on gear when you sign up for this event· Complete this event and earn the GORUCK Tough patch, which is not for sale· Your start point will be posted to this page the week of the eventTransfers Refunds· Transfers to the same type of event are allowed if completed prior to seven days before the start of the event· Refunds are not allowed for this eventGot Questions?· Visit our searchable FAQ for answers· Contact us if you still need help",
"Tenant~cadre-json": {
"Cadre": [
{
"CadreId": 1050,
"ImageURL": "https://www.goruck.com/cms/files/cadre-brad-1178.jpg",
"Alias": "Brad",
"Title": null,
"CadreBranchName": "Army Special Forces",
"Deployments": "Iraq, Middle East",
"FacebookURL": "https://www.facebook.com/brad.rucker.148?fref=ts",
"Bio": "Brad grew up in rural Missouri with nothing much to do besides drink beer and shoot firearms (never at the same time of course). He says being a Special Forces Weapons Sergeant was pretty much just like growing up. These days he still enjoys beer and guns but he also likes to mix it up with bringing his own special dose of Good Livin' to GORUCK Events."
},
{
"CadreId": 1051,
"ImageURL": "https://www.goruck.com/cms/files/cadre-daniel-2224.jpg",
"Alias": "Daniel",
"Title": null,
"CadreBranchName": "Army Special Forces",
"Deployments": "Iraq, Afghanistan, Philippines, Asia, South America",
"FacebookURL": "https://www.facebook.com/daniel.stokes.3910829?fref=ts",
"Bio": "An Army brat, Danny grew up moving all around America and the world. He has over 23 years time in service. He loves to play soccer, climb mountains, and work out. He rides a bike every day to work, and has ridden across the greatest country in the history of the planet, the USofA. He is the father of four amazing and rowdy kids, so GORUCK participants are no match for him. He will one day disappear into the breathtaking beauty of a Thai sunset, or slide off the grid into a wild-west locale like Chiapas, Mexico.\""
},
{
"CadreId": 1057,
"ImageURL": "https://www.goruck.com/cms/files/cadre-mocha-mike-1172.jpg",
"Alias": "Mocha Mike",
"Title": "Operations Sergeant",
"CadreBranchName": "Army Special Forces",
"Deployments": "Iraq, Middle East, Asia",
"FacebookURL": "https://www.facebook.com/michael.vaulx",
"Bio": "Ranger Bat, endurance events, and the life of a Green Beret made Mocha the million dollar man. As in, that's how much hardware he has in him. He loves his family, and the men and women who serve and have served this country, to include SEALs like Geoff who photo-bomb his Cadre pic. As usual, effing SEALs."
}
]
},
"Tenant~Facebook_URL": "https://www.facebook.com/events/1582606135351463/",
"Tenant~Packing_List_URL": "http://www.goruck.com/c/25#packing",
"Tenant~GovX_Eligible": true,
"Tenant~firearms-available": ""
},
"mainImage": "78caf624-32cc-4ed2-b06b-f00a111b53b6",
"url": "/tough-challenge-new-york-ny-09-10-2016-10203/p/E010203",
"content": {
"productImages": [
{
"src": "//cdn-tp1.mozu.com/7979-10317/cms/10317/files/78caf624-32cc-4ed2-b06b-f00a111b53b6",
"imageLabel": null,
"altText": null,
"imageUrl": "//cdn-tp1.mozu.com/7979-10317/cms/10317/files/78caf624-32cc-4ed2-b06b-f00a111b53b6",
"cmsId": "78caf624-32cc-4ed2-b06b-f00a111b53b6",
"videoUrl": null,
"mediaType": null,
"sequence": 1
}
],
// I inspect either of these two to see if one is missing. If one is, i use the other.
"productName": "Tough Challenge: New York, NY 09/10/2016",
"metaTagTitle": "Tough Challenge: New York, NY 09/10/2016",
"metaTagDescription": "Register for the Tough Challenge event in New York, NY on 09/10/2016",
// "seoFriendlyUrl": "tough-challenge-new-york-ny-09-10-2016-10203"
},
"price": {
"price": 160,
"priceType": "List",
"catalogListPrice": 160
},
"isActive": true
}
],
"productCategories" : [
// I generated this by hand because I could not
// find a directory of categories easily.
{
"text": "Our Rucksacks",
"imgSrc": "http://www.goruck.com/cms/files/Monster_OG_Rucks_Cat_3-1.jpg",
"dataSrcUrl": "http://www.goruck.com/c/102",
// Products is an array of objects that represent EACH product, downloaded from scraping the product page itself.
"products" : [
{
"mainImage": {
"src": "//cdn-tp1.mozu.com/7979-10317/cms/10317/files/bf78d9f2-15e0-4ae7-b771-25f69c56aef9",
"imageLabel": null,
"altText": "",
"imageUrl": "//cdn-tp1.mozu.com/7979-10317/cms/10317/files/bf78d9f2-15e0-4ae7-b771-25f69c56aef9",
"cmsId": "bf78d9f2-15e0-4ae7-b771-25f69c56aef9",
"videoUrl": null,
"mediaType": null,
"sequence": 1
},
"url": "/carabiner-goruck-black-/p/GEAR-000087",
"hasPriceRange": false,
"content": {
"productImages": [
"//cdn-tp1.mozu.com/7979-10317/cms/10317/files/bf78d9f2-15e0-4ae7-b771-25f69c56aef9",
"//cdn-tp1.mozu.com/7979-10317/cms/10317/files/5759ff01-c8de-46d8-a54c-00035632eba8",
"//cdn-tp1.mozu.com/7979-10317/cms/10317/files/24b087a8-c98b-4945-afaa-288270f0683a",
"//cdn-tp1.mozu.com/7979-10317/cms/10317/files/e3157ef8-042f-4814-a588-d1d909a1d44d",
"//cdn-tp1.mozu.com/7979-10317/cms/10317/files/9b78ac3c-1a9a-443a-b6e5-fe1da158161d",
"//cdn-tp1.mozu.com/7979-10317/cms/10317/files/340b4db6-ec7f-4bf0-aacd-8ee92d227a60",
"//cdn-tp1.mozu.com/7979-10317/cms/10317/files/a297ae48-ce6c-4278-931c-204c29128d85",
"//cdn-tp1.mozu.com/7979-10317/cms/10317/files/78355de7-e6d8-4a1d-9093-7fe5295bfb04"
],
"productName": "Carabiner - GORUCK (Black)",
"productFullDescription": "<p>Attach to the MOLLE webbing on your ruck so you can fast grab gloves, a hat, even keys. Plus it’s Rule #1.</p>\n\n<iframe src=\"//fast.wistia.net/embed/iframe/ymclwcgyym?videoFoam=true\" allowtransparency=\"true\" scrolling=\"no\" class=\"wistia_embed\" name=\"wistia_embed\" allowfullscreen=\"\" mozallowfullscreen=\"\" webkitallowfullscreen=\"\" oallowfullscreen=\"\" msallowfullscreen=\"\" frameborder=\"0\" height=\"360\" width=\"640\"></iframe>",
"productShortDescription": "<div><img src=\"http://www.goruck.com/cms/files/made_in_usa_icon_3.png\" alt=\"Made in USA\" style=\"width: 25%;max-width:75px;margin:10px;\"></div>",
"metaTagTitle": "Carabiner - GORUCK (Black)",
"metaTagDescription": "Attach to the MOLLE webbing on your ruck so you can fast grab gloves, a hat, even keys. Plus it’s Rule #1."
},
"price": {
"price": 12,
"priceType": "List",
"catalogListPrice": 12
},
"productCode": "GEAR-000087",
"bundledProducts": [],
"isActive": true,
"publishState": "Live",
"availableShippingDiscounts": [],
"mfgPartNumbers": [],
"measurements": {
"packageHeight": {
"unit": "in",
"value": 1
},
"packageWidth": {
"unit": "in",
"value": 9
},
"packageLength": {
"unit": "in",
"value": 12
},
"packageWeight": {
"unit": "lbs",
"value": 0.15
}
},
"properties": [
{
"name": "Availability",
"value": "3-5days",
"stringValue": "Usually Ships in 3 to 5 Days"
},
{
"name": "Product Cross-Sells",
"value": "GEAR-000069",
"stringValue": "GEAR-000069"
},
{
"name": "Product Upsells",
"value": "GEAR-000056",
"stringValue": "GEAR-000056"
},
{
"name": "Color",
"value": "Black",
"stringValue": "Black"
},
{
"name": "Materials",
"value": "7000-series Aluminum",
"stringValue": "7000-series Aluminum"
},
{
"name": "Manufacturer",
"value": "Omega Pacific",
"stringValue": "Omega Pacific"
},
{
"name": "Made in USA",
"value": true
},
{
"name": "Scars Lifetime Guarantee",
"value": false
}
],
"options": []
},
]
},
{
"text": "GORUCK Built Apparel",
"imgSrc": "http://cdn-tp1.mozu.com/7979-m1/cms/files/1863ddfb-0fc7-46b3-bd94-2c28877e2892",
"dataSrcUrl": "http://www.goruck.com/c/111",
"products" : [ /* an array of product objects like above */ ]
},
{
"text": "Ruck Plates",
"imgSrc": "http://cdn-tp1.mozu.com/7979-10317/cms/10317/files/c0a861c2-1924-4ab1-a3f2-7bca9e165193",
"dataSrcUrl": "http://www.goruck.com/c/74",
"products" : [ /* an array of product objects like above */ ]
},
{
"text": "Training Sandbags",
"imgSrc": "http://www.goruck.com/cms/files/Proving-GORUCK-Tough-Sandbags_Built-in-the-USA_24.jpg",
"dataSrcUrl": "http://www.goruck.com/c/101",
"products" : [ /* an array of product objects like above */ ]
},
{
"text": "Kit Bags",
"imgSrc": "http://cdn-tp1.mozu.com/7979-10317/cms/10317/files/42697d12-b746-40b5-a318-949139eebc38",
"dataSrcUrl": "http://www.goruck.com/c/110",
"products" : [ /* an array of product objects like above */ ]
},
{
"text": "Field Pockets",
"imgSrc": "http://cdn-tp1.mozu.com/7979-10317/cms/10317/files/356f7ba6-48a9-44d8-8230-c81edd010132",
"dataSrcUrl": "http://www.goruck.com/c/109",
"products" : [ /* an array of product objects like above */ ]
},
{
"text": "Other GORUCK Gear",
"imgSrc": "http://cdn-tp1.mozu.com/7979-10317/cms/10317/files/530cfc14-25f1-4cf0-aa57-ee011a83318a",
"dataSrcUrl": "http://www.goruck.com/c/97",
"products" : [ /* an array of product objects like above */ ]
},
{
"text": "3rd Party Gear",
"imgSrc": "http://cdn-tp1.mozu.com/7979-10317/cms/10317/files/6a05b747-672a-48df-b9a5-61d00abd1cb6",
"dataSrcUrl": "http://www.goruck.com/c/98",
"products" : [ /* an array of product objects like above */ ]
},
{
"text": "T-shirts &amp; Other Apparel",
"imgSrc": "http://cdn-tp1.mozu.com/7979-10317/cms/10317/files/e97b5545-c9f5-4e5c-a9ba-eb1d64e50cc3",
"dataSrcUrl": "http://www.goruck.com/c/100",
"products" : [ /* an array of product objects like above */ ]
},
{
"text": "Brand New Gear",
"imgSrc": "http://cdn-tp1.mozu.com/7979-10317/cms/10317/files/d2562cf6-ebe2-46fa-a317-8f97260192eb",
"dataSrcUrl": "http://www.goruck.com/c/108",
"products" : [ /* an array of product objects like above */ ]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment