Created
March 18, 2016 18:37
-
-
Save alexmcroberts/cf505122f138e074993d to your computer and use it in GitHub Desktop.
Google Fit Activity Types in PHP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$Google_Fit_Activity_Types = array( | |
"Aerobics" => 9, | |
"Awake (during sleep cycle)" => 112, | |
"Back-country skiing" => 66, | |
"Badminton" => 10, | |
"Baseball" => 11, | |
"Basketball" => 12, | |
"Biathlon" => 13, | |
"Biking" => 1, | |
"Boxing" => 20, | |
"Calisthenics" => 21, | |
"Circuit training" => 22, | |
"Cricket" => 23, | |
"Cross skating" => 63, | |
"Cross-country skiing" => 67, | |
"Curling" => 106, | |
"Dancing" => 24, | |
"Deep sleep" => 110, | |
"Diving" => 102, | |
"Downhill skiing" => 68, | |
"Elliptical" => 25, | |
"Ergometer" => 103, | |
"Fencing" => 26, | |
"Football (American)" => 27, | |
"Football (Australian)" => 28, | |
"Football (Soccer)" => 29, | |
"Frisbee" => 30, | |
"Gardening" => 31, | |
"Golf" => 32, | |
"Gymnastics" => 33, | |
"Handball" => 34, | |
"Handbiking" => 14, | |
"Hiking" => 35, | |
"Hockey" => 36, | |
"Horseback riding" => 37, | |
"Housework" => 38, | |
"Ice skating" => 104, | |
"In vehicle" => 0, | |
"Indoor skating" => 105, | |
"Inline skating (rollerblading)" => 64, | |
"Jogging" => 56, | |
"Jumping rope" => 39, | |
"Kayaking" => 40, | |
"Kettlebell training" => 41, | |
"Kickboxing" => 42, | |
"Kite skiing" => 69, | |
"Kitesurfing" => 43, | |
"Light sleep" => 109, | |
"Martial arts" => 44, | |
"Meditation" => 45, | |
"Mixed martial arts" => 46, | |
"Mountain biking" => 15, | |
"Nording walking" => 94, | |
"On foot" => 2, | |
"Other (unclassified fitness activity)" => 108, | |
"P90X exercises" => 47, | |
"Paragliding" => 48, | |
"Pilates" => 49, | |
"Polo" => 50, | |
"REM sleep" => 111, | |
"Racquetball" => 51, | |
"Road biking" => 16, | |
"Rock climbing" => 52, | |
"Roller skiing" => 70, | |
"Rowing" => 53, | |
"Rowing machine" => 54, | |
"Rugby" => 55, | |
"Running" => 8, | |
"Running (treadmill)" => 58, | |
"Running on sand" => 57, | |
"Sailing" => 59, | |
"Scuba diving" => 60, | |
"Skateboarding" => 61, | |
"Skating" => 62, | |
"Skiing" => 65, | |
"Sledding" => 71, | |
"Sleeping" => 72, | |
"Snowboarding" => 73, | |
"Snowmobile" => 74, | |
"Snowshoeing" => 75, | |
"Spinning" => 17, | |
"Squash" => 76, | |
"Stair climbing" => 77, | |
"Stair-climbing machine" => 78, | |
"Stand-up paddleboarding" => 79, | |
"Stationary biking" => 18, | |
"Still (not moving)" => 3, | |
"Strength training" => 80, | |
"Surfing" => 81, | |
"Swimming" => 82, | |
"Swimming (open water)" => 84, | |
"Swimming (swimming pool)" => 83, | |
"Table tennis (ping pong)" => 85, | |
"Team sports" => 86, | |
"Tennis" => 87, | |
"Tilting (sudden device gravity change)" => 5, | |
"Treadmill (walking or running)" => 88, | |
"Unknown (unable to detect activity)" => 4, | |
"Utility biking" => 19, | |
"Volleyball" => 89, | |
"Volleyball (beach)" => 90, | |
"Volleyball (indoor)" => 91, | |
"Wakeboarding" => 92, | |
"Walking" => 7, | |
"Walking (fitness)" => 93, | |
"Walking (treadmill)" => 95, | |
"Waterpolo" => 96, | |
"Weightlifting" => 97, | |
"Wheelchair" => 98, | |
"Windsurfing" => 99, | |
"Yoga" => 100, | |
"Zumba" => 101, | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment