Here you will find all the endpoints and their examples.
Profile endpoint
GEThttps://api.samochat.net/profile/:username
This fetches the public information of a user.
Path Parameters
Headers
{
"user": {
"name": "SamoChat",
"age": "13 years ",
"gender": "Male",
"location": "Søborg, Danmark",
"SamoCredits": "100.000.319",
"rank": "Elite",
"videos": "1",
"photos": "28",
"joined": "Member since 2 years ago",
"about": " What's your idea?: To connect everyone, everywhere in a 💯 % secure and private way About Me: We are the first Social media to truly respect and guard your privacy. Made in but based in 🇩🇰 Website: Samochat.net "
}
}
usingSamoChatNet;SamoChatConfig.ClientID="ClientID";SamoChatConfig.ClientSecret="ClientSecret"; //Declares the instanceSamoChatData data =newSamoChatData();data.GetProfile("SamoChat");
import samochatsamochat.client_id ="client_id"samochat.client_secret ="client_secret"# Declares the instancedata =SamochatData()data.get_profile("SamoChat")
{
"posts": [
" SamoChat says: 7 months ago We're now on product hunt SamoChatters! 🙌🏾 2 people like this. ",
" SamoChat says: 8 months ago SamoChat VS Facebook 3 people like this. ",
" SamoChat says: 1 year ago Just be yourself without worrying about privacy or preying eyes! NO ESPIONAGE NO TRACKING NO TO SELLING DATA GET PRIVACY and FREE SPEECH SamoChat the ideal social media for the new age! https://nationaltelegraph.net/samochat-posses-stiff-competition-for-facebook-in-somalia/ The article was written by a SamoChatter by the name Jebril Domenico Facebook Will Face Stiff Competition From Samochat In Somalia. 2 people like this. ",
" SamoChat says: 1 year ago Hodan Naleyah, was a true Somali who cared for her people, may Allah grant her, her husband and every other victim jannah firdous inshallah, in tribute to her and her spirit of never giving up, we've added a new sticker in her honor :(naagiskadhi): (remove the parenthesis in order to use it) 1 people like this. ",
" SamoChat says: 2 years ago Welcome new SamoChatters! 🙌🏾 3 people like this. ",
" SamoChat says: 2 years ago SamoChatters! new stickers have arrived! You can use the following codes: :(hi: :(bye: :(wow: :(cool: :(oops: :(what: but you must remove the parentheses in order for them to work. 4 people like this. SamoChat January 31, 2019 at 9:11 PM you can also find them in the more section inside the emoji menu suldaan cumar February 1, 2019 at 8:14 AM :(hi: Abdirahiim Yassin February 1, 2019 at 8:52 AM Wll qawska waan in laga saaro markaasaa shaqeynaysa Hafsa Yassin February 1, 2019 at 10:38 AM "
]
}
usingSamoChatNetSamoChatConfig.ClientID= "ClientID";SamoChatConfig.ClientSecret="ClientSecret"; //Declares the instanceSamoChatData data =newSamoChatData();data.GetPosts("SamoChat");
import samochatsamochat.client_id ="client_id"samochat.client_secret ="client_secret"# Declares the instancedata =SamochatData()data.get_posts("SamoChat")
usingSamoChatNet;SamoChatConfig.ClientID="ClientID";SamoChatConfig.ClientSecret="ClientSecret"; //Declares the instanceSamoChatData data =newSamoChatData();data.GetName("SamoChat");
import samochatsamochat.client_id ="client_id"samochat.client_secret ="client_secret"# Declares the instancedata =SamochatData()data.get_name("SamoChat")
usingSamoChatNet;SamoChatConfig.ClientID="ClientID";SamoChatConfig.ClientSecret="ClientSecret"; //Declares the instanceSamoChatData data =newSamoChatData();data.GetAge("SamoChat");
import samochatsamochat.client_id ="client_id"samochat.client_secret ="client_secret"# Declares the instancedata =SamochatData()data.get_age("SamoChat")
usingSamoChatNet;SamoChatConfig.ClientID="ClientID";SamoChatConfig.ClientSecret="ClientSecret"; //Declares the instanceSamoChatData data =newSamoChatData();data.GetGender("SamoChat");
import samochatsamochat.client_id ="client_id"samochat.client_secret ="client_secret"# Declares the instancedata =SamochatData()data.get_gender("SamoChat")
usingSamoChatNet;SamoChatConfig.ClientID="ClientID";SamoChatConfig.ClientSecret="ClientSecret"; //Declares the instanceSamoChatData data =newSamoChatData();data.GetLocation("SamoChat");
import samochatsamochat.client_id ="client_id"samochat.client_secret ="client_secret"# Declares the instancedata =SamochatData()data.get_location("SamoChat")
usingSamoChatNet;SamoChatConfig.ClientID="ClientID";SamoChatConfig.ClientSecret="ClientSecret"; //Declares the instanceSamoChatData data =newSamoChatData();data.GetSamoCredits("SamoChat");
import samochatsamochat.client_id ="client_id"samochat.client_secret ="client_secret"# Declares the instancedata =SamochatData()data.get_samocredits("SamoChat")
usingSamoChatNet;SamoChatConfig.ClientID="ClientID";SamoChatConfig.ClientSecret="ClientSecret"; //Declares the instanceSamoChatData data =newSamoChatData();data.GetRank("SamoChat");
import samochatsamochat.client_id ="client_id"samochat.client_secret ="client_secret"# Declares the instancedata =SamochatData()data.get_rank"SamoChat")
usingSamoChatNet;SamoChatConfig.ClientID="ClientID";SamoChatConfig.ClientSecret="ClientSecret"; //Declares the instanceSamoChatData data =newSamoChatData();data.GetVideos("SamoChat");
import samochatsamochat.client_id ="client_id"samochat.client_secret ="client_secret"# Declares the instancedata =SamochatData()data.get_videos("SamoChat")
usingSamoChatNet;SamoChatConfig.ClientID="ClientID";SamoChatConfig.ClientSecret="ClientSecret"; //Declares the instanceSamoChatData data =newSamoChatData();data.GetPhotos("SamoChat");
import samochatsamochat.client_id ="client_id"samochat.client_secret ="client_secret"# Declares the instancedata =SamochatData()data.get_photos("SamoChat")
usingSamoChatNet;SamoChatConfig.ClientID="ClientID";SamoChatConfig.ClientSecret="ClientSecret"; //Declares the instanceSamoChatData data =newSamoChatData();data.GetJoined("SamoChat");
import samochatsamochat.client_id ="client_id"samochat.client_secret ="client_secret"# Declares the instancedata =SamochatData()data.get_joined("SamoChat")
This fetches the about section of a specified user
Path Parameters
Query Parameters
Headers
{
"about": " What's your idea?: To connect everyone, everywhere in a 💯 % secure and private way About Me: We are the first Social media to truly respect and guard your privacy. Made in but based in 🇩🇰 Website: Samochat.net "
}
usingSamoChatNet;SamoChatConfig.ClientID="ClientID";SamoChatConfig.ClientSecret="ClientSecret"; //Declares the instanceSamoChatData data =newSamoChatData();data.GetAbout("SamoChat");
import samochatsamochat.client_id ="client_id"samochat.client_secret ="client_secret"# Declares the instancedata =SamochatData()data.get_about("SamoChat")