I am developing a sharepoint app (add-in) but I'm pretty new to sharepoint over all and need some help.
Asume that I am hosting the app on app-(app_id).sharepointapp.com and from that app I want to call a function or something which returns sharepoint.com which is the actual site (might be called test-site or something like that).
I have been trying to use
_spPageContextInfo but I can't find a good match.
PS: Sorry if I've completely battered the SharePoint terminology.