Skip to content

Instantly share code, notes, and snippets.

@luizmarcus
Last active July 14, 2018 19:50
Show Gist options
  • Save luizmarcus/ab29d8a0a9e596628b186c033ec7a5ff to your computer and use it in GitHub Desktop.
Save luizmarcus/ab29d8a0a9e596628b186c033ec7a5ff to your computer and use it in GitHub Desktop.
<?php
$update_response = file_get_contents("php://input");
$update = json_decode($update_response, true);
if (isset($update["queryResult"]["parameters"]["Jogos"])) {
echo getResult($update["queryResult"]["parameters"]["Jogos"]);
}
?>
@luizmarcus
Copy link
Author

Atualizado para a versão v2 da API

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment