Sign inSign up

snakehead007/bricklink-webservice

By snakehead007

•Updated over 5 years ago

Image
0

1.5K

snakehead007/bricklink-webservice repository overview

This node.js server is a simple tool to use the authentication for the Bricklink API. Login using your Google account (ensures security) and your Bricklink API keys

To view what our hosted database keeps, look below at Database. We use no analytics, only session cookies. Still in progress. (the hosted website does not have a service policy nor a privacy policy yet.)

⁠How to use

You can use the api by making a request on http://[hostname]/api/[api_call] , all request types are premitted

Requests on http://[hostname]/[..] will give you an overview in html/bootstrap. some function have already been added. (orders, inventory,search inventory, search status)

⁠Setup

You can either run using node.js or docker.

  • ⁠Nodejs

    Rename the .env.bak file to .env.

    Fill in the .env file with the correct credentials (GOOGLE_CLIENT_SECRET,GOOGLE_CLIENT_ID and a SESSION_SECRET).

    This means you need create a project on apis.google.com⁠

    e.g.: CONSUMER_KEY="99B44795D4C168E795D4C168E795D700"

    And start the server by running nmp install;npm start

⁠Database

Our hosted database only keeps:

⁠User:
  • GoogleId
  • Google-email
  • name
  • your Bricklink keys
⁠Orders:
  • Order id's
  • Item id's (in the order)

Tag summary

Content type

Image

Digest

Size

398.7 MB

Last updated

over 5 years ago

docker pull snakehead007/bricklink-webservice