API Forumotion
3 posters
Page 1 of 1
API Forumotion
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 Fri 19 Jan 2024 - 6:24; edited 1 time in total
Ganso- New Member
- Posts : 19
Reputation : 3
Language : Portuguese
Shek likes this post
Re: API Forumotion
What exactly does the link suppose to load?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: API Forumotion
Good morning @SLGray,
The objective is to easily access user information, this is just a route to access the user profile fields you want, however, it is possible to do much more such as changing profile fields for a specific user.
For script creators, it's one of the best things there is because it makes their lives easier, and it will also reduce the weight of a script on the forums.
I'm developing more routes: "/members", "/topics" "/topic" "/post" but the routes that require authentication are already something that the logistics are much more complicated.
With the right knowledge, anything is possible.
The objective is to easily access user information, this is just a route to access the user profile fields you want, however, it is possible to do much more such as changing profile fields for a specific user.
For script creators, it's one of the best things there is because it makes their lives easier, and it will also reduce the weight of a script on the forums.
I'm developing more routes: "/members", "/topics" "/topic" "/post" but the routes that require authentication are already something that the logistics are much more complicated.
With the right knowledge, anything is possible.
Ganso- New Member
- Posts : 19
Reputation : 3
Language : Portuguese
Re: API Forumotion
Care to explain this a bit further. Maybe with some screenshots? Also where would the code go? I'm looking into this on my own time. But I just want to understand how this would work if it were a feature offered by FM.
Re: API Forumotion
@SLGray -> Answering your question in more detail so you can understand a little better, using the link below you can test to your heart's content, all the routes are working perfectly and the information is only from my forum currently because everything is still under development.
To understand better, access the link below that may answer your questions.
If it were something offered by FM, it would certainly be different and with much more detail because it is impossible for me to access the information due to not having access, but I can say that I have already carried out some complex tests and I can confirm that even changing anything on the panel administrator of my forum directly through the API, which could be interesting for creating scripts with autoinstallers that do the boring work for administrators who have very little experience. Among many other things.
Btw, I leave the link below if you want to test it too.
To test any route, just choose and click on "Try it out", and then on "Execute", if you have parameters to fill in, everything is explained there.
Remembering that I have more routes in development but these are already quite interesting.
Link: https://api.punbb-community.com/docs/
I'm working to make this API dynamic so it can be used in other forums, of course.
Sir Chivas wrote: Care to explain this a bit further. Maybe with some screenshots? Also where would the code go? I'm looking into this on my own time. But I just want to understand how this would work if it were a feature offered by FM.
To understand better, access the link below that may answer your questions.
If it were something offered by FM, it would certainly be different and with much more detail because it is impossible for me to access the information due to not having access, but I can say that I have already carried out some complex tests and I can confirm that even changing anything on the panel administrator of my forum directly through the API, which could be interesting for creating scripts with autoinstallers that do the boring work for administrators who have very little experience. Among many other things.
Btw, I leave the link below if you want to test it too.
To test any route, just choose and click on "Try it out", and then on "Execute", if you have parameters to fill in, everything is explained there.
Remembering that I have more routes in development but these are already quite interesting.
Link: https://api.punbb-community.com/docs/
I'm working to make this API dynamic so it can be used in other forums, of course.
Ganso- New Member
- Posts : 19
Reputation : 3
Language : Portuguese
Sir Chivas™ likes this post
Similar topics
» Hacking of PMs on one Forumotion site being posted on another
» How to Delete Forumotion Link to Forumotion next to search box on my site
» Import phpBB20 exiting non-Forumotion forum to a Forumotion one
» My forumotion design has been copied by another forumotion forum
» Forumotion IAmA request : Forumotion Staff
» How to Delete Forumotion Link to Forumotion next to search box on my site
» Import phpBB20 exiting non-Forumotion forum to a Forumotion one
» My forumotion design has been copied by another forumotion forum
» Forumotion IAmA request : Forumotion Staff
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum