https://github.com/lbrulet/epitechfetcher
Golang package that fetch informations from the epitech intranet with the autolink
https://github.com/lbrulet/epitechfetcher
autologin epitech epitech-intra golang information library
Last synced: 3 months ago
JSON representation
Golang package that fetch informations from the epitech intranet with the autolink
- Host: GitHub
- URL: https://github.com/lbrulet/epitechfetcher
- Owner: lbrulet
- License: mit
- Created: 2019-03-11T09:44:13.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-07T13:58:11.000Z (over 6 years ago)
- Last Synced: 2023-03-08T17:23:57.789Z (almost 3 years ago)
- Topics: autologin, epitech, epitech-intra, golang, information, library
- Language: Go
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EPITECHFETCHER
## Description
EpitechFetcher is a golang library that fetch the user informations with his autologin
## Installation
Use the package manager [go get](https://golang.org/cmd/go/) to install EpitechFetcher.
```bash
go get -v github.com/lbrulet/EpitechFetcher
```
## Usage
```golang
package main
import (
"fmt"
"github.com/lbrulet/EpitechFetcher"
)
func main() {
if user, notes, err := EpitechFetcher.Link("auth-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "luc.brulet@epitech.eu"); err != nil {
fmt.Println(err)
} else {
fmt.Println(user, notes)
}
}
```
## Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**.
1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request
## License
[MIT](https://choosealicense.com/licenses/mit/)