https://github.com/ceccode/lumen-holidays-microservice
Microservice developed in Lumen for get public holidays of many countries.
https://github.com/ceccode/lumen-holidays-microservice
Last synced: 9 months ago
JSON representation
Microservice developed in Lumen for get public holidays of many countries.
- Host: GitHub
- URL: https://github.com/ceccode/lumen-holidays-microservice
- Owner: ceccode
- License: mit
- Created: 2015-11-24T21:25:29.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-24T21:27:34.000Z (over 10 years ago)
- Last Synced: 2025-07-01T09:09:54.319Z (12 months ago)
- Language: PHP
- Size: 31.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Lumen Holidays microservice
Microservice developed in Lumen for get public holidays of many countries.
###### NOTE: This app is still under development. PLEASE REPORT ANY BUGS OR ERRORS.
## Api
This microservice expose a very simple API for retrieving the public holidays of any country. You access the API by making a GET request:
```
http://lumen-holidays-microservice.app/{country}/{year}?access token={access-token}
```
#### Oauth
Get an access token:
```
http://lumen-holidays-microservice.app/oauth/access-token
```
Parameters:
```
{
"username":"user@palmabit.com",
"password": "1234",
"grant_type": "password",
"client_id" : "1",
"client_secret" : "ABCxyz"
}
```
## TODO
Add tests
## Contributing
To contribute to this app feel free to fork it.
## Security Vulnerabilities
If you discover a security vulnerability within Lumen Holidays microservice, please send an e-mail to falanga.fra@gmail.com.
### License
The Lumen framework is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)