Leviia
  • English
  • French
Go to website
Back
Articles on:API
Integrating the Leviia API

Categories

  • API
  • Object storage
  • Using the cloud
  • Windows
  • Android
  • NAS
  • Mac
  • Security
  • Servers
  • Linux
  • Connection
  • PRO
  • Account management
  • iOS
  • Agenda
  • Using the Leviia S3 API - Python
    To manage your S3 objects and buckets at Leviia (in Python), you need the following library : https://github.com/boto/boto3 You can install it with the following command : Start by building a customer object :Few readers
  • Using the API Leviia Drive - Curl
    Files can be sent and received directly from the command line (e.g. for scripting). Curl installation : Whatever your platform, there's a good chance that the Curl binary will be ported for it, so install it : https://curl.se/download.html. Once Curl is installed, use the following commands, replacing USER with your user name and PASSWORD with your application password. Send a file to Leviia :Few readers
  • Using the Leviia Drive API - PHP
    Installing PHP and its dependencies : To install PHP on your environment, go to: https://www.php.net/manual/fr/install.php. Once your PHP environment is up and running (hello-world.php is up and running), install php-curl and SabreDAV (WebDAV client for PHP). Here's an example, to be adapted to your environment, under Linux (Debian) : Click here for SabreDAV documentation : https://sabre.io/dav/install/. YFew readers
  • Using the Leviia Drive Pro API - Python
    Initialization : This part of the code must be at the beginning of your program. import json import requests domain = "cloud.leviia.com"; Your pro domain auth=('antoine', 'password'); admin user headers = "OCS-APIRequest": "true" Replace "domain", "antoine" and "password" with your domain name, username and password. Create a user :Few readers
  • Using the Leviia Drive API - Python
    Initialization : This part of the code must be at the beginning of your program. Replace "user" and "password" with your login and your application password. List the contents of a folder :Few readers

Not finding what you are looking for?

Chat with us or send us an email.

  • Chat with us
  • Send us an email
© 2025 Leviia