Product Hunt

The best new products in tech

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 Issue with GitHub API on New Product Added from Product Hunt API
Product Hunt + GitHub
 
Try it
Create Issue with GitHub API on New Product Trending from Product Hunt API
Product Hunt + GitHub
 
Try it
Create Issue with GitHub API on New Product Upvoted from Product Hunt API
Product Hunt + GitHub
 
Try it
Search Issues and Pull Requests with GitHub API on New Product Added from Product Hunt API
Product Hunt + GitHub
 
Try it
Search Issues and Pull Requests with GitHub API on New Product Trending from Product Hunt API
Product Hunt + GitHub
 
Try it
New Product Added from the Product Hunt API

Emit new event when any new product is posted.

 
Try it
New Product Trending from the Product Hunt API

Emit new event when a product posted by a user hits 100+ upvotes.

 
Try it
New Product Upvoted from the Product Hunt API

Emit new event when a user upvotes a product.

 
Try it
New Branch from the GitHub API

Emit new event when a branch is created See the documentation

 
Try it
New Card in Column (Classic Projects) from the GitHub API

Emit new event when a (classic) project card is created or moved to a specific column. For Projects V2 use New Issue with Status trigger. More information here

 
Try it
Create Issue with the GitHub API

Create a new issue in a Gihub repo. See docs here

 
Try it
Search Issues and Pull Requests with the GitHub API

Find issues and pull requests by state and keyword. See docs here

 
Try it
Create Branch with the GitHub API

Create a new branch in a Github repo. See docs here

 
Try it
Create Gist with the GitHub API

Allows you to add a new gist with one or more files. See docs here

 
Try it
Create Issue Comment with the GitHub API

Create a new comment in a issue. See docs here

 
Try it

Overview of Product Hunt

What Can You Build With The Product Hunt API?

Product Hunt is a great platform for discovering new and noteworthy products. With the Product Hunt API, you can build custom tools and integrate Product Hunt into your existing applications. Below are some examples of what you can build with the Product Hunt API.

  1. Search and filter for trending products - Find the most popular products on Product Hunt by searching or filtering by category or date, and get detailed information about each product.

  2. Create custom leaderboards - Create custom leaderboards sorted by total votes, comments, or status.

  3. Measure users' Product Hunt activity - Track your followers' Product Hunt activity and get insights on what's popular and what's not.

  4. Build a recommendation engine - Create personalized product recommendations for users by analyzing the product data and scouring the user's activity.

  5. Enhance existing applications - Integrate Product Hunt data into existing applications, such as integrating product information into a directory site or adding product ratings to an ecommerce store.

  6. Monitor competitor activity - Use the API to keep an eye on the latest products from your competitors so you can stay one step ahead.

  7. Build custom tools - Take data from Product Hunt and make it instantly actionable with custom tools, such as a real-time product analyzer or trends explorer.

Connect Product Hunt

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    product_hunt: {
      type: "app",
      app: "product_hunt",
    }
  },
  async run({steps, $}) {
    const data = {
      "query": `{ 
        viewer { 
          user { 
            id
            username 
          } 
        } 
      }`,
    }
    return await axios($, {
      method: "post",
      url: `https://api.producthunt.com/v2/api/graphql`,
      headers: {
        Authorization: `Bearer ${this.product_hunt.$auth.oauth_access_token}`,
      },
      data,
    })
  },
})

Connect GitHub

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    github: {
      type: "app",
      app: "github",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.github.com/user`,
      headers: {
        Authorization: `Bearer ${this.github.$auth.oauth_access_token}`,
        "X-GitHub-Api-Version": `2022-11-28`,
      },
    })
  },
})