import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
live_score_api: {
type: "app",
app: "live_score_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `http://livescore-api.com/api-client/users/pair.json`,
params: {
key: `${this.live_score_api.$auth.api_key}`,
secret: `${this.live_score_api.$auth.secret_key}`,
},
})
},
})
Live Score API uses API keys for authentication. When you connect your Live Score API account, Pipedream securely stores the keys so you can easily authenticate to Live Score API APIs in both code and no-code steps.