Skip to content

SiarheiFedartsou/fastlane-plugin-giffy

Repository files navigation

giffy plugin

CI Status fastlane Plugin Badge

Getting Started

This project is a fastlane plugin. To get started with fastlane-plugin-giffy, add it to your project by running:

fastlane add_plugin giffy

About giffy

Allows to add some more fun to your development process. Currently provides 2 actions:

giffy_random_gif_url

giffy_random_gif_url(
  api_key: 'YOUR_GIFFY_API_KEY',
  tag: 'cats',
  original_gif: false # optional, default value is false
)

giffy_random_sticker_url

giffy_random_sticker_url(
  api_key: 'YOUR_GIFFY_API_KEY',
  tag: 'cats',
  original_gif: false # optional, default value is false
)

Go to Giffy API docs for more information about obtaining API key.

Example

Like the simplest example, you can add random fun GIF to your Slack notification:

slack(message: "Application is successfully released to the App Store.",
      channel: "#releases",
      success: true,
      attachment_properties: {
        image_url: giffy_random_gif_url(tag: 'release', api_key: 'dc6zaTOxFJmzC')
      })

Screenshot Screenshot

Run tests for this plugin

To run both the tests, and code style validation, run

rake

To automatically fix many of the styling issues, use

rubocop -a

Issues and Feedback

For any other issues and feedback about this plugin, please submit it to this repository.

Troubleshooting

If you have trouble using plugins, check out the Plugins Troubleshooting doc in the main fastlane repo.

Using fastlane Plugins

For more information about how the fastlane plugin system works, check out the Plugins documentation.

About fastlane

fastlane is the easiest way to automate building and releasing your iOS and Android apps. To learn more, check out fastlane.tools.

About

Fastlane plugin for Giffy.com API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages