Coder Social home page Coder Social logo

neerfix / semana Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 3.0 49 KB

Automation of filling in the company's weekly schedule. No more wasting time every week deciding between remote work or office changes.

Home Page: https://app.semana.io/

semana automation schedule

semana's Introduction

GitHub forks Get my place on Semana

Semana

Automation of space taking on Semana with github Actions schedule. All Monday at 00:30am, the script run to get your place on all days in 6 weeks.

Installation

To get your information, open dev console and get the information in POST request to get your place.

  • Fork this repo.

  • Go to your settings > Security > Secrets and variables > Actions and add this :

    • COMPANY -> if you want set your place for 'cospirit' company, set value at cospirit. (You can find it in Url of your semana's company)
    • COLLABORATOR_ID -> your_collaborator_id
    • COOKIE -> your_cookie (3 cookies is set by semana, take sid cookie value.
    • DESK_ID -> your_desk_id
    • DESK_ID_[0-4] -> Change your desk on specific days of weeks (0 = monday; ... ; 4 = friday). If DESK_ID_[0-4] exist, is use in script, else use default DESK_ID
    • STATUS -> Set by default 6a0dffcb-5ab3-4108-9fde-4a834eeb8d9e (On local company)
    • STATUS_[0-4] -> Same as DESK_ID_[0-4], you can specify a day to remote with this value : 28b83f47-0221-4dac-b3c0-f6a8690e64b3

Get Informations

To get collaborator_id, desk_id. Open your navigator debugger (F12, or right clic, inspect element). Take your place one time and you can see in network tab, search booking. On tab Payload Sans titre

To get your cookie, follow this screen and copy the red rectangle Sans titre (2)

Results : image

semana's People

Contributors

neerfix avatar

Stargazers

 avatar

Watchers

 avatar

semana's Issues

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.