Google Lens API

Hello everyone,
I’m trying to implement the google lens in an application made with AppGyver.
The objective will be to take a photo with the lens, check if the article is in a database, if found (Identify it), if not (display “not registered” message)
My difficulty is in the Google Lens API, how to integrate.
Has anyone done it?
Thank you very much in advance.