|Matt Clark d30b747701 Adding ITF-14 code type, allowing user to set text format on some code types.||1 week ago|
|.github||1 year ago|
|config||2 years ago|
|resources||1 week ago|
|src||1 week ago|
|.gitignore||2 years ago|
|.project||1 year ago|
|Dockerfile||1 year ago|
|LICENSE.md||5 years ago|
|README.md||1 year ago|
|pom.xml||8 months ago|
The BarcodeAPI.org web server was designed to provide an easy to use barcode generation API via the HTTP protocol for use in external / mobile applications where generation libraries might not exist or resources limited; the WebUI is also designed to be responsive such that users may generate barcodes to be scanned directly from their web browser or download the barcodes after testing them out.
The server will generate a barcode for any content passed to the
/api endpoint; this can be done using a web browser, fetched through a user script, or even simply with cURL.
curl https://barcodeapi.org/api/A_Barcode > gen.png
When calling the API endpoint without specifying an eplitit code type the server will make its best judgement as to which code type will be best suited for the supplied data.
curl https://barcodeapi.org/api/abc123 curl https://barcodeapi.org/api/auto/abc123
A list of all supported barcodes types is available by calling the
/types/ endpoint; this will be a JSON Array containing details for each type including a regex format to prevalidate the date before a request.
Specific barcode types may be requested by adding the type string in the request URL:
curl https://barcodeapi.org/api/128/abc123 curl https://barcodeapi.org/api/qr/abc123
To build the image run:
docker build -t barcodeAPIServer .
And to run the container:
docker run -p 8080:8080 -v $(pwd)/config:/config barcodeAPIServer
BarcodeAPI.org is only made possible with the use of third-party software.
Jetty, Apache 2.0
Barcode4J, Apache 2.0
ZXing, Apache 2.0
Copyright 2020 BarcodeAPI.org Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.