-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathApiConstants.java
More file actions
18 lines (15 loc) · 947 Bytes
/
ApiConstants.java
File metadata and controls
18 lines (15 loc) · 947 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.gamzabat.algohub.constants;
public final class ApiConstants {
public static final String SOLVED_AC_PROBLEM_API_URL = "https://solved.ac/api/v3/problem/lookup?problemIds=";
public static final String BOJ_USER_PROFILE_URL = "https://www.acmicpc.net/user/";
public static final String BOJ_PROBLEM_URL = "www.acmicpc.net";
public static final String BOJ_PROBLEM_FORMAT = "https://www.acmicpc.net/problem/";
public static final String SERVER_HTTPS_ENDPOINT = "https://api.algohub.kr";
public static final String RC_SERVER_HTTPS_ENDPOINT = "https://api.rc.algohub.kr";
public static final String GITHUB_ACCESS_TOKEN_URL = "https://github.com/login/oauth/access_token";
public static final String GITHUB_USER_URL = "https://api.github.com/user";
public static final String GITHUB_EMAIL_URL = "https://api.github.com/user/emails";
private ApiConstants() {
throw new RuntimeException("Can not instantiate : ApiConstants");
}
}