Polarex - Polar.sh Elixir SDK generated from OpenAPI

Hello!

I wanted to try out Polar.sh on a project of mine and of course they don’t have an official Elixir client library. So I’ve made one myself!

They have an OpenAPI spec json (I think they rely on it as well for their official clients) so I’ve used the amazing aj-foster/open-api-generator to generate the Elixir code. I quickly threw together a req client and a mix task to pull the spec and generate the sdk after looking at a couple of similar repos.

Perhaps it will be useful to someone wanting to integrate Polar.sh in their phoenix projects :slight_smile:

4 Likes