Hello everyone! I recently started working with Makini's Fiix API and have encountered a number of issues. I can't figure out how to properly connect this API to an existing project. I know that I need to add several dependencies and set up a config, but where exactly should I specify the API keys and how do I set up access rights? I read the documentation, but it's not entirely clear on authentication. Maybe some of you have already integrated Fiix into your project and can share your experience?
top of page
bottom of page
Interestingly, many people mentioned token authentication. I had problems getting a token: the system could not issue it, although I did everything according to the instructions. It turned out that you first had to go through several steps on the Fiix portal itself to activate access. This is quite confusing, since it is not immediately clear what to do first. Perhaps it is worth paying more attention to this in the documentation.
I just recently went through the integration of https://www.makini.io/integrations/fiix into my project, so I can share my experience. In fact, everything is quite straightforward if you follow the step-by-step instructions. The first point is installing dependencies. Usually, tools like Maven or Gradle are used for this, and all the necessary libraries can be connected via POM.xml or build.gradle file. It is important not to forget that Fiix provides several authentication methods, and you need to choose the one that suits your situation. For example, the most popular is a token, which can be obtained through their platform. Now about setting up access rights. This is really important - you must clearly specify what actions the API can perform in your application. This is done through the "permissions" section in the API settings on the Fiix website. There you can specify which resources will be available through the API and for which users. It is better to think in advance what rights your application needs, so as not to give it unnecessary powers. For example, I limited access only to certain data to increase security. An important point to pay attention to is error handling during integration. At the initial stage, I encountered problems when requests to the API server returned errors, but I could not figure out what was going on. It turned out that the Fiix API has its own format for error messages, and they need to be parsed separately. The documentation page has examples of how to do this. I wrote a custom method to handle such errors, and this significantly improved the stability of the application.