Unsplash

Beautiful Free Images & Pictures

Integrate the Unsplash API with the HTTP / Webhook API

Setup the Unsplash API trigger to run a workflow which integrates with the HTTP / Webhook API. Pipedream's integration platform allows you to integrate Unsplash and HTTP / Webhook remarkably fast. Free for developers.

New Requests from the HTTP / Webhook API

Get a URL and emit the full HTTP event on every request (including headers and query parameters). You can also configure the HTTP response code, body, and more.

 
Try it
New Requests (Payload Only) from the HTTP / Webhook API

Get a URL and emit the HTTP body as an event on every request

 
Try it
New event when the content of the URL changes. from the HTTP / Webhook API

Emit new event when the content of the URL changes.

 
Try it
Send any HTTP Request with the HTTP / Webhook API

Send an HTTP request using any method and URL. Optionally configure query string parameters, headers, and basic auth.

 
Try it
Send GET Request with the HTTP / Webhook API

Send an HTTP GET request to any URL. Optionally configure query string parameters, headers and basic auth.

 
Try it
Send POST Request with the HTTP / Webhook API

Send an HTTP POST request to any URL. Optionally configure query string parameters, headers and basic auth.

 
Try it
Send PUT Request with the HTTP / Webhook API

Send an HTTP PUT request to any URL. Optionally configure query string parameters, headers and basic auth.

 
Try it
Return HTTP Response with the HTTP / Webhook API

Use with an HTTP trigger that uses "Return a custom response from your workflow" as its HTTP Response

 
Try it

Overview of Unsplash

You can do a lot of amazing things with the Unsplash API! Whether you're
looking to build a photo-editing app, a wallpaper app, or a photo-sharing
website, you can use the Unsplash API to get access to over a million free,
high resolution photos. Here are some of the amazing things you can build with
the Unsplash API:

  • Photo-editing apps: You can use the Unsplash API to access, search for, and
    download high resolution photos so your users can use them as a starting
    point for their own creations.
  • Wallpaper apps: Why deal with copyright issues? With the Unsplash API you can
    easily obtain millions of photos to use as wallpaper in your app.
  • Photo-sharing websites: Why spend countless hours uploading and curating
    photos? With the Unsplash API you can access, search for, and download high
    resolution photos directly onto your website.
  • Image recognition: With the Unsplash API, you can leverage the millions of
    photos available to develop AI-powered image recognition and object detection
    software.
  • Advertisement websites: With the Unsplash API, you can easily integrate ads
    into your website by providing high resolution photos and links to the
    products in the photos.
  • Image search engines: Thanks to the variety of photos available, you can
    create a powerful image search engine to help your users find what they're
    looking for quickly.

Connect Unsplash

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: {
    unsplash: {
      type: "app",
      app: "unsplash",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.unsplash.com/me`,
      headers: {
        Authorization: `Bearer ${this.unsplash.$auth.oauth_access_token}`,
      },
    })
  },
})

Connect HTTP / Webhook

1
2
3
4
5
6
7
8
9
10
11
12
13
// To use any npm package on Pipedream, just import it
import axios from "axios"

export default defineComponent({
  async run({ steps, $ }) {
    const { data } = await axios({
      method: "GET",
      url: "https://pokeapi.co/api/v2/pokemon/charizard",
    })
    return data.species
  },
})

Community Posts

A Look at Pipedream
A Look at Pipedream
I'm going to build a workflow that will search Twitter every hour for a keyword. It will take the results, format them nicely, and then email it.
Building a Traffic-Based Workflow in Pipedream
Building a Traffic-Based Workflow in Pipedream
Normally I don't like to blog about stuff that isn't generally available to all, but as it will be available sometime soon, I decided to go ahead anyway. And I built something really cool I want to share so that's another reason to talk about this now!