giusdp

giusdp

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:

https://github.com/giusdp/polarex

Showing Posts 1 to 3

dmarcoux

dmarcoux

Hi @giusdp,

thank you for building this. Do you (or someone else) use this in production at the moment?

giusdp

giusdp OP

Hello,

unfortunately I have no idea.

Personally I’m using it in a side project which I had not launched yet, so I have no real-world usage. I’m using it with a polar sandbox env, mostly to create checkout links and be redirected back.

I got a couple of PRs so I think it is being used by others. After all it’s just a generated sdk from the spec with a req client.

It’d be nice to know if someone uses it in prod!

dmarcoux

dmarcoux

I will definitely let you know if I use it. I am currently looking at my options, I haven’t decided yet which payment platform to use.

— All posts loaded —

Where Next? Top

Trending in Announcing Top

mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
kip
In 2021 I started a new library called Tempo with the objective of modelling time as a set of intervals - not as instants. In 2022 I gave...
New
quatermain
Hello, I’m sharing my plugin here in forum after some time so it has time to mature and proof yourself. I use Claude Code daily on a pr...
New
gtcode
Aloha gang, There’s a new class of AI model out from TypeSafe. Jev is their flagship model. You can learn about it here: ...
New
LostKobrakai
I’ve recently created a small library phoenix_vite integrating the vite build tooling with phoenix. It provides an igniter.installer t...
New
danschultzer
I needed something like premailer for rails, and after searching, I decided to make an easy-to-use library to handle inline styles and co...
New
kraleppa
If you’ve ever had to debug a BEAM node you know it can be a painful process. Parsing raw data, or dealing with clutter often gets in the...
New

Other Trending Topics Top

dominicletz
Hey there, I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first. ...
New
KristerV
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
OndrejValenta
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly) AI dream has many faces, but general...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New
alexslade
Fly’s CEO posted this recently - Turn And Face The Strange · The Fly Blog It says that Fly is going all-in on sprites, which is a worry ...
New
CodeSync
Code BEAM Europe 2026 – Call for Talks is Open! We’re excited to announce that Code BEAM Europe 2026 is now open for talk submissions :t...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews