Understanding How The API Works

Python Examples – Create Geo

Here’s a Python example using the DynECT API Python Wrapper:

  1. Create a Session Login [POST/Session/], with error checking
  2. Create a Geo Service with one Geo Region Group and linked to one node [POST /Geo/<service_name>/]
  3. Logout a Session [DELETE /Session/]

Click to view the example code.

Python Examples – Update Geo

Here’s a Python example using the DynECT API Python Wrapper:

  1. Create a Session Login [POST/Session/], with error checking
  2. Create a Geo Service with one Geo Region Group and linked to one node [POST /Geo/<service_name>/]
  3. Update a Geo Service linking it to one node [PUT /Geo/{service_name}/]
  4. Logout a Session [DELETE /Session/]

Click to view the example code.