Browse Source

Updated steam API to HTTPS closes #14

game_data
jrtechs 4 years ago
parent
commit
9a1b9a7d98
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/main/java/net/jrtechs/www/SteamAPI/APIConnection.java

+ 2
- 2
src/main/java/net/jrtechs/www/SteamAPI/APIConnection.java View File

@ -27,7 +27,7 @@ import java.util.stream.IntStream;
public class APIConnection
{
/** Base url to use for all queries to steam's api **/
private final String baseURL = "http://api.steampowered.com";
private final String baseURL = "https://community.steam-api.com";
/** Path to use when getting info on a player from api **/
private final String playerInfoURL = "/ISteamUser/GetPlayerSummaries/v0002/";
@ -289,7 +289,7 @@ public class APIConnection
APIConnection con = new APIConnection();
//steam id of jrtechs
//con.getFriends("76561198188400721").forEach(System.out::println);
con.getFriends("76561198188400721").forEach(System.out::println);
//System.out.println(con.getSingle("76561198188400721"));
System.out.println(con.getGames("76561198188400721"));

Loading…
Cancel
Save