Go to my.flytbase.com/cloud and press request access to cloud API. Fill the form, and our support team will contact you as soon as possible.
Once you get a confirmation from the support team, a new ‘Developer Settings’ tab will appear on your my.flytbase.com page.
Once you get the ‘Developer Settings’ tab, you can open it to get your personal access token. Copy this API token ID. Do not share the token ID with any third party unless you trust them. As of the current cloud API release API token key and vehicle ID combined together grant access to all APIs, including navigation.
Press the edit button to manage the devices which can be accessed over the cloud. Unchecked devices won’t be accessible through cloud APIs.
Enable the access status of the devices for which you want to enable the Cloud access. You can change your settings later from developer settings tab.
To use cloud APIs the companion computer has to be connected to Internet over a 3G/4G/LTE or WiFi connection. Before proceeding further make sure that companion computer is connected to Internet.
FlytOS comes with in-built client software that runs on companion computer and connects with cloud. For user privacy and security this client is disabled by default. To enable the cloud APIs for companion computer start FlytOS and open FlytConsole.
Press the settings button, as shown in the image
Check the cloud client check box to enable cloud APIs.
To try out the FlytConsole cloud app go to my.flytbase.com, devices tab. In front of the particular device click on launch console button to launch the app. This app can be used to control, monitor the drone from anywhere in the world. Follow the local rules and regulations.
An example of the rest calls using Python are available on the GitHub.
Then download the flytsamples repository, open folder Cloud-Client, and open the file cloud_client_rest.py.
Replace the variable ‘token’ with your Personal Access Token and the variable ‘VehicleID’ with the VehicleID of the device you want to control. Do not forget to place the Token and VehicleID within single inverted commas.