Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/juan-vertiz/msl-achievements
A robot for getting your Microsoft Learn achievements as JSON
https://github.com/juan-vertiz/msl-achievements
automation robotframework rpa
Last synced: 13 days ago
JSON representation
A robot for getting your Microsoft Learn achievements as JSON
- Host: GitHub
- URL: https://github.com/juan-vertiz/msl-achievements
- Owner: juan-vertiz
- License: gpl-3.0
- Created: 2024-03-12T20:34:18.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-04-08T22:24:03.000Z (7 months ago)
- Last Synced: 2024-10-09T23:40:55.173Z (about 1 month ago)
- Topics: automation, robotframework, rpa
- Language: RobotFramework
- Homepage:
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Microsoft Learn Achievements Fetcher
> Getting Microsoft Learn achievements as JSON.
This robot fetches the Microsoft Learn achievements from the user profile and
returns them as a JSON file.## Requirements
- Python 3.12 or higher
- Poetry## Setup
1. Clone the repository:
```sh
git clone https://github.com/xuandogg/msl-achievements.git
cd msl-achievements
```2. Activate the virtual environment and install the dependencies with Poetry:
```sh
poetry env use python
poetry shell
poetry install
```3. Install the node dependencies for the Browser Library:
```sh
rfbrowser init
```## Usage
Run the robot with the following command:
```sh
robot -d reports -v USER: ./tasks/get_achievements.robot
```Replace `` with the Microsoft Learn username as shown in the URL
when visiting the profile page. For example, if the URL is
`https://learn.microsoft.com/en-us/users/xuandogg/`, then the username is
`xuandogg`.Other available variables are:
- `HEADLESS`: Set to `False` to show the browser window.
- `TYPE`: Set to one of `trophies`, `modules`, `course` or `other` to
filter the achievements by type.The JSON file will be saved in the `reports` directory (or the directory
specified in the `-d` option).## License
This project is licensed under the GNU General Public License v3.0. See the
[LICENSE](LICENSE) file for details.## Contributing
Contributions are what make the open source community such an amazing place to
learn, inspire, and create. Any contributions you make are greatly appreciated.1. Fork the project.
2. Create your feature branch.
3. Make and commit your changes.
4. Push to the branch.
5. Open a pull request.