graphqlhub icon indicating copy to clipboard operation
graphqlhub copied to clipboard

HN Search API

Open cem2ran opened this issue 9 years ago • 1 comments
trafficstars

Planning on adding the Hacker News Search API powered by Algolia. Not sure if this should be added as a separate schema or embedded in one of the two existing?

example request: http://hn.algolia.com/api/v1/search?query=graphql

cem2ran avatar Apr 29 '16 10:04 cem2ran

awesome idea! can we integrate into the hn2 schema? I can imagine something like:

{ hn2 {
  search(query: "graphql") {
    ... on HackerNewsV2Story {
      title
    }
  }
} }

clayallsopp avatar Apr 29 '16 11:04 clayallsopp