Skip to content

GauriBane16/fetch-api-data-action

 
 

Repository files navigation

fetch-api-data-action

GitHub Action to fetch data from an API and save it to a file

Inputs

url

Required The url to fetch from.

file

The file data is saved to. Default actions/data.json

Example usage

uses: gautemo/[email protected]
with:
  url: 'https://fake-movie-database-api.herokuapp.com/api?s=batman'
  file: 'backup/data.json'

About

GitHub Action to fetch data from an API and save it to a file

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%