API for third-party apps
planned
Stefan Abi-Karam
I know no one has left a comment here in a while for this feature bu,t I still think this feature would be awesome. Even a simple inital API (for basic data like users, posts, questions, and replies) that can get expanded later on would be great.
Stefan Abi-Karam
To expand my use case, I can use this to automatically grade assignments that require a student to engage in discussion on campus wire as part of their assignments rather than searching for posts by hand. I also am very intrested in building a TUI interface for campuswire similar to the other person's suggestion for integration with emacs.
Matt Pendergraft
I'll second this, in particular the ability to retrieve posts along with associated content (comments).
In looking at what goes across the wire already it looks like most of what you expose for the frontend already would work. In particular /posts, /comments, /users.
I want to throw together a campuswire-mode in emacs, for searching a viewing content as I am unfortunately one of those people.
Duong Nguyen
planned
Kedar Abhyankar
Duong Nguyen: You marked this as planned, but I have two quick questions in regards to this:
1) Is there a timeline for this? The sooner we can get this, the better, but I'm just curious on that.
2) In regards to specific features exposed through the API, is there a specific place you want us to include this in this post? I had a few features in mind that would be awesome to include with an API, and was hoping to push them your way to be included for when 3rd party API support is enabled.
Duong Nguyen
Hi Kedar Abhyankar, we can't guarantee a specific date yet but it's going to be some time in 2021. We have a lot of features lined up right now and will not be able to get to this any time soon.
You can include in this post what end points you would like our public API to have. I hope that helps!
Kedar Abhyankar
Duong Nguyen: Hey! Sorry for not including this, but there were some that would specifically be nice; specifically -
- retrieve a list of posts made after a specific time
- on this, also be able to filter these posts - say, I only want posts made after a specific time that are unanswered, or fall under a specific topic
- query most active users (either by reputation or time online (if this is tracked))
- query the amount of unanswered posts
- make a request for a list of all students in a specific course and be able to retrieve information from the classlist like all their names or emails (provided this doesn't break any FERPA guidelines, and given that the API key would not be publicly available, I don't see how this would)
That's it for now, but if anyone has any others, please include them as well. The more the better! Thanks again!
Kedar Abhyankar
@Duong Nguyen - Do you have any timeline update on this? That would be awesome to start to implement for the fall semester. It's been about 7 months since this post, so I was just wondering on some sort of update. Thanks!