Hey Josh, If you haven't already seen the PHP Developer's Guide, check it out: http://code.google.com/apis/health/docs/1.0/developers_guide_php.html
To retrieve certain CCR elements (e.g. just demographics), you can use a category query (http://code.google.com/apis/health/docs/2.0/ reference.html#CatQueries): https://www.google.com/h9/feeds/profile/default/-/Demographics?digest=true Or, you can query the entire profile and extract certain elements, as described in the developer's guide: $entry->getCcr()->getDemographics(); In all cases, the CCR is returned as an XML blob, so you'll need to parse out element values yourself. I suggest DOMDocument or something similar: http://us.php.net/manual/en/class.domdocument.php Eric On Dec 26, 9:52 pm, Josh <[email protected]> wrote: > My current system allows for sending of health information to Google > Health--now I'm trying to figure out how to get information from > Google Health. I have read through the documentation (including CCR > documentation) but cannot quite figure out how to splice the necessary > data out of the results sent from Google to my website. It looks like > the entire feed is delivered into a single line of data, but I need to > gather demographic information bit by bit (age, gender, etc.) and most > recent procedure information (by procedure name, only most recent > necessary). How do I do this in PHP? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Health Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/googlehealthdevelopers?hl=en -~----------~----~----~----~------~----~------~--~---
