NEWSLETTER:

Make working out

more rewarding!

  Join now and get

a FREE ASSESSMENT

fitness test

& body analysis

FITNESS DONE RIGHT

Telephone:       954.605.6969

E-mail: info@brucezone.com

 

3400 Davie Blvd

Davie, Florida  33312

Telephone:       954.605.6969

E-mail: info@brucezone.com

 

3400 Davie Blvd

Davie, Florida  33312

Telephone:       954.605.6969

E-mail: info@brucezone.com

 

3400 Davie Blvd

Davie, Florida  33312

3400 Davie Blvd

Davie, Florida  33312

3400 Davie Blvd

Davie, Florida  33312

Telephone:       954.605.6969

E-mail: info@brucezone.com

 

3400 Davie Blvd

Davie, Florida  33312

SUBSCRIBE CLEAR
$apikey, "date" => $date, "location" => $location, "program" => $program, "type" => $isJSON ? "json" : "xml", "encoding" => $encoding ); $ch = curl_init(); $url = sprintf("%s?%s", "http://app.wodify.com/API/WODs_v1.aspx", http_build_query($data)); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET'); $result = curl_exec($ch); return $result; } $json = true; //JSON $response = GetWODs("np3g23grc9j81jlamjqmu1yo0", "2012-11-20", "Main", "Crossfit", $json); $jsonResponse = json_decode($response, true); $jsonWod = $jsonResponse["RecordList"]["APIWod"]["WodHeader"]; ?> JSON Sample Response: { "RecordList": { "APIWod": { "WodHeader": { "Id":"17286", "Date":"2012-11-20", "ShouldPublish":"False", "Name":"Lactic tuesday", "OwnershipLevelId":"3", "UserId":"0", "ProgramId":"5", "ResultsPosted":"False", "HasBeenSaved":"False", "CreatedBy":"17597", "CreatedOn":"2013-04-03T14:50:36", "UpdatedBy":"17597", "UpdatedOn":"2013-04-03T14:50:36", "IsActive":"True" }, "Components": { "Component": [ { "Id":"14223", "ComponentTypeId":"2", "OwnershipLevelId":"3", "PerformanceResultTypeId":"4", "UserId":"0", "Description":"4 rds\n60 sec amrap max cal row\n60 sec amrap Double unders\n60 sec Amrap Kb swings (53/35)\nRest/walk for 3 mins", "IsBenchmark":"True", "HasBeenSaved":"True", "IsNewComponentEmailSent":"True", "AllowRxPlus":"False", "Rounds":"0", "EachRoundTypeId":"0", "CreatedBy":"17597", "CreatedOn":"2013-04-03T14:50:38", "UpdatedBy":"17597", "UpdatedOn":"2013-04-03T14:50:38", "IsActive":"True" }, { "Id":"14111", "ComponentTypeId":"4", "OwnershipLevelId":"3", "PerformanceResultTypeId":"1", "UserId":"0", "Name":"Pullups (max reps)", "Description":"B. Back rack barbell Bulgarian split squats 3 x 6 per leg \nrest 1 min btw legs\nC. Weighted plank hold accumulate 4 mins\nD. Shuttle sprints x 3 rest 2 mins\n (25m up and back, 50m up and back =1)", "IsBenchmark":"True", "HasBeenSaved":"True", "IsNewComponentEmailSent":"True", "AllowRxPlus":"False", "Rounds":"0", "EachRoundTypeId":"0", "CreatedBy":"17597", "CreatedOn":"2013-04-03T14:45:07", "UpdatedBy":"17597", "UpdatedOn":"2013-04-03T14:45:07", "IsActive":"True" } ] }, "CreatedByUser": { "Id":"0", "Is_Active":"True" }, "UpdatedByUser": { "Id":"0", "Is_Active":"True" }, "CreatedDate":"2013-04-03", "UpdatedDate":"04/03/2013 14:50:36", "Location": { "Id":"5", "Name":"Main", "StateId":"0", "CountryId":"0", "CreatedBy":"17597", "CreatedOn":"2000-01-01", "UpdatedBy":"0", "IsActive":"True" }, "Program": { "Id":"5", "Name":"Crossfit", "Description":"Crossfit", "CreatedBy":"17597", "CreatedOn":"2000-01-01", "UpdatedBy":"0", "Is_Active":"True" }, "Announcements": { "Announcement": { "Id":"17", "Message":"Test Announcement", "FromDate":"2012-04-02", "ToDate":"2012-12-21", "IsExternal":"True", "CreatedBy":"19330", "CreatedOn":"2013-04-05T12:11:50", "UpdatedBy":"19330", "UpdatedOn":"2013-04-05T12:11:50", "IsActive":"True" } } } } }