Sync version of api

At the beginning it was just an experiment but we can add this functionality to the library.

Benefits:
  * Simpler code.
  * Faster code.

//cc @dodev, @lemmy-
It's a legacy from the first version ^^