Optimized meeting scheduling with the Google Calendar API
929
Create a folder and put your client_secret.json for your gcp app in there. See https://docs.google.com/presentation/d/16VBTYIqoqWAeS0PW6rmPSHqyaZk5cPCo1ABByqvClSg and https://github.com/charignon/optirust for context on how to create it.
Create a file named input with your desired meetings and config with your configuration (see https://github.com/charignon/optirust for examples). Call it like this:
docker run\
-it
-v $(pwd):/tmp\
--workdir /tmp\
lcharignon/optirust\
--input input --config config`
If you want to book for real do:
docker run\
-it
-v $(pwd):/tmp\
--workdir /tmp\
lcharignon/optirust\
--book --input input --config config`
Note that -it is only needed the first time to authorize the access to your calendar by pasting the oauth2 token, subsequent calls shouldn't require it as the token is persisted in the current folder.
git clone https://github.com/charignon/optirust
git clone https://github.com/pulp/pulp
cd optirust
cp ../pulp/src/pulp/solverdir/cbc/osx/64/cbc .
make
The image is ready to use like above.
Content type
Image
Digest
Size
210.5 MB
Last updated
over 8 years ago
docker pull lcharignon/optirust