Skinnyr.com API v2.0 – Administrative Methods
getAuthToken
Creates an auth token unique to your application and the user’s account. Required for almost all other methods.
Parameters
- String Username
- String Password - Lowercase md5 hash of the user’s password
- String Source Name - The name of your application, will be displayed to user
- String Source URL - Where the user can visit to find more about your application. No “http://” required
Returns
- String strAuthToken - A unique SHA1 linking the user to your application.
Sample Request
Sample Return
updateAuthToken
Updates an existing auth token.
Parameters
- String AuthToken - The existing auth token value.
- String Source Name - The name of your application, will be displayed to user
- String Source URL - Where the user can visit to find more about your application. No “http://” required
Returns
- Boolean bUpdated - Whether or not the update was accepted. Returns a 1 or 0.
Sample Request
Sample Return
existsByUsername
Lets you know if a username already exists in the system
Parameters
- String Username
Returns
Sample Request
Sample Return
existsByEmail
Lets you know if an email address already exists in the system
Parameters
- String Email Address
Returns
Sample Request
Sample Return