Online photo application
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.
Get a URL and emit the HTTP body as an event on every request
Emit new event when the content of the URL changes.
Gets details of the authenticated user. See the docs here
Send an HTTP request using any method and URL. Optionally configure query string parameters, headers, and basic auth.
Gets an image. An image is a photo or video stored on SmugMug. See the docs here
The SmugMug API makes it possible to access and build upon the powerful SmugMug
platform in creative and custom ways. With the SmugMug API, you can build
applications that interact with users' photos, galleries and albums on the
SmugMug platform. Whether you wish to create a custom photo store, custom photo
workflow, or customize the way people interact with your SmugMug galleries, the
SmugMug API makes it all possible. Here are some examples of what you can
create with the SmugMug API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
smugmug: {
type: "app",
app: "smugmug",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.smugmug.com/api/v2!authuser`,
headers: {
"Accept": `application/json`,
},
}, {
token: {
key: this.smugmug.$auth.oauth_access_token,
secret: this.smugmug.$auth.oauth_refresh_token,
},
oauthSignerUri: this.smugmug.$auth.oauth_signer_uri,
})
},
})
// 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
},
})