Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 1.11 KB

README.md

File metadata and controls

20 lines (13 loc) · 1.11 KB

OneOffs

A collection of simple files i've created for various purposes. Most are exploritory/proof of concept style items

Descriptions

BostonReaderLambda.py:

This file is the code hosted on an AWS Lambda function to support a basic alexa skill, which reads the top headlines from the boston subreddit

CrawlForPngs.py:

This is a simple script that crawls through a file looking for file paths to pngs, and replaces that filepath. Used to refactor hadrcoded filepaths in source code to a method call

Add_Track.py && myauth.py

These scripts were part of a system to add the currently playing song on spotify to a playlist. Add_track.py uses the spotify web api to accomplish this, which requires authentication. myauth.py handles the one-time authorization by running a simple Bottle server to listen for the auth services callback.

Change info_home to location of files and create a spotify_client_creds.json to hold the API key. First run will save off OAuth token, subsequent runs should do the job

Requires: