fejléckép

API documentation

What is an API URL

On this page you will find all the API URLs that you can use with my magic apps. You can use these URLs to send data to my apps or receive data from my apps. Regular URLs start with https:// and you can open them either from an app or from a browser.


Custom URL schemes

Custom URL schemes always start with the app name (like timesmith://), and they can be opened only from an app (not from a browser). If you open a custom URL scheme, the corresponding app will always jump to the front (or will be launched if it's not already running). Some of my apps support returning to another app by using it's custom URL scheme, by adding the "open=xxxxxx" parameter (where xxxxxx is the custom URL scheme of the target app).


Username, PIN and token

You will need to replace UUUUU and PPPP with your username and PIN from the corresponding app, which can be found under USER SETTINGS (tap your username).

For some URLs you can also use your Token, which is displayed under your username an PIN. The token is useful when you want to give someone temporary access, as the token can be re-generated (just tap the refresh icon under the token). In URLs that use the token, you should replace XXXXXXX with your own secret token from the corresponding app.

While your username and PIN stays the same across apps, your token will be unique for each app.


Encoding more complex text

If you would like to push more complex text (that includes spaces and special characters), make sure you use a URL-encoded version.

Example: "Hello Björg!" should be tranformed like "Hello%20Bj%C3%B6rg%21"



MysterSmith app

API URLs

To be able to use the API URLs, you'll need to have the API + A.I. Access add-on.


Get the last text recognition result (in text format):
https://bsmagic.app/api/get_rectext.php?token=XXXXXXX


Get the last text recognition result (in JSON format):
https://bsmagic.app/api/get_rectext_json.php?token=XXXXXXX


Save a new text (in URL encoded form) to the text buffer:
https://bsmagic.app/api/textbuffer.php?action=save&token=XXXXXXX&text=your%20text


Read the last data from the text buffer (in text format):
https://bsmagic.app/api/textbuffer.php?action=get&token=XXXXXXX


Read the last data from the text buffer (in JSON format)
https://bsmagic.app/api/textbuffer_json.php?action=get&token=XXXXXXX


Get the last drawing from the Doodle screen (if saved):
https://bsmagic.app/api/get_last_image.php?token=XXXXXXX


Get the last number / word to use in DFB-X:
https://bsmagic.app/api/get_dfbx.php?token=XXXXXXX


Send a new text to the MysterSmith app via WEB-input:
https://bsmagic.app/api/ps-thump.php?push=1&token=XXXXXXX&thump=yourtext



Custom URL scheme: mystersmith://

You can use the following parameters, even combining them in one URL like this:

mystersmith://?param1=value&param2=value&param3=value


parameter: text
effect: sending a text to the app
format: mystersmith://?text=AAAAAAAA

Example #1 (it will send the text "Hello" to the app):
mystersmith://?text=Hello

Example #2 (it will send the text "Hello World" to the app):
mystersmith://?text=Hello%20World



parameter: return or open
effect: return to (or open) any app, using it's custom URL scheme
format: mystersmith://?open=custom_url_scheme

Example #1 (it will will open the CubeSmith app):
mystersmith://?open=cubesmith

Example #2 (it will send the text "Hello World", then return to the TimeSmith app):
mystersmith://?text=Hello%20World&return=timesmith






PeekSmith app

API URLs

To be able to use the API URLs, you'll need to have the API + A.I. Access add-on.


Get the last text recognition result (in text format):
https://bsmagic.app/api/get_rectext.php?token=XXXXXXX


Get the last text recognition result (in JSON format):
https://bsmagic.app/api/get_rectext_json.php?token=XXXXXXX


Save a new text (in URL encoded form) to the text buffer:
https://bsmagic.app/api/textbuffer.php?action=save&token=XXXXXXX&text=your%20text


Read the last data from the text buffer (in text format):
https://bsmagic.app/api/textbuffer.php?action=get&token=XXXXXXX


Read the last data from the text buffer (in JSON format)
https://bsmagic.app/api/textbuffer_json.php?action=get&token=XXXXXXX


Get the last drawing from the Doodle screen (if saved):
https://bsmagic.app/api/get_last_image.php?token=XXXXXXX


Get the last number / word to use in DFB-X:
https://bsmagic.app/api/get_dfbx.php?token=XXXXXXX


Send a new text to the PeekSmith app via WEB-input:
https://bsmagic.app/api/ps-thump.php?push=1&token=XXXXXXX&thump=yourtext



Custom URL scheme: peeksmith://

You can use the following parameters, even combining them in one URL like this:

peeksmith://?param1=value&param2=value&param3=value


parameter: text
effect: sending a text to the app
format: peeksmith://?text=AAAAAAAA

Example #1 (it will send the text "Hello" to the app):
peeksmith://?text=Hello

Example #2 (it will send the text "Hello World" to the app):
peeksmith://?text=Hello%20World



parameter: open
effect: return to (or open) any app, using it's custom URL scheme
format: peeksmith://?open=custom_url_scheme

Example #1 (it will will open the CubeSmith app):
peeksmith://?open=cubesmith

Example #2 (it will send the text "Hello World", then return to the TimeSmith app):
peeksmith://?text=Hello%20World&return=timesmith






TimeSmith app

You can use the following APIs if you have the FULL version of TimeSmith. Replace 1234 with the time you want to set.


Get the last time that has been set in the app (HH:mm format):
https://bsmagic.app/api/get_last_time.php?token=XXXXXXX


Get the last time that has been set in the app (in JSON format):
https://bsmagic.app/api/get_last_time_json.php?token=XXXXXXX


Set the time using the custom URL scheme:
timesmith://?time=1234
(possible formats: 1234, 12:34, 0905, 09:05, 905, 9:05, 0700, 07:00, 700, 7:00, 7)


Return to (or open) any app after setting the time:
timesmith://?time=1234&open=custom_url
(example: timesmith://?time=0923&open=peeksmith)


Set the time using WEB-input:
https://bsmagic.app/api/time.php?push=1&token=XXXXXXX&thump=1234






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↑