lsymds / hetznercloud-py

Python SDK for the new Hetzner cloud
MIT License
30 stars 12 forks source link

New DC in Helsinki #4

Closed franzs closed 6 years ago

franzs commented 6 years ago

Hi!

There is a new datacenter in Helsinki:

    {
      "id": 3,
      "name": "hel1-dc2",
      "description": "Helsinki 1 DC 2",
      "location": {
        "id": 3,
        "name": "hel1",
        "description": "Helsinki DC Park 1",
        "country": "FI",
        "city": "Helsinki",
        "latitude": 60.169855,
        "longitude": 24.938379
      },
      "server_types": {
        "supported": [
          2,
          4,
          6,
          8,
          10,
          9,
          7,
          5,
          3,
          1
        ],
        "available": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10
        ]
      }
    }

Please add a new constant for it, e. g.:

DATACENTER_HELSINKI_1 = "hel1-dc2"

franzs commented 6 years ago

For your convenience I created a PR #5.

ghost commented 6 years ago

Thanks for creating this pull request. I have merged it in and will deploy a new version this afternoon.