Commit cd6b8ecb authored by Melroy van den Berg's avatar Melroy van den Berg
Browse files

Fix errors

parent d00ba4c6
Pipeline #2338 failed with stage
in 1 minute and 19 seconds
......@@ -5,7 +5,7 @@
include 'metacritic.php';
$metacritic_api = new MetacriticAPI();
$metacritic_api->get_metacritic_page("The Elder Scrolls V: Skyrim");
$json_reponse = $metacritic_api->get_metacritic_scores();
$metacritic_api->getMetacriticPage("The Elder Scrolls V: Skyrim");
$json_reponse = $metacritic_api->getMetacriticScores();
echo "Json Output:\n<br/><br/> " . $json_reponse;
namespace MetacriticAPI;
require_once 'libs/Unirest.php';
require_once 'libs/simple_html_dom.php';
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment