Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Comments on Do we have a public API yet?

Post

Do we have a public API yet?

+10
−0

I've looked around for information on an existing or planned public API for Codidact but I haven't yet found one. I'm not sure if this means it was decided not to include it in the MVP or if it exists but is not easy to find (for me, at least).

The only reference to a public API that I could find was a post in the old discussion forum which suggested a public API was planned but may not be MVP (at that point it was still to be decided).

The reason I'm interested in a public API is for reading answer content from a particular question in order to run another coding contest like one that I posted in 2017. I no longer post to Stack Exchange, but I like the idea of a question where the answers can be read automatically by external code and the code the answers contain can be run against each other to generate a leaderboard. The "Challenge" post type on Code Golf Codidact (using the tag "king-of-the-hill") seems ideal for this, apart from the lack of a public API.

So my questions are:

  • Do Codidact sites already have a public API?
  • If not, is there a plan to introduce one?
  • If there is a plan, is this already specified or is there opportunity to be involved in discussion of its specifications?
History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

3 comment threads

I would love to be able to use something like the Emacs stack exchange client (https://github.com/ver... (2 comments)
Planned API and requirements (1 comment)
General comments (5 comments)
I would love to be able to use something like the Emacs stack exchange client (https://github.com/ver...
o_x‭ wrote 11 months ago

I would love to be able to use something like the Emacs stack exchange client (https://github.com/vermiculus/sx.el) to work with codidact.

Until there is an API to do something like that, is there an easily searchable database of questions/answers that one could build a script around?

trichoplax‭ wrote 5 months ago

There isn't anything yet, but there is a more recent Meta post where I'm seeking details on how to make an API, so adding your requirements there will help guide me when I start work on it: