Helping the world work, play, and communicate through our world-renowned Oxford Dictionaries data, brought to you by Oxford University Press.
Add or update a single record in your Pipedream Data Store.
Add or update multiple records to your Pipedream Data Store.
Append to a record in your data store Pipedream Data Store. If the record does not exist, a new record will be created in an array format.
Check if a key exists in your Pipedream Data Store or create one if it doesn't exist.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
oxford_dictionaries: {
type: "app",
app: "oxford_dictionaries",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://od-api.oxforddictionaries.com/api/v2/languages`,
headers: {
"app_id": `${this.oxford_dictionaries.$auth.app_id}`,
"app_key": `${this.oxford_dictionaries.$auth.api_key}`,
},
})
},
})
With the Data Stores API, you can build applications that:
export default defineComponent({
props: {
myDataStore: {
type: "data_store",
},
},
async run({ steps, $ }) {
await this.myDataStore.set("key_here","Any serializable JSON as the value")
return await this.myDataStore.get("key_here")
},
})