Giter VIP home page Giter VIP logo

gls-unibox-delivery's Introduction

gls-unibox-delivery

License Build Status

This repository are an quick application let you able to build GLS GROUP parcels PDF through an light api request.

But you can also use it as an library and build yourself the PDF inside your application or build your own Generator for transform the GLS response to an other label format or tempalte.

โš ๏ธ The API doesn't contain any token or authentication process, if you want use it we recommend you to put an PAM auth on your webserver or run inside private subnet not accessible from the public endpoint.

Installation

  • Create docker container
$ docker-compose up -d

Examples

Once the container are start, you can immediately test the PDF generation by execute the parcel-request.sh script who push recipients address from playload.json

$ cd tests/scratch && sh parcel-request.sh
{"file":"..... BASE_64 .....","parcels":[{"reference":"00015","tracking":"002EU1SJ"},{"reference":"1032548","tracking":"002EU1SK"}]}}

The default settings inside src/public/app.php have constant __DEV_MODE__. If this constant exist, the parcel api resource will create you a gls.pdf and gls.json file inside the public directory with the result of request.

Standard

This project was build with all the standard recommendation and standard of GLS GROUP Documentation GLS BOX FR V05.00 15-09-2014

Author

  • Tomasina Pierre

gls-unibox-delivery's People

Contributors

pierozi avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.