Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Melroy van den Berg
Metacritic API
Commits
cd6b8ecb
Commit
cd6b8ecb
authored
Nov 07, 2020
by
Melroy van den Berg
Browse files
Fix errors
parent
d00ba4c6
Pipeline
#2338
failed with stage
in 1 minute and 19 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
example.php
View file @
cd6b8ecb
...
...
@@ -5,7 +5,7 @@
include
'metacritic.php'
;
$metacritic_api
=
new
MetacriticAPI
();
$metacritic_api
->
get
_m
etacritic
_p
age
(
"The Elder Scrolls V: Skyrim"
);
$json_reponse
=
$metacritic_api
->
get
_m
etacritic
_s
cores
();
$metacritic_api
->
get
M
etacritic
P
age
(
"The Elder Scrolls V: Skyrim"
);
$json_reponse
=
$metacritic_api
->
get
M
etacritic
S
cores
();
echo
"Json Output:
\n
<br/><br/> "
.
$json_reponse
;
metacritic.php
View file @
cd6b8ecb
<?php
namespace
MetacriticAPI
;
require_once
'libs/Unirest.php'
;
require_once
'libs/simple_html_dom.php'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment