Here at Zalando Tech, we’re driving the “API First approach” as our teams are making a lot of use of external APIs.
Since we also depend on different external technologies for content delivery, DNS hosting, and asset storage, we want to integrate our services with them. One good example is Akamai. We’re using a variety of their offerings in order to give customers the best delivery and user experience.
We’ve decided to build a Go library, as one didn’t exist to allow us to build services on top of Akamai. We also open sourced the library so that others could benefit. We are big advocates of open source software and believe it's important to give back to the community as much as possible.
More information about the Akamai API can be found on the Akamai Developer Portal.
Want to learn how to use it? Read more below:
Clone the repo from GitHub firstname.lastname@example.org:akamai-open/AkamaiOPEN-edgegrid-golang.git
Copy the examples/.edgerc to your user home (~/.edgerc) and add the required information (host, client_token, client secret and access token). You can find/create these credentials in the API Management section of the Akamai service console.
Run one of the examples using: go run edgegrid_with_configfile.go
This example shows us all Akamai edge location endpoints: