Closed julien-c closed 2 months ago
At the moment we only support a python client for the PapersWithCode API. If the community is interested in the TypeScript implementation, voting on this issue will give us more signal and we might invest into developing one.
But, since the API is public and documented feel free to develop your own client. We would be happy to endorse it on the website. :)
Sharing this in case it's helpful to anyone. 🤗
Using JTD (Json type defs) tools (https://jsontypedef.com/), I inferred the following data interfaces from the Paperswithcode data dumps listed in this repo.
More specifically, I used a combination of:
jq
one-liner)Here are the types in Typescript notation, but it would be trivial to generate the interfaces in any other supported language (including Python, @pierrci @elishowk)
For
datasets.json
For
evaluation-tables.json
Did not do the other files, let me know if you want me to also generate interfaces for them.