arXiv

arXiv is a curated research-sharing platform open to anyone. As a pioneer in digital open access, arXiv.org now hosts more than two million scholarly articles in eight subject areas, curated by our strong community of volunteer moderators.

Integrate the arXiv API with the Bash API

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

Run Bash Code with the Bash API

Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.

 
Try it

Overview of arXiv

The arXiv API provides programmatic access to the vast repository of electronic preprints and publications in various fields of science and academia. Leveraging this API within Pipedream allows you to automate workflows involving scholarly communication, such as tracking new publications in specific domains, analyzing research trends, or notifying collaborators about recent papers. Pipedream's serverless platform can trigger actions based on new submissions to arXiv, process metadata, and connect with other apps to create powerful integrations for researchers and data enthusiasts.

Connect arXiv

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: {
    arxiv: {
      type: "app",
      app: "arxiv",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://export.arxiv.org/api/query`,
      params: {
        search_query: `all:electron`,
      },
    })
  },
})

Connect Bash

1
2
3
4
5
6
7
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id

# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS