All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.scribejava.apis.GeniusApi Maven / Gradle / Ivy

There is a newer version: 8.3.3
Show newest version
package com.github.scribejava.apis;

import com.github.scribejava.core.builder.api.DefaultApi20;

public class GeniusApi extends DefaultApi20 {

    protected GeniusApi() {
    }

    private static class InstanceHolder {

        private static final GeniusApi INSTANCE = new GeniusApi();
    }

    public static GeniusApi instance() {
        return InstanceHolder.INSTANCE;
    }

    @Override
    public String getAccessTokenEndpoint() {
        return "https://api.genius.com/oauth/token";
    }

    @Override
    protected String getAuthorizationBaseUrl() {
        return "https://api.genius.com/oauth/authorize";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy