/ss-lv-api

API for navigating through ss.lv

Primary LanguageElixir

SsLvApi

To start your Phoenix server:

  • Run mix setup to install and setup dependencies
  • Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Learn more

$response = Invoke-WebRequest -Uri "http://localhost:4000/api/scraper" -Method POST -Body "url=https://www.ss.com/lv/transport/cars/bmw/page5.html" -ContentType "application/x-www-form-urlencoded" $response.Content > "output.json"