Android Open Source - DashBit Fitbit Api

From Project

Back to project page DashBit.


The source code is released under:

Apache License

If you think the Android project DashBit listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.jasonphanley.dashbit.api;
//  w  ww .  j  a  v a 2  s  . com
import org.scribe.builder.api.DefaultApi10a;
import org.scribe.model.Token;

public class FitbitApi extends DefaultApi10a {
    private static final String REQUEST_TOKEN_URL = "";
    private static final String ACCESS_TOKEN_URL = "";
    private static final String AUTHORIZE_URL = "";
    public String getAccessTokenEndpoint() {
        return ACCESS_TOKEN_URL;
    public String getRequestTokenEndpoint() {
        return REQUEST_TOKEN_URL;
    public String getAuthorizationUrl(Token requestToken) {
        return String.format(AUTHORIZE_URL, requestToken.getToken());

Java Source Code List