Skip to main content

Unofficial MyFitnessPal sync API client

Project description

MyFitnessPal sync API client. Consists of a program that outputs sync data as a JSON object, and a Python library for programmatic use.

Command-line:

$ pip install mfpsync
$ mfpsync USERNAME PASSWORD
[
...
  {
      "type": "Food",
      "data": {
          "original_master_id": 13599087,
          "is_deleted": false,
          "description": "Oats",
          "nutrients": {
              "calories": 371.0,
              "fat": 8.0,
              "protein": 12.0,
              "carbohydrates": 59.0,
...
]

Python:

from mfpsync import Sync

for packet in Sync(username, password).get_packets():
    print packet

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mfpsync, version 0.12
Filename, size File type Python version Upload date Hashes
Filename, size mfpsync-0.12.tar.gz (10.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page