fetch-api-data-action

🚚 GitHub action for handling authenticated API requests, allowing you to save the data from the request into your workspace as an environment variable and a .json file.

MIT License

Downloads
1.3K
Stars
100
Committers
8

Bot releases are visible (Hide)

fetch-api-data-action - 1.0.5

Published by JamesIves over 4 years ago

Major Changes

  • Added the ability to retry the API requests if they fail at random intervals. If a failure occurs then 3 retries will happen before the action will fail. This can be toggled on using RETRY: true.

Minor Changes

  • Improved the debugging and formatting, instead of using console.log the action now uses log from the actions/toolkit package.
  • Added the ability to cross publish to the GitHub Registry.
fetch-api-data-action - 1.0.4

Published by JamesIves over 4 years ago

Minor Changes

  • Fixes an issue that prevented SAVE_NAME from working.
fetch-api-data-action - 1.0.3

Published by JamesIves over 4 years ago

Minor Changes

  • Made some minor logging changes. The action will now no longer repeat the same log message when fetching data.
fetch-api-data-action - 1.0.2

Published by JamesIves over 4 years ago

Minor Changes

  • Improved the error handling using res.ok. If an error encountered with the request the action will stop running entirely.
fetch-api-data-action - 1.0.1

Published by JamesIves over 4 years ago

Minor Changes

  • Added a series of integration tests.
  • Added the npm package process.
  • Some minor doc improvements.
  • Submitted to the GitHub Actions Hackathon 🎉
fetch-api-data-action - 1.0.0

Published by JamesIves over 4 years ago

Initial Release 🎉

  • This is the initial release of the Fetch API Data action. An action which allows you to to make authenticated API requests in order to save the data to your workspace as an environment variable and a .json file. This action can be used in conjunction with the GitHub Pages Deploy Action to update feeds on your GitHub page site from an API that traditionally required a back-end.
  • If you encounter an issue please reach out by making an issue.
Package Rankings
Top 9.3% on Npmjs.org
Top 3.33% on Github actions
Related Projects