Follow us on Twitter. :)

Welcome to skinnyr!

We noticed you're not logged in.

Skinnyr.com API – Account Management Methods

getWeightRecords

Retrieves a list of all weight record entries belonging to the specified user.

Parameters

  1. String Username
  2. String Password - Lowercase md5 hash of the user’s password

Returns

  • Array A nameless array with the following structure:
    • Int record_id - The ID of the current record.
    • dateTime.iso8601 record_datetime - The date and time that the record was added. If a time is not applicable, the time will show as 12am.
    • Double record_weight - The weight value for the current record.

Sample Request

Sample Return

addWeightRecord

Adds a weight record to the specified user’s account. The date and time is recorded according to current time (CST).

Parameters

  1. String Username
  2. String Password - Lowercase md5 hash of the user’s password
  3. Double Weight
  4. dateTime.iso8601 Date/time of the weight record

Returns

  • Boolean bAdded

Sample Request

Sample Return

addWeightRecordKg

Adds a weight record to the specified user’s account. Takes input as KG only and converts to the user’s preferred weight unit. The date and time is recorded according to current time (CST).

Parameters

  1. String Username
  2. String Password - Lowercase md5 hash of the user’s password
  3. Double Weight (in KG)
  4. dateTime.iso8601 Date/time of the weight record

Returns

  • Boolean bAdded

Sample Request

Sample Return

deleteWeightRecord

Removes the specified weight record from the specified user’s account.

Parameters

  1. String Username
  2. String Password - Lowercase md5 hash of the user’s password
  3. Int Weight Record ID - The record_id of the weight record to be deleted, as specified by getWeightRecords

Returns

  • Boolean bDeleted

Sample Request

Sample Return