Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- error_reporting(0);
- $context = stream_context_create($opts);
- $usuario = $_POST['usuario'];
- $file = file_get_contents("https://todocodigos.000webhostapp.com/twitch/api/infotwitch.php?usuario=$usuario", false, $context);
- $image_data = json_decode($file, true);
- $twitch = json_decode($file, true);
- $news = json_decode($news, true);
- $context2 = stream_context_create($opts2);
- $usuario2 = $_POST['usuario'];
- $file2 = file_get_contents("https://todocodigos.000webhostapp.com/twitch/emoticonos/emoticonos1.php?usuario=$usuario2", false, $context2);
- $image_data2 = json_decode($file2, true);
- $twitch2 = json_decode($file2, true);
- $news2 = json_decode($news2, true);
- ?>
- <?php for ($i = 0; $i < count($image_data['info_twitch']); $i ++) {
- ?>
- <?php for ($iii=0; $iii > count($image_data2['emoticons']); $iii ++) {
- }
- ?>
- <b><b> <font color="red"><?php echo $usuario2?></font></b> Antes se llamaba:</b> => <font color="blue"><b><?php echo $twitch2['plans'][$iii]['name']?></b></font> (Para algunos canales, no todos)
- <br>
- <b>Espectadores:</b> => <?php echo $twitch['info_twitch'][$i]['Espectadores']; ?>
- <br>
- <b>Estado del streamer:</b> => <?php echo $twitch['info_twitch'][$i]['Estado'] ?>
- <br>
- <b>Categoria</b> => <?php echo $twitch['info_twitch'][$i]['categoria']?>
- <br>
- <b>Idioma del streamer</b> => <?php echo $twitch['info_twitch'][$i]['Idioma_del_streamer']?>
- <br>
- <b>Visualizaciones:</b> => <?php echo $twitch['info_twitch'][$i]['Visualizaciones_totales']?>
- <br>
- <b>Seguidores del canal:</b> => <?php echo $twitch['info_twitch'][$i]['Seguidores_del_canal']?>
- <br>
- <b>Logo del canal:</b> => <?php echo $twitch['info_twitch'][$i]['Logo_del_canal']?>
- <br>
- <b>Banner del video:</b> => <?php echo $twitch['info_twitch'][$i]['Banner_del_video']?>
- <br>
- <b>Banner del perfil:</b> =><?php echo $twitch['info_twitch'][$i]['Banner_del_perfil']?>
- <br>
- <b>Ultimo titulo:</b> => <?php echo $twitch['info_twitch'][$i]['Titulo_del_último_vídeo']?>
- <br>
- <br>
- <br>
- <br>
- ******************************
- <br>
- <form action="" method="POST">
- <input type="text" size="50" name="usuario" id="usuario" placeholder="Escribe el nombre del streamer">
- <input type="submit" value="Ver info">
- </form>
- *****************************
- <br>
- <h3>API TWITCH:
- <br>
- <a href="https://pastebin.com/GZFjb02R" target="_blank">api twitch</a>✔️
- <br>
- <a href="https://todocodigos.000webhostapp.com/twitch/emoticonos/emoticonos.php" target="_blank">Api emoticonos twitch</a>
- <br>
- <a href="https://todocodigos.000webhostapp.com/twitch/seguidores/seguidores1.php">Api twitch seguidores</a>
- <br>
- <a href="https://todocodigos.000webhostapp.com/twitch/clips/clip1.php" target="_blank">Api twitch clips</a>
- </h3>
- <?php }?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement