Code Monkey home page Code Monkey logo

autoplanner_connections's Introduction

autoplanner_connections

CSV

For both Teamweek and Simplicate, there is no "real" way to convert a project and employee name to their respective id. Because of this, the code currrently guesses the name, by setting the name collected from the csv to lowercase and removing all spaces. For Teamweek it loops trough all employees and checks if the Teamweek name contains the csv name. For Simplicate, it acquires all employees that contain the converted string.

Because of the current method of "guessing" the name, errors may occur when 2 employees have the same first name. A last name is therefor required, which will be implemented later on.

The csv requires to be names plannings.csv. Any other name for the csv will not work.

Teamweek

Because of how the Teamweek authentication keys work, the tool needs to run at least once every 2 weeks. If the time between runs takes longer then 2 weeks, a new refresh token is required for it to work again.

Simplicate

Adding hours to the Simplicate API requires an id for not only the project and employee, but also for the service and hoursType. Every project has a different name for the service and hoursType. Therefor we currently acquire all services and hourstypes for the given project and we then pick the first of both these values, so the employee can change these values themselves.

autoplanner_connections's People

Contributors

florisdegraaff avatar malvoria avatar

Watchers

James Cloos avatar Giuseppe Maggiore avatar  avatar  avatar  avatar

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.