Skip to content

Instantly share code, notes, and snippets.

@timcole
Created December 11, 2017 16:36
Show Gist options
  • Save timcole/46d598b6dc4a7d4d587c60482017962f to your computer and use it in GitHub Desktop.
Save timcole/46d598b6dc4a7d4d587c60482017962f to your computer and use it in GitHub Desktop.
Social Blade Android App Config
package com.socialblade.droid.statistics.app;
public class AppConfig {
private static String URL_ROOT = "https://api.socialblade.com/v2/";
public static String URL_RESET = "https://socialblade.com/forgotpw?sentemail=1";
public static String URL_LOGIN = URL_ROOT + "bridge";
public static String URL_REGISTER = URL_ROOT + "auth/register";
public static String URL_GUEST_REGISTER = URL_ROOT + "auth/guest";
public static String URL_FAVOURITES = URL_ROOT + "favorites/list";
public static String URL_FAVOURITE_CHECK = URL_ROOT + "favorites/check";
public static String URL_FAVOURITE_TOGGLE = URL_ROOT + "favorites/toggle";
public static String URL_FAVOURITE_ADD = URL_ROOT + "favorites/add";
public static String URL_FAVOURITE_REMOVE = URL_ROOT + "favorites/remove";
public static String URL_SETTINGS_ADS = URL_ROOT + "settings/ads";
public static String URL_SETTINGS_CURRENCY = URL_ROOT + "settings/currency";
public static String URL_SEARCH = URL_ROOT + "search";
public static String URL_YOUTUBE = URL_ROOT + "youtube/statistics";
public static String URL_YOUTUBE_VIDEOS = "https://socialblade.com/js/class/youtube-video-recent";
public static String URL_TWITTER = URL_ROOT + "twitter/statistics";
public static String URL_TWITCH = URL_ROOT + "twitch/statistics";
public static String URL_INSTAGRAM = URL_ROOT + "instagram/statistics";
private static String SITE_ROOT = "https://socialblade.com/";
public static String SITE_YOUTUBE_SEARCH = SITE_ROOT + "youtube/s/?q=";
public static String SITE_TWITTER_SEARCH = SITE_ROOT + "twitter/search/?q=";
public static String SITE_INSTAGRAM_SEARCH = SITE_ROOT + "instagram/search/?q=";
public static String SITE_TWITCH_SEARCH = SITE_ROOT + "twitch/search/?q=";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment