Better HN
topnewbestaskshowjobs
Log inSign up

zehtomer

29 karma · joined May 4, 2017 (9y ago) · 7 submissions

Submissions

comment 7y ago · link · parent

We're looking into improving the disconnect/reconnect flow! Hopefully will have some progress on that soon.

comment 7y ago · link · parent

We don't, this is using a private API.

comment 7y ago · link · parent

On the listen side, you can run `stripe listen --print-json` which will output the entire object.

You can also resend events by doing `stripe events resend <event_id>`.

We'll see about documenting both better!

comment 7y ago · link · parent

Hi all! I'm one of the folks who's been working on this for the past few months. I'm happy to answer some questions about the CLI or how it was built (using Go and websockets for pushing data). If you have any ideas or feedback feel free to email me directly too! tomer@stripe.com -- We'd love to hear how you're using the CLI and what you'd like to see in the future.

comment 9y ago · link · parent

I'm going to try to do some follow up posts in the next few weeks around building this and I'll work to incorporate some of that in there. It was definitely interesting getting this going.

comment 9y ago · link · parent

As bpicolo said, lots of Python.

The API itself is a Python service running on Pyramid/uWSGI. Our focus on services internally means that the API delegates our REST requests to other internal services when resolving the data.

As far as the GraphQL implementation, we used Graphene (graphene-python.org) for that.

comment 9y ago · link · parent

Hey! I fixed reviews so the example should work now and pushed out a change to the developer site to fix a broken example I noticed.