Giter Club home page Giter Club logo

basecamp-cli's Introduction

CLI Basecamp Time Entry

Tired of udpating your hours through the Basecamp site? Well sir, this might help.

Install

  1. New virtual environment mkvirtualenv basecamp
  2. Clone it git clone [email protected]:drewisme/basecamp-cli.git and enter the directory cd basecamp-cli
  3. Install dependencies pip install -r requirements.txt
  4. Copy default settings file cp settings.default settings.py
  5. Log into Basecamp, click "My Info" and then under Authentication tokens click "Show your tokens". Copy the token under "Token for feed readers or the Basecamp API" and update BASECAMP_API_KEY in settings.py

Usage

To see a list of available commands and arguments

python main.py --help

Get a list of projects

python main.py projects
#...
#id: Name
#...

Maybe you have an idea of the project name and want to filter the list

python main.py projects | grep Side

Once you found your project id run the following to add a time entry

python main.py time -p 12345 -m "Gettin' work done" -t 1.0

or use -n for project name

python main.py time -n sidestudios -m "Gettin' work done" -t 3.0

or if you want a date other than today

python main.py time -p 12345 -m "Gettin' work done" -t 3.0 -d 2014-01-30

!!Notice!!

There is no updating a time stamp right now. So if you muck it up, log into Basecamp to fix it.

basecamp-cli's People

Contributors

drewisme avatar scottroach avatar

Stargazers

Xaq Rothman avatar Knut Melvær avatar

Watchers

James Cloos avatar

Forkers

scottroach

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.