ConnectedPapers / connectedpapers-py

MIT License
20 stars 2 forks source link

[Feature Request] Search API #2

Closed Ghost---Shadow closed 11 months ago

Ghost---Shadow commented 11 months ago

Something like this

results = client.search_sync("DeepFruits: A Fruit Detection System Using Deep Neural Networks")

response

{
  "results": [
    {
      "authors": [
        [
          {
            "name": "Patrick Lewis"
          }
        ],
        [
          {
            "name": "Ethan Perez"
          }
        ]
      ],
      "citationStats": {
        "numCitations": 817,
        "numReferences": 66
      },
      "corpusid": 218869575,
      "doiInfo": {
        "doi": null,
        "doiUrl": null
      },
      ...
aletar89 commented 11 months ago

You can use the S2 search API to get paper IDs from a title or keywords query: https://api.semanticscholar.org/api-docs/graph#tag/Paper-Data/operation/get_graph_get_paper_search

Ghost---Shadow commented 11 months ago

Thanks