{"action":"created","issue":{"url":"https://api.github.com/repos/koalalorenzo/python-digitalocean/issues/129","repository_url":"https://api.github.com/repos/koalalorenzo/python-digitalocean","labels_url":"https://api.github.com/repos/koalalorenzo/python-digitalocean/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/koalalorenzo/python-digitalocean/issues/129/comments","events_url":"https://api.github.com/repos/koalalorenzo/python-digitalocean/issues/129/events","html_url":"https://github.com/koalalorenzo/python-digitalocean/issues/129","id":141178526,"number":129,"title":"Droplet with unique name","user":{"login":"murugannode","id":6950294,"avatar_url":"https://avatars.githubusercontent.com/u/6950294?v=3","gravatar_id":"","url":"https://api.github.com/users/murugannode","html_url":"https://github.com/murugannode","followers_url":"https://api.github.com/users/murugannode/followers","following_url":"https://api.github.com/users/murugannode/following{/other_user}","gists_url":"https://api.github.com/users/murugannode/gists{/gist_id}","starred_url":"https://api.github.com/users/murugannode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/murugannode/subscriptions","organizations_url":"https://api.github.com/users/murugannode/orgs","repos_url":"https://api.github.com/users/murugannode/repos","events_url":"https://api.github.com/users/murugannode/events{/privacy}","received_events_url":"https://api.github.com/users/murugannode/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-16T05:37:22Z","updated_at":"2016-03-16T11:12:57Z","closed_at":null,"body":"It's possible to create droplet with unique name using this API "},"comment":{"url":"https://api.github.com/repos/koalalorenzo/python-digitalocean/issues/comments/197265899","html_url":"https://github.com/koalalorenzo/python-digitalocean/issues/129#issuecomment-197265899","issue_url":"https://api.github.com/repos/koalalorenzo/python-digitalocean/issues/129","id":197265899,"user":{"login":"koalalorenzo","id":33528,"avatar_url":"https://avatars.githubusercontent.com/u/33528?v=3","gravatar_id":"","url":"https://api.github.com/users/koalalorenzo","html_url":"https://github.com/koalalorenzo","followers_url":"https://api.github.com/users/koalalorenzo/followers","following_url":"https://api.github.com/users/koalalorenzo/following{/other_user}","gists_url":"https://api.github.com/users/koalalorenzo/gists{/gist_id}","starred_url":"https://api.github.com/users/koalalorenzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koalalorenzo/subscriptions","organizations_url":"https://api.github.com/users/koalalorenzo/orgs","repos_url":"https://api.github.com/users/koalalorenzo/repos","events_url":"https://api.github.com/users/koalalorenzo/events{/privacy}","received_events_url":"https://api.github.com/users/koalalorenzo/received_events","type":"User","site_admin":false},"created_at":"2016-03-16T11:12:57Z","updated_at":"2016-03-16T11:12:57Z","body":"Well, if this is a question, you can do it by checking the already existing droplets' name in your code:\r\n```python \r\n    def is_already_there(manager, droplet_name):\r\n        my_droplets = manager.get_all_droplets()\r\n        for droplet in my_droplets:\r\n            if droplet.name == droplet_name\r\n                return True\r\n        return False\r\n```\r\n\r\nSo you want to use this quick method to check if the droplet name is already used. ;-)"}}