Product Hunt

The best new products in tech

Go to site

Integrate the Product Hunt API with the GitHub API

Setup the Product Hunt API trigger to run a workflow which integrates with the GitHub API. Pipedream's integration platform allows you to integrate Product Hunt and GitHub remarkably fast. Free for developers.

Create Repo Issue

Creates an issue in a repository.

 
Try it
Get Repo

Gets a repository's details.

 
Try it
Search Issues or Pull Requests

Searches for issues or pull requests by state and keyword.

 
Try it
Create Fork

Creates a fork given a repository for the authenticated user.

 
Try it
Create Gist

Creates a new gist with one or more files.

 
Try it

Connect Product Hunt

const data = {
  "query": `{ 
    viewer { 
      user { 
        id
        username 
      } 
    } 
  }`,
}
return await require("@pipedreamhq/platform").axios(this, {
  method: "post",
  url: `https://api.producthunt.com/v2/api/graphql`,
  headers: {
    Authorization: `Bearer ${auths.product_hunt.oauth_access_token}`,
  },
  data,
})

Connect GitHub

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://api.github.com/user`,
  headers: {
    Authorization: `Bearer ${auths.github.oauth_access_token}`,
  },
})