Skip to content

Harvest Time Tracking API wrapper written in Elixir

Notifications You must be signed in to change notification settings

infinitered/harvest

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Harvest

Harvest Time Tracking API Wrapper written in Elixir.

Only supports read operations at this time.

Installation

Add Harvest to your mix.exs dependencies:

def deps do
  [{:harvest, "~> 0.1"}]
end

and run $ mix deps.get.

Configuration

In config/config.exs, add your Harvest configurations like this

config :harvest,
  company: "your_company",
  email: "user@your_company.com",
  password: "user_password",
  has_ssl: true

Usage examples

iex(1)> Harvest.get_entries
iex(1)> Harvest.get_entries([user: "174807"])
iex(1)> Harvest.get_entries([user: "174807", year: "2015", day: "272"])
iex(1)> Harvest.get_entry([day_entry_id: "379234955"])
iex(1)> Harvest.get_entry([user: "174807", day_entry_id: "379234955"])

Refer to Harvest API document for more details.

About

Harvest Time Tracking API wrapper written in Elixir

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Elixir 100.0%