shirito 53048e6147
All checks were successful
continuous-integration/drone/push Build is passing
fix: Fixing 404 on search url (#33)
Fixing 404 error on https://db.sp-tarkov.com/search and subpaths (https://db.sp-tarkov.com/search/5cc9a96cd7f00c011c04e04a for example)

![image](/attachments/45627308-515f-4f49-9932-0e0234c653fe)

Reviewed-on: SPT-AKI/Website#33
Co-authored-by: shirito <shirito@noreply.dev.sp-tarkov.com>
Co-committed-by: shirito <shirito@noreply.dev.sp-tarkov.com>
2021-12-20 18:17:55 +00:00
..
2021-12-20 18:17:55 +00:00

SP Tarkov items API

How to install

  • Clone the repo
  • Make sure you have PHP and composer installed on your PC
    • To verify that you have PHP and composer working, try these commands php -v and composer -v
  • Go inside the cloned repo and install the dependencies with this command composer install
  • If you don't have a local server like Apache or Nginx, you can use PHP to start a server with this command in the root folder of the repo php -S localhost:8000 -t public

How to use

  • Check the routes/web.php for the available routes and use whatever utility you are confortable with to call the API endpoints, ex: Postman