Product Hunt

The best new products in tech

Integrate the Product Hunt API with the Google Calendar API

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

Add Quick Event with Google Calendar API on New Product Added from Product Hunt API
Product Hunt + Google Calendar
 
Try it
Add Quick Event with Google Calendar API on New Product Trending from Product Hunt API
Product Hunt + Google Calendar
 
Try it
Add Quick Event with Google Calendar API on New Product Upvoted from Product Hunt API
Product Hunt + Google Calendar
 
Try it
Create Event with Google Calendar API on New Product Added from Product Hunt API
Product Hunt + Google Calendar
 
Try it
Create Event with Google Calendar API on New Product Trending from Product Hunt API
Product Hunt + Google Calendar
 
Try it
New Product Added from the Product Hunt API

Emit new event when any new product is posted.

 
Try it
New Event Start from the Google Calendar API

Emit new event when the specified time before the Google Calendar event starts

 
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 Upcoming Event Alert from the Google Calendar API

Emit new event based on a time interval before an upcoming event in the calendar. This source uses Pipedream's Task Scheduler. See the documentation for more information and instructions for connecting your Pipedream account.

 
Try it
New Product Upvoted from the Product Hunt API

Emit new event when a user upvotes a product.

 
Try it
Add Quick Event with the Google Calendar API

Create a quick event to the Google Calendar. See the documentation

 
Try it
Create Event with the Google Calendar API

Create an event to the Google Calendar. See the documentation

 
Try it
Delete an Event with the Google Calendar API

Delete an event to the Google Calendar. See the documentation

 
Try it
List Calendar Events by Type with the Google Calendar API

Retrieve a list of events filtered by type ("default", "focusTime", "outOfOffice", "workingLocation") from the Google Calendar. See the documentation

 
Try it
List Calendars with the Google Calendar API

Retrieve a list of calendars from Google Calendar. See the documentation

 
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,
    })
  },
})

Overview of Google Calendar

The Google Calendar API gives developers access to Google Calendar data,
allowing them to create their own applications that can read, write, and update
calendar data. With the API, users can integrate their own calendar
applications with Google Calendar, giving them the ability to manage their
calendars in one place. The API also provides the ability to search for events
and create new events.

Possible applications that could be built using the Google Calendar API
include:

  • A calendar application that integrates with Google Calendar, allowing users
    to manage their calendars in one place.
  • A calendar application that allows users to search for events and create new
    events.
  • A to-do list application that integrates with Google Calendar, allowing users
    to see their tasks and events in one place.
  • A reminder application that uses Google Calendar data to remind users of
    upcoming events.

Connect Google Calendar

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    google_calendar: {
      type: "app",
      app: "google_calendar",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://www.googleapis.com/calendar/v3/calendars/primary`,
      headers: {
        Authorization: `Bearer ${this.google_calendar.$auth.oauth_access_token}`,
      },
    })
  },
})

Community Posts

Adding Google Calendar to Your Jamstack - with Pipedream
Adding Google Calendar to Your Jamstack - with Pipedream
Late last year (remember last year - sigh) I wrote up a post demonstrating how to integrate Google Calendar into your static web site: "Adding Google Calendar to your JAMStack". In that article, I describe how I used Google's Node libraries to read my event data. While it was mostly painless, authentication was a bit difficult to figure out. A few days I was thinking about this usecase and realized I could probably do it a lot easier making use of Pipedream. How so? Don't forget that Nelify lets you create a build hook. This is a unique URL that when hit with a POST request will trigger a new build. In theory, all I have to do is create a Pipedream workflow that's fired on new events. How is that done?