Untitled
unknown
plain_text
2 years ago
2.8 kB
17
Indexable
public class SmmPanel {
private String baseUrl;
private String apiKey;
}
public static Map<Integer, SmmPanel> getPanelMap() {
Map<Integer, SmmPanel> panelMap = new HashMap<>();
panelMap.put(
AppConstants.PANEL.HONEST_SMM_ANKUSH2015,
new SmmPanel(AppConstants.PANEL.HONEST_SMM_BASE_URL, AppConstants.PANEL.HONEST_SMM_ANKUSH2015_API_KEY)
);
panelMap.put(
AppConstants.PANEL.REALSITE_ANKUSH2015,
new SmmPanel(AppConstants.PANEL.REALSITE_BASE_URL, AppConstants.PANEL.REALSITE_ANKUSH2015_API_KEY)
);
panelMap.put(
AppConstants.PANEL.HONEST_SMM_ANKUSH2015TEST,
new SmmPanel(AppConstants.PANEL.HONEST_SMM_BASE_URL, AppConstants.PANEL.HONEST_SMM_ANKUSH2015TEST_API_KEY)
);
panelMap.put(
AppConstants.PANEL.HONEST_SMM_TUBEBOOST,
new SmmPanel(AppConstants.PANEL.HONEST_SMM_BASE_URL, AppConstants.PANEL.HONEST_SMM_TUBEBOOST_API_KEY)
);
panelMap.put(
AppConstants.PANEL.SMM_SURGE_TUBEBOOST,
new SmmPanel(AppConstants.PANEL.SMM_SURGE_BASE_URL, AppConstants.PANEL.SMM_SURGE_TUBEBOOST_API_KEY)
);
panelMap.put(
AppConstants.PANEL.SMM_BIRLA_TUBEBOOST,
new SmmPanel(AppConstants.PANEL.SMM_BIRLA_BASE_URL, AppConstants.PANEL.SMM_BIRLA_TUBEBOOST_API_KEY)
);
panelMap.put(
AppConstants.PANEL.SMM_OWL_TUBEBOOST,
new SmmPanel(AppConstants.PANEL.SMM_OWL_BASE_URL, AppConstants.PANEL.SMM_OWL_TUBEBOOST_API_KEY)
);
return panelMap;
}
interface PANEL {
String ACTION_STATUS = "status";
String HONEST_SMM_BASE_URL = "https://honestsmm.com/api/v2";
String REALSITE_BASE_URL = "https://realsite.shop/api/v2";
String SMM_SURGE_BASE_URL = "https://myapp.smmsurge.com/api/v2";
String SMM_BIRLA_BASE_URL = "https://smmbirla.com/api/v2";
String SMM_OWL_BASE_URL = "https://app.smmowl.com/api/v2";
String HONEST_SMM_ANKUSH2015_API_KEY = "xxxxxxxx";
String REALSITE_ANKUSH2015_API_KEY = "xxxxxxxx";
String HONEST_SMM_ANKUSH2015TEST_API_KEY = "xxxxxxxx";
String HONEST_SMM_TUBEBOOST_API_KEY = "xxxxxxxx";
String SMM_SURGE_TUBEBOOST_API_KEY = "xxxxxxxx";
String SMM_BIRLA_TUBEBOOST_API_KEY = "xxxxxxxx";
String SMM_OWL_TUBEBOOST_API_KEY = "xxxxxxxx";
Integer HONEST_SMM_ANKUSH2015 = 1;
Integer REALSITE_ANKUSH2015 = 2;
Integer HONEST_SMM_ANKUSH2015TEST = 3;
Integer HONEST_SMM_TUBEBOOST = 4;
Integer SMM_SURGE_TUBEBOOST = 5;
Integer SMM_BIRLA_TUBEBOOST = 6;
Integer SMM_OWL_TUBEBOOST = 7;
}Editor is loading...