7Geese is an enterprise performance management and employee engagement platform. It helps you and your team to track OKRs, give each other recognition and more.
To automatically track the progress of your OKRs in other applications, you might want to write a script for integrating the two services. You might also want to use data in 7Geese on other platforms, like data analysis dashboards.
While 7Geese might decide that your integration is not requested by enough users to develop it using 7Geese’s RESTful APIs. This repository can help you to make it happen!
If there are any questions or issue, please file an Issue or send me a Pull Request. I love every interaction with my projects!
- You need a 7Geese account.
- Your network must use password authentication.
- Support for external login providers might be added later. It’s possible using an authorization code grant.
I assume basic knowledge of Node.js and how to run a project.
After downloading the repository, install all dependencies:
npm install
7Geese supports several authentication methods. For this demo, the authentication with a password will be demonstrated.
First, you need to register a new application at https://app.7geese.com/account/applications/.
Pick the authorization grant type “Resource owner password-based” and the redirect URI “https://localhost:8001”.
You will be given a client ID and a client secret which you should paste into a file .env
. An example of this file can be found in this repository and is called .venv.sample
.
Check how to show hidden files in your operating system, if you don’t see the example file.
Additionally, the script requires your email address and password to login. Both should be put into the file .venv
.
USER_EMAIL=bruce@7geese.com
USER_PASSWORD=I must not use weak passwords!
To run the script run
npm start
If you need to debug the script, open scr/index.js
in you editor.