Python, PHP and Go EAN-API libraries updated
22 May 2023
We try to make the use of our API as easy as possible and provide libraries for many popular programming languages.
Now we have updated the libraries for Python, PHP, Rust and Go. They now support all available API calls to
- search for EAN or UPC barcodes
- search for product names and possibly restrict the search by product category
- search by EAN prefix (e.g. find all numbers in a manufacturer's range)
- query the issuing country for barcodes
- verify barcode checksums
- generate PNG images for barcodes
In addition to these languages, the manual contains examples how to use the API in Java, C# and VBA.
A library crate for Rust is in development and is scheduled to be released at the end of June.
Update:
A Rust library is now available.
Update 2:
A Swift library is also available.
Update 18 Apr 2025:
Libraries for C# and Lua are also available:
Lua BarcodeLookup on luarocks.org
C# BarcodeLookup on nuget.org
Update 16 Dec 2025:
All libraries can now be found here.