Giter VIP home page Giter VIP logo

Comments (10)

taylorotwell avatar taylorotwell commented on May 27, 2024

Same. Library totally broken.

from client.

Forge-Media avatar Forge-Media commented on May 27, 2024

try this:

require 'vendor/autoload.php';

use DigitalOceanV2\Adapter\GuzzleAdapter;
use DigitalOceanV2\DigitalOceanV2;

// create an adapter with your access token which can be
// generated at https://cloud.digitalocean.com/settings/applications
$adapter = new GuzzleAdapter('');

// create a digital ocean object with the previous adapter
$digitalocean = new DigitalOceanV2($adapter);

//return the droplet api
$droplet = $digitalocean->droplet();

At the moment mine is working, I never managed to get the BuzzAdapter to work.

from client.

toin0u avatar toin0u commented on May 27, 2024

@kwartel @taylorotwell which version do you use ? 0.5 should fix it.. https://github.com/toin0u/DigitalOceanV2#entities
@Forge-Media thanks for your snippet.

from client.

ameliaikeda avatar ameliaikeda commented on May 27, 2024

@toin0u PR is on its way, just spent a little bit figuring out how this actually happens.

from client.

toin0u avatar toin0u commented on May 27, 2024

@ameliaikeda Thanks but when I'm using the 0.5 version, I cannot reproduce it.. Anyway, I'll looking forward to your PR :)

from client.

taylorotwell avatar taylorotwell commented on May 27, 2024

I'm using the 0.5 version and creating Droplets with Buzz adapter is
broken. I switched to just not even using the SDK and just using plain
Guzzle.

On Sun, Feb 22, 2015 at 4:45 PM, Antoine Corcy [email protected]
wrote:

@ameliaikeda https://github.com/ameliaikeda Thanks but when I'm using
the 0.5 version, I cannot reproduce it.. Anyway, I'll looking forward to
your PR :)


Reply to this email directly or view it on GitHub
#82 (comment)
.

from client.

toin0u avatar toin0u commented on May 27, 2024

@taylorotwell thanks for your feedbacks. I'll look at the Buzz adapter asap.

from client.

taylorotwell avatar taylorotwell commented on May 27, 2024

Nice. The create method on the SDK is the only method I ever have issues with so I just use Guzzle for that and the SDK for everything else 😄

from client.

toin0u avatar toin0u commented on May 27, 2024

@taylorotwell Thanks for this precision - I update the issue and look at this closer asap.

from client.

kwartel avatar kwartel commented on May 27, 2024

I replaced the buzz adapter and it works. :) I tried Guzzle5 before and that didn't work out so well, but this is great! 👍

from client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.