Skip to content

Liquid44/TSU-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

#NO LONGER WORKING DUE TO TSU SHUTDOWN!

Welcome to TSU-API please note this is an unofficial API, trial-error created.

This is still a work in-progress project so far there is 20+ TSU functions you can use

V0.02 will include remote user API functions

Quick Example Usage-:

<?php
require_once('TSULib.php');
$tsu = new TSU();
if ($tsu->login('USERNAME-HERE', 'PASS-HERE')) {
	$name = $tsu->getUserFullName();
	$email = $tsu->getUserEmail();
	$profilepic = $tsu->getUserProfilePicture();
	echo 'Hello, '.$name.'<br>';
	echo 'Your TSU Email is: '.$email.'<br>';
	echo '<img src="'.$profilepic.'" width="100px" height="100px" />';
} else {
	echo 'Incorrect User or Password!';
}
?>

About

TSU API - SOCIAL NETWORK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages