stevekrouse
mayor of val town
Likes
452
ghAutoAssignOnWIP
@augustohp
HTTP (deprecated)
GitHub Projects: Assign to the person who just moved the card Receives Project v2 items webhook events from GitHub. When a card is moved on a Kanban board ( Status field), if it is on a specific column, assign it to the person who moved it. Useful when I move a card from To do (no assignee) to Doing (assigns to me), for example. How to use it? Fork this val and edit it Change wipColumnName to whatever is the name of the column you are using as Doing Provide a token on ghToken with permissions: Repository access to the repository(ies) holding the issues being manipulated Organization permissions: Read access to members, Read and Write access to organization projects Read and write access to Issues and Pull Requests Create an organization webhook pointing to your new val Individual events: Project v2 items
stockPrice
@stevekrouse
HTTP (deprecated)
Current Stock Price This val was designed to be used in Google Sheets, particularly because Google Finance stopped supporting Spotify inexplicably. Usage Copy and paste this into Google Sheets: =IMPORTDATA(CONCATENATE("https://stevekrouse-stockprice.web.val.run/?simple=1&symbol=","SPOT")) Replace "SPOT" with the symbol you want API This val currently uses Alpha Vantage's free plan (5 requests per minute & 500 per day). You can sign up for your own API Key here: https://www.alphavantage.co/support/#api-key
writeFileEndpoint
@omgwtfbrblolttyl
Express
TODO: [ ] get token from header [ ] decode using secret from env [ ] look up globs for user with id from token [ ] get path from req.body [ ] test path against all globs for user [ ] if none pass, 403 with message [ ] if any pass, write val to db with path as key (overwrite if exists) [ ] return new value