Forums, Topics & Posts

Guides, Help & Support, Tutorials and Examples on how to access and use the Site API.
2 posts Page 1 of 1
Contributors
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4389
Joined: Tue Aug 04, 2009 1:47 am

Forums, Topics & Posts
CodenStuff
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":
Code: Select all
?mode=ForumList
A breakdown of what the data contains:
  • 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)
The VB class for this data would be:
Code: Select all
    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
More data may be added at a later date.
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4389
Joined: Tue Aug 04, 2009 1:47 am

Re: Forums, Topics & Posts
CodenStuff
Topics

Get the 10 latest topics

Use the 'mode' variable "TopTopics":
Code: Select all
?mode=TopTopics
A breakdown of what the data contains:
  • 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)
The VB class for this data would be:
Code: Select all
    Public Class TopTopics
        Public topicid As String
        Public forumid As String
        Public dt As String
        Public title As String
    End Class
More data may be added at a later date.
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
2 posts Page 1 of 1
Return to “Codenstuff API”