fejléckép

Recognized text API

What can you do with the API?

You can use the "Recognized text API" in 3rd party apps to retrieve the last recognized text by the PeekSmith app. The API can also return the last recognized time by the TimeSmith app.




The prerequisites of using the API

To use the API for retrieving the last recognized text by the PeekSmith app, you have to purchase the API access add-on (click here for more info). To retrieve the last recognized time by the TimeSmith app, you don't need to buy additional add-ons.

IMPORTANT: If you already purchased the Multi-Display add-on earlier, then you already have the API access feature, no need to buy it again!


The secret token

You will need a secret token from either the PeekSmith or the TimeSmith app, which you can find under your Username and PIN (in USER SETTINGS). You can re-generate (refresh) your token at any time, in case you want to share it only temporarily.


The API URL

To get the last recognized text from the PeekSmith app (or the last recognized time from the TimeSmith app) in simple text format, you'll have to use the following API URL (enter your own secret token from the PeekSmith or TimeSmith app instead of ABC1234DEF):

https://bsmagic.app/api/get_rectext.php?token=ABC1234DEF


Advanced API URL

To get the result in a JSON format, add this to the end of the above URLs (after your secret token):

&json=1

The response will have this format:

{"found":1,"id":"23","text":"Testing 123"}

found: 1 if a recognized text was found, 0 if not found
id: the ID of the database record (it will increase with every new text reconition)
text: the recognized text (or time)






Registration successfull

You will receive your password in email,
please check your inbox!
This email address is already registered

You will receive your new password in email,
please check your inbox!
Please try later

We accept registrations from the same IP address only once in 5 minutes. Please try again later!
Please try later

We accept registrations from the same IP address only once in 5 minutes. Please try again later!
Bad captcha

You have entered a bad captcha, the form has not been sent.
Invalid email address

Please enter a valid email address
and try again!
Wrong email/password

Please enter the correct email address
and password, and try again!
Wrong email address

There is no registered user
with the given email address.
Update successfull

Your personal settings have been updated.
Wrong email address

This email address has been already registered.
Please try another email address!
Wrong email address

Wrong email format, please correct!
Did you forget something?

Before registering, please read and accept
the Terms of Service and the Privacy Policy!

Top↑

  翻译: