Dropbox gives you secure access to all your files. Collaborate with friends, family, and coworkers from any device.
Emit new event when a new file is added to your account or a specific folder. Make sure the number of files/folders in the watched folder does not exceed 4000.
Emit new event when a new folder is created. Make sure the number of files/folders in the watched folder does not exceed 4000.
Emit new event when a file or folder is added or modified. Make sure the number of files/folders in the watched folder does not exceed 4000.
Emit new event when a new playlist is created or followed by the current Spotify user.
Emit new event for each new track saved to the current Spotify user's Music Library.
Add one or more items to a user’s playlist. See the docs here.
Create a playlist for a Spotify user. The playlist will be empty until you add tracks. See the docs here.
Creates a brand new text file from plain text content you specify. See docs here
Get a list of Spotify playlists tagged with a particular category. See the docs here.
With the Dropbox API, you can build a variety of applications that range from
simple file sharing to complex content management systems. Some examples of
what you can build using the Dropbox API include:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dropbox: {
type: "app",
app: "dropbox",
}
},
async run({steps, $}) {
const data = {
"account_id": `${this.dropbox.$auth.oauth_uid}`,
}
return await axios($, {
method: "post",
url: `https://api.dropboxapi.com/2/users/get_account`,
headers: {
Authorization: `Bearer ${this.dropbox.$auth.oauth_access_token}`,
"Content-Type": `application/json`,
},
data,
})
},
})
Assuming you have a Spotify Developer account (https://developer.spotify.com/), you can use the Spotify API to build the following:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
spotify: {
type: "app",
app: "spotify",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.spotify.com/v1/me`,
headers: {
Authorization: `Bearer ${this.spotify.$auth.oauth_access_token}`,
},
})
},
})