vasko6d / dv-node-server

A ts-node express server for david.vaskos.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dv-node-server: [D]avid [V]asko Node Server

Setup

  • npm install
  • npm run start

Purpose

  1. Create a proxy server to make use of www.8a.nu/api API endpoints

Using as a scraper

Currently I am unable to properly authenticate with my proxy server through 8a's keycloak authentication process. For now I am using this proxy, to allow rapid fetching of my friends and my JSON scorecards. I will host them like I used to with the old 8a to give a "snapshot". To run, start the proxy server locally then, simply run:

python3 ./src/python-scraper/scraper.py --out_dir "./out-json" "broken(>.<)" "david-vasko,shirley-girth,zev-fineman,kody-shutt,fanny-dong,dirk-irector,chris-rush,chris-hoss-99e8l,l-i-b,natalie-udelarms,scooter-limb,winifred-affleman"
python3 ./src/python-scraper/scraper.py --out_dir "./out-json" "" "david-vasko,shirley-girth,kody-shutt,l-i-b,winifred-affleman"
python ..\dv-node-server\src\python-scraper\scraper.py "sid" "aden-parker,bjork-erylsofcash,chris-rush,david-vasko,dirk-irector,d-w,fanny-dong,gustavo-moser,ishmael-matinyman,kody-shutt,l-i-b,natalie-udelarms,pinch-nick,ryan-bauer,scooter-limb,shirley-girth,tanner-ott,winifred-affleman,zev-fineman,john-chipouras,kevin-scott,marcus-lacavera" --out_dir "./out-json" --use_manual_json true

NOTE: SoCal Royalty Slug is: marcus-lacavera-vxm76

About

A ts-node express server for david.vaskos.com


Languages

Language:Python 59.2%Language:TypeScript 40.8%