Generate stunning collages with your favorite artists!
Last Collage allows you to create beautiful collages of your favorite artists based on your Last.fm history.
Just remember your <lastfm_user>
and put it in the end of the link.
https://ybnryhkb94.execute-api.us-east-1.amazonaws.com/api/collage/<lastfm_user>
And you will get a JSON response with the link to a stunning collage like the one below.
You only need to set up your environment variables and install the packages in your virtualenv.
pip install -r requirements.txt
And hit RUN!
chalice local
AWS_ACCESS_KEY_ID
(str)AWS_SECRET_ACCESS_KEY
(str)BUCKET
(str)LAST_FM_API
(str)GET /api/
GET /api/<lastfm_user>/
POST /api/upload/
curl -X GET https://ybnryhkb94.execute-api.us-east-1.amazonaws.com/api/"
curl -X GET https://ybnryhkb94.execute-api.us-east-1.amazonaws.com/api/collage/g4brielvs"
curl -X POST https://ybnryhkb94.execute-api.us-east-1.amazonaws.com/api/upload --upload-file example.png --header "Content-Type:application/octet-stream"