I am working on a project, where we need to access multiple Web Forums API, I need a Generic way by using that I can get the User Data and Posts. For example these forums (nationstates, steampowered, simplemachines, StackOverFlow) provide their Api. So it is difficult to write 4 Methods for all these Forums. If in future my client says please add two more forums in this project then I will write 2 more Method for that API's.

Recommended Answers

All 2 Replies

It can only be made generic if the API's don't differ too much. I am not sure (but I doubt) if that's the case with the forums you mentioned.

if these forums API references are same then it is possible else not, or you can write your ows classes for each forum and use reflection to send call to respoective class (API).

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.