Good night,
Firstly, I would like to appeal to the team not to remove my topic because we need to innovate Forumotion because unfortunately it has lagged behind a bit.
Let's get to the point, Forumotion API.
I have been conducting some tests and have decided to start creating an API for Forumotion. I am working on various things, such as user lists, topics, post content, among other things, including information modification, but it's quite complex, and I have been thinking about the secure way to do it.
I will leave below a route for you to test and provide your feedback and suggestions, ehehe.
My API: Temporarily unavailable
Currently, I only provide the "/profile" route because I am still developing the others.
In the "userId" field, please enter the user ID for the information you want to see. In the "forum" field, enter the forum link for verification (do not include https://).
The result will be something like this:
What do you think?
Best regards,
Ganso
Firstly, I would like to appeal to the team not to remove my topic because we need to innovate Forumotion because unfortunately it has lagged behind a bit.
Let's get to the point, Forumotion API.
I have been conducting some tests and have decided to start creating an API for Forumotion. I am working on various things, such as user lists, topics, post content, among other things, including information modification, but it's quite complex, and I have been thinking about the secure way to do it.
I will leave below a route for you to test and provide your feedback and suggestions, ehehe.
My API: Temporarily unavailable
Currently, I only provide the "/profile" route because I am still developing the others.
- Code:
const userId = "112971";
const forum = "help.forumotion.com";
const apiUrl = `https://api.punbb-community.com/profile?id=${userId}&forum=${forum}`;
fetch(apiUrl)
.then((response) => {
if (!response.ok) {
throw new Error("Failed to fetch profile data");
}
return response.json();
})
.then((profileData) => {
console.log(profileData);
})
.catch((error) => {
console.error("Error fetching profile data:", error);
});
In the "userId" field, please enter the user ID for the information you want to see. In the "forum" field, enter the forum link for verification (do not include https://).
The result will be something like this:
What do you think?
Best regards,
Ganso
Last edited by Ganso on January 19th 2024, 1:54 am; edited 1 time in total