amazonlink2code

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - 3D-Print/Production
Introduced first in SolidGeometry 5.0, Creation date: 2020-12-13, Last change: 2025-09-15

returns the 10-digit alphanumeric codes code from an amazon product page link

Description

SGLib uses a system for direct access to catalog parts from different suppliers for additional components required for production. Amazon is one such supplier. Amazon uses 10-digit alphanumeric codes in its HTML links, which can be used to call up the product pages directly. This function returns the 10-digit code from a link to an open product page in the browser.

See Also: amazoncode2link

Example Illustration

 missing image of amazonlink2code(link)

Syntax

code=amazonlink2code(link)

Input Parameter

link: url from the prodcut page

Output Parameter

code: 10 alphanumerical char code of amazon

Examples


amazonlink2code('https://www.amazon.de/gp/product/B07B2XZBKF/ref=ppx_yo_dt_b_search_asin_image?ie=UTF8&psc=1')




Copyright 2020-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Last html export of this page out of FM database by TL: 2025-09-21