Skip to content

A simple project in Elixir to retrieve gifs via Giphy's API

Notifications You must be signed in to change notification settings

leofofeo/giphy_scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GiphyScraper

Running this project:

  1. Export your Giphy API key as an environment variable with the name of GIPHY_API_KEY
  2. Run mix deps.get to obtain any necessary dependencies

From iex

  1. Run iex using mix
  2. Run GiphyScraper.search("<your term here>"), with whatever term you prefer

From the command-line

  1. Run mix escript.build
  2. Run the executable (likely ./giphy_scraper) with either the -q or --query flags followed by your search term (e.g., ./giphy_scraper -q patriots)

Installation

If available in Hex, the package can be installed by adding giphy_scraper to your list of dependencies in mix.exs:

def deps do
  [
    {:giphy_scraper, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/giphy_scraper.

About

A simple project in Elixir to retrieve gifs via Giphy's API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages