Giter Club home page Giter Club logo

wakatime-cli's Introduction


Logo

πŸš€ Getting Started

πŸ‘¨πŸ½β€πŸ’» Prerequisites

This is an example of how to list things you need to use the software and how to install them.

  • npm
    npm install npm@latest -g
  • Wakatime Account

πŸ•Ή Installation

  1. Get your Wakatime API Key from Here

  2. Install Via npm

    npm install -g @deepcodes/wakatime-cli

🧬 Usage

  • Options:

❯ wakatime-cli -h
Usage: wakatime-cli [options]

Options:
  -v, --vers              output the current version
  -k, --apiKey <type>     Enter Your Wakatime APIKEY
  -r, --remove            Remove Your saved API_KEY
  -l, --language          Coding Data of Languages in Last 7days
  -a, --all               All Time Since Today
  -g, --goals             Coding Goals Meet If Set Up
  -d, --dashboard <type>  Coding Dashboard of Specific Duration
  -h, --help              display help for command
  • Save API-KEY

Copy Your Wakatime APIKEY:

This will Save your APIKEY.

 wakatime-cli -k <API_KEY>

If it's Saved it should show this:

Logo

Now that it's Saved You can get your Wakatime Stats RightawayπŸš€

  • Language Stats

Gives Stats of Language of last 7days

wakatime-cli -l

Logo

  • Gives Cumulative Coding Time

wakatime-cli -a

Logo

  • Dashboard

wakatime-cli -d <type>

<type> MUST be one of the following: -last_7_days -last_30_days -last_6_months -last_year

Logo

  • Coding Goals

You must have Coding Goals Enabled For this:

wakatime-cli -g

Logo

  • Remove the Saved API-KEY

wakatime-cli -r

Logo

More Feature Will be Added Soon. If you need some Feel Free to Open an Issue.

πŸ—Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“š License

Distributed under the MIT License. See LICENSE for more information.

πŸ˜‡ Contact

Twitter - @DeepankarBhade

πŸ“– Acknowledgements

wakatime-cli's People

Contributors

deep-codes avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

binhapp

wakatime-cli's Issues

All Time Coding As Undefined

After trying wakatime-cli -a you get All Time Coding Stats as Undefined this is essentially happening because stats don't get calculated on the 1st request but if you request again it does work as shown in the screenshot.

Screenshot 2020-11-27 at 7 24 44 PM

Wakatime API reference for the Problem : API Docs

Will Make a Fix on it Soon πŸ‘πŸ½

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.