Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Changed to https to negate http 301 error & fixed typo on guildList() #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions class.wynncraftAPI.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class wynncraftAPI
*
* @const string
*/
const apiUrl = 'http://api.wynncraft.com/public_api.php?';
const apiUrl = 'https://api.wynncraft.com/public_api.php?';

/**
* The format the api call should be returned as
Expand Down Expand Up @@ -165,7 +165,7 @@ public function guildStats($guild) {
* @return array|mixed|string
* @throws Exception
*/
public function guildList()) {
public function guildList() {
return $this->apiCommand('guildList');
}

Expand Down