Packages

A simple tool that will retrieve all of the tickets from your Freshdesk instance. You can write it into a JSON file or utilize the data as a list of maps.

Current section

Files

Jump to
Raw

mix.exs

defmodule FreshdeskExport.MixProject do
use Mix.Project
def project do
[
app: :freshdesk_export,
version: "0.1.0",
elixir: "~> 1.6",
start_permanent: Mix.env() == :prod,
name: "Freshdesk Export",
description: description(),
package: package(),
deps: deps(),
source_url: "https://github.com/mwarnerdotme/freshdesk_export"
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
applications: [:parse_trans, :httpoison, :poison],
extra_applications: [:logger],
env: [
domain: "https://yourcompany.freshdesk.com",
api_key: ""
]
]
end
defp description do
"A simple tool that will retrieve all of the tickets from your Freshdesk instance. You can write it into a JSON file or utilize the data as a list of maps."
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:poison, "~> 3.1"},
{:httpoison, "~> 1.1"},
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
defp package do
[
# These are the default files included in the package
files: ["lib", "mix.exs", "README.md"],
maintainers: ["Michael Warner"],
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/mwarnerdotme/freshdesk_export"}
]
end
end