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

First 3 of 3 Posts Switch mode

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

bluzky
You may know https://ui.shadcn.com/, a UI component library for React. I really love it’s design style and components. I’ve built some co...
387 15136 120
New
woylie
Flop is an Elixir library that applies filtering, ordering and pagination parameters to your Ecto queries. offset-based pagination with...
New
restlessronin
The repo is at GitHub - cyberchitta/openai_ex: Community maintained Elixir library for OpenAI API · GitHub. Docs are at OpenaiEx User Gu...
152 11030 135
New
JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
shahryarjb
The Chelekom project is a library of Phoenix and LiveView components generated via Mix tasks to fit developer needs seamlessly. One of i...
New
woylie
Phoenix components for pagination, sortable tables and filter forms with Flop and (optionally) Ecto. pagination cursor pagination sorta...
New
kip
Please say hi to a new lib, Astro that aims to deliver easy-to-consume astronomy calculations of practical use. For now it only calculat...
New

Other Trending Topics Top

akoutmos
@hugobarauna and I (Alex Koutmos) have been hard at work on writing a book on Nerves that takes you from simply blinking LEDs to building...
New
spammy
I’m looking to build a personal workflow to quickly deploy web applications written in elixir/phoenix, for local consumption (ie not on t...
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
Herve37
We’re evaluating API mocking tools for OpenAPI-based projects and would love to hear what other teams are using. We’re particularly inte...
New
bartblast
Hey folks, I just published a post about Hologram’s funding and where the project goes next - the short version: Curiosum as Main Spons...
New
matt-savvy
Is there a word for the ~> symbol used in Version strings? Do you also just call it a Squiggle Arrow™ ?!
New

We're in Beta

About us Mission Statement