Forums, Topics & Posts
Guides, Help & Support, Tutorials and Examples on how to access and use the Site API.
2 posts
Page 1 of 1
The Codenstuff Site API (WIP)
Forums, Topics and Posts
This thread will include all the information required to access forum, topic and post data.
Forums
Use the 'mode' variable "ForumList":
Forums, Topics and Posts
This thread will include all the information required to access forum, topic and post data.
Forums
Use the 'mode' variable "ForumList":
Code: Select all
A breakdown of what the data contains:?mode=ForumList
- forumid (The ID of the forum)
- forumname (Title of the forum)
- type (0 or 1) (0 = Category 1 = Forum)
- parent (ID of the parent forum that this forum belongs to)
- posts (Number of posts in the forum)
- topics (Number of topics in the forum)
Code: Select all
More data may be added at a later date. Public Class Forums
Public forumid As String
Public forumname As String
Public type As String
Public parent As String
Public posts As String
Public topics As String
End Class
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
Topics
Get the 10 latest topics
Use the 'mode' variable "TopTopics":
Get the 10 latest topics
Use the 'mode' variable "TopTopics":
Code: Select all
A breakdown of what the data contains:?mode=TopTopics
- topicid (The ID of the topic)
- forumid (The ID of the forum this topic is in)
- dt (Dat and time topic was posted)
- title (Title of the topic)
Code: Select all
More data may be added at a later date. Public Class TopTopics
Public topicid As String
Public forumid As String
Public dt As String
Public title As String
End Class
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
2 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023