https://github.com/prashantkhandelwal/azl-faas
Serverless function to fetch song lyrics via AZLyrics using OpenFaaS
https://github.com/prashantkhandelwal/azl-faas
colly docker go openfaas openfaas-function serverless
Last synced: about 2 months ago
JSON representation
Serverless function to fetch song lyrics via AZLyrics using OpenFaaS
- Host: GitHub
- URL: https://github.com/prashantkhandelwal/azl-faas
- Owner: prashantkhandelwal
- License: gpl-3.0
- Created: 2021-01-19T14:16:47.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-03T13:42:48.000Z (about 5 years ago)
- Last Synced: 2024-11-13T16:50:45.125Z (over 1 year ago)
- Topics: colly, docker, go, openfaas, openfaas-function, serverless
- Language: Go
- Homepage:
- Size: 256 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# azl-faas
Serverless function to fetch song lyrics via [AZLyrics]('https://www.azlyrics.com/') using OpenFaaS
For this function, I am making use of [golang-http-template](https://github.com/openfaas/golang-http-template). Specifically the `golang-middleware`
```bash
$ faas-cli template store pull golang-middleware
```
### Usage
Deploy:
```bash
$ faas-cli deploy -f azl.yml
```
Invoke:
```text
http://:/azl?artist=eminem&song=not afraid
```
Output:
