diff --git a/source/developers/minio-drivers.rst b/source/developers/minio-drivers.rst index 15853329..6bc741a9 100644 --- a/source/developers/minio-drivers.rst +++ b/source/developers/minio-drivers.rst @@ -12,113 +12,81 @@ Software Development Kits (SDK) MinIO publishes the following Software Development Kits (SDK): -1. :ref:`.NET ` -2. :ref:`Golang ` -3. :ref:`Haskell ` -4. :ref:`Java ` -5. :ref:`JavaScript ` -6. :ref:`Python ` -7. :ref:`C++ ` - -.. _cpp-sdk: - -C++ (``minio-cpp``) -------------------- +- :ref:`Go ` +- :ref:`Python ` +- :ref:`Java ` +- :ref:`.NET ` +- :ref:`JavaScript ` +- :ref:`C++ ` +- :ref:`Haskell ` +.. _go-sdk: -Reference - `MinIO C++ SDK Reference `__ +Go +-- -Install - - ``vcpkg`` +GitHub: `minio/minio-go `__ - .. code-block:: shell - :class: copyable +Latest Version: |go-sdk-version| - vcpkg install minio-cpp +Quickstart Guide: :doc:`/developers/go/minio-go` - - Source - - .. code-block:: shell - :class: copyable +Reference: :doc:`/developers/go/API` - git clone https://github.com/minio/minio-cpp - cd minio-cpp - wget --quiet -O vcpkg-master.zip https://github.com/microsoft/vcpkg/archive/refs/heads/master.zip - unzip -qq vcpkg-master.zip - ./vcpkg-master/bootstrap-vcpkg.sh - ./vcpkg-master/vcpkg integrate install - cmake -B ./build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE=./vcpkg-master/scripts/buildsystems/vcpkg.cmake - cmake --build ./build --config Debug +Download from GitHub + .. code-block:: shell + :class: copyable -.. _dotnet-sdk: + go install github.com/minio/minio-go/v7@latest -.NET (``minio-dotnet``) ------------------------ -Latest Version - |dotnet-sdk-version| +.. _python-sdk: -Reference - :doc:`MinIO .NET SDK Reference ` +Python +------ -Download from NuGet - Run the following command in the NuGet Package Manager Console. +GitHub: `minio/minio-py `__ - .. code-block:: shell - :class: copyable +Latest Version: |python-sdk-version| - PM> Install-Package Minio +Quickstart Guide: :doc:`/developers/python/minio-py` -.. _go-sdk: +Reference: :doc:`/developers/python/API` -Go (``minio-go``) ------------------ +Install Methods + - pip -Latest Version - |go-sdk-version| + .. code-block:: shell + :class: copyable -Reference - :doc:`MinIO Go SDK Reference ` + pip3 install minio -Download from GitHub - .. code-block:: go - :class: copyable + - source - go get github.com/minio/minio-go/v7 + .. code-block:: shell + :class: copyable -.. _haskell-sdk: + git clone https://github.com/minio/minio-py + cd minio-py + python setup.py install -Haskell (``minio-hs``) ----------------------- -Latest Version - |haskell-sdk-version| +.. _java-sdk: -Reference - :doc:`MinIO Haskell SDK Reference ` - -Install - Add ``minio-hs`` to your project's ``.cabal`` dependencies section. - - or +Java +---- - If you are using ``hpack``, add ``minio-hs`` to your ``package.yaml`` file. +GitHub: `minio/minio-java `__ -.. _java-sdk: +Latest version: |java-sdk-version| -Java (``minio-java``) ---------------------- +Quickstart Guide: :ref:`minio-java-quickstart` -Latest version - |java-sdk-version| +Reference: :doc:`/developers/java/API` -Reference - :ref:`MinIO Java SDK Reference ` - Install methods - Maven - + .. code-block:: java :class: copyable :substitutions: @@ -130,82 +98,132 @@ Install methods - Gradle - + .. code-block:: java :class: copyable :substitutions: dependencies { implementation("io.minio:minio:|java-sdk-version|") - } + } - JAR - + Download the latest JAR file for |java-sdk-version| of the SDK from |java-jar-url|. + +.. _dotnet-sdk: + +.NET +---- + +GitHub: `minio/minio-dotnet `__ + +Latest Version: |dotnet-sdk-version| + +Quickstart Guide: :doc:`/developers/dotnet/minio-dotnet` + +Reference: :doc:`/developers/dotnet/API` + +Download from NuGet + Run the following command in the NuGet Package Manager Console. + + .. code-block:: shell + :class: copyable + + PM> Install-Package Minio + + .. _javascript-sdk: -JavaScript (``minio-js``) -------------------------- +JavaScript +---------- + +GitHub: `minio/minio-js `__ + +Latest Version: |javascript-sdk-version| -Latest Version - |javascript-sdk-version| +Quickstart Guide: :doc:`/developers/javascript/minio-javascript` -Reference - :doc:`MinIO JavaScript SDK Reference ` +Reference: :doc:`/developers/javascript/API` Install - NPM - + .. code-block:: shell :class: copyable npm install --save minio - Source - + .. code-block:: shell :class: copyable git clone https://github.com/minio/minio-js cd minio-js npm install - npm install -g + npm install -g - TypeScript - + .. code-block:: shell :class: copyable npm install --save-dev @types/minio -.. _python-sdk: -Python (``minio-py``) ---------------------- +.. _cpp-sdk: -Latest Version - |python-sdk-version| +C++ +--- + +GitHub: `minio/minio-cpp `__ + +Latest version: |cpp-sdk-version| + +Reference: `MinIO C++ SDK Reference `__ + +Install + - ``vcpkg`` -Reference - :doc:`MinIO Python SDK Reference ` - -Install Methods - - pip - .. code-block:: shell :class: copyable - pip3 install minio + vcpkg install minio-cpp - - source + - Source .. code-block:: shell :class: copyable - git clone https://github.com/minio/minio-py - cd minio-py - python setup.py install + git clone https://github.com/minio/minio-cpp + cd minio-cpp + wget --quiet -O vcpkg-master.zip https://github.com/microsoft/vcpkg/archive/refs/heads/master.zip + unzip -qq vcpkg-master.zip + ./vcpkg-master/bootstrap-vcpkg.sh + ./vcpkg-master/vcpkg integrate install + cmake -B ./build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE=./vcpkg-master/scripts/buildsystems/vcpkg.cmake + cmake --build ./build --config Debug + + +.. _haskell-sdk: + +Haskell +------- + +GitHub: `minio/minio-hs `__ + +Latest Version: |haskell-sdk-version| + +Quickstart Guide: :doc:`/developers/haskell/minio-haskell` + +Install + Add ``minio-hs`` to your project's ``.cabal`` dependencies section. + + or + + If you are using ``hpack``, add ``minio-hs`` to your ``package.yaml`` file. .. Rust SDK repo does not have any releases yet. Once released, unblock this section and add to toctree. @@ -232,10 +250,10 @@ Install Methods :titlesonly: :hidden: :maxdepth: 1 - - /developers/dotnet/minio-dotnet + /developers/go/minio-go - /developers/haskell/minio-haskell + /developers/python/minio-py + /developers/dotnet/minio-dotnet /developers/java/minio-java /developers/javascript/minio-javascript - /developers/python/minio-py + /developers/haskell/minio-haskell