An open API service indexing awesome lists of open source software.

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

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:

![azl-faas](https://raw.githubusercontent.com/prashantkhandelwal/azl-faas/main/screenshots/alz-screesnhot.png)